Skip to content
julienc91Public

About

Share files from your browser using WebRTC

Topics

Resources

Stars

19 stars

Watchers

1 watching

Forks

Repository files navigation

ezshare

Share files from your browser using WebRTC.

Demo on: https://ezshare.julienc.io/

Preview

Upload

Quick Start

With Docker

Using Docker:

$ docker run -p 3000:3000 ghcr.io/julienc91/ezshare

This will serve the web application on port 3000.

Without Docker

Install dependencies:

$ npm ci

Create a production build:

$ npm run build

Start the web application on port 3000:

$ npx serve -s dist/

Configuration

Signaling relays

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

About

Share files from your browser using WebRTC

Topics

Resources

Stars

19 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages