What you need
- Node.js 24.16 or newer — the project refuses to install on older versions.
- A signaling server that speaks Sidedrop’s protocol, for pairing to work.
Run it locally
1
Get the code
2
Point it at a signaling server
The app reads the server address from
VITE_API_URL (default http://localhost:3000) and connects
to its WebSocket at /v1/signaling/ws. npm run switch_to_dev copies env/env.dev to .env with
the local default.3
Start the dev server
http://localhost:8103 (a fixed port).http://localhost counts as a secure context, so the direct connection, browser storage and the
clipboard all work in development without HTTPS.Build
dist/. npm run fix formats the code for you.
To serve the build yourself:
VITE_API_URLis baked in at build time — set it before building.- Serve
dist/as static files over HTTPS, with a fallback so that room links (/r/…) returnindex.html. - The signaling server must accept your site’s origin.
Contribute
Issues and pull requests are welcome on GitHub.- Run
npm run buildbefore you open a pull request — it checks formatting and linting, type-checks and runs the tests.npm run fixformats the code. - Commit messages follow Conventional Commits (
type(scope): subject); a commit hook checks them. - A pre-commit hook rejects stray files, very large files and unresolved merge-conflict markers.
- Contributions are accepted under the project’s MIT license.