Repository navigation
Getting Started
cargo install --git https://github.com/bradwestness/redstart redstart-bridgeOr from a local clone:
git clone https://github.com/bradwestness/redstart.git
cd redstart
cargo install --path crates/redstart-bridgeStart the bridge bound to localhost (defaults to 127.0.0.1:9123 supervising agy acp):
redstart-bridge --cwd ~/source/reposExpose it privately on your Tailnet with automatic Tailscale TLS:
tailscale serve --bg --https=8444 http://127.0.0.1:9123Tip: Serving on a dedicated HTTPS port (like
:8444) avoids conflicts with any existing root-scoped PWA Service Workers you may already run on port:443.
Copy deploy/redstart-bridge.service to ~/.config/systemd/user/redstart-bridge.service, adjust your workspace directory if needed, and enable it:
mkdir -p ~/.config/systemd/user
cp deploy/redstart-bridge.service ~/.config/systemd/user/
systemctl --user daemon-reload
systemctl --user enable --now redstart-bridge.service
loginctl enable-linger "$USER"Print a QR code directly in your terminal:
redstart-bridge pair --cwd ~/source/reposOr open https://<your-host>.<your-tailnet>.ts.net:8444/pair in a browser on your workstation and scan the branded QR code from the Redstart Android app (Scan QR).
Run the one-time user-space Android toolchain bootstrap script:
./scripts/setup-android-dev.shThen build the Rust UniFFI .so libraries, generate Kotlin bindings, build the debug APK, and install it to a connected device or emulator:
./scripts/dev-android.sh