Share files from your browser using WebRTC.
Demo on: https://ezshare.julienc.io/
Using Docker:
$ docker run -p 3000:3000 ghcr.io/julienc91/ezshare
This will serve the web application on port 3000.
Install dependencies:
$ npm ci
Create a production build:
$ npm run build
Start the web application on port 3000:
$ npx serve -s dist/
WebRTC peers find each other through MQTT signaling relays. By default, the public brokers
built into trystero are used. To use your own MQTT broker(s)
instead (they must expose a WebSocket listener), set the RELAY_URLS build argument to a
comma-separated list of URLs:
$ docker build . --build-arg RELAY_URLS='wss://mqtt.example.com:8884/mqtt' -t ezshare
Without Docker, set the VITE_RELAY_URLS environment variable when building:
$ VITE_RELAY_URLS='wss://mqtt.example.com:8884/mqtt' npm run build
