npm installtmux new-session -d -s test # Ensure tmux is running
cd src-tauri && cargo test -- --test-threads=1npm run tauri:devThis will start the WebSocket server and open the desktop window. Check the console for the auth token:
Token: <some-uuid>
Terminal 1 (server):
cd src-tauri
TOKEN=mytoken cargo run --bin serverTerminal 2 (frontend):
npm run devOpen http://localhost:5173 in browser. Enter the server address (ws://localhost:9899) and token.
Run the server on your machine:
cd src-tauri && TOKEN=mytoken cargo run --bin serverOn your phone's browser, navigate to http://<your-ip>:5173. Enter ws://<your-ip>:9899 as the server address.
For HTTPS contexts, the app auto-detects and uses wss:// with E2E encryption.
Desktop (macOS):
npm run build:macAndroid APK:
npm run build:androidPort already in use:
lsof -ti:9899 | xargs killAndroid build fails: Ensure Android SDK + NDK are installed. NDK 28+ required.
Keyboard issues on mobile: Enable Debug mode (gear icon → Debug → On) to see the debug overlay with keyboard height info.