Garren / filedrop-ws

📲 WebRTC file transfer - WebSockets server.

Home Page:https://drop.lol

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

filedrop-ws

WebSockets server for filedrop-web.

More details about the project are available in the filedrop-web repository.

Installation

Run yarn install, then simply run yarn start.

Configuration

dotenv-flow is used to manage the configuration.

The following variables are used for the configuration:

Variable Default value Description
WS_HOST 127.0.0.1 IP address to bind to.
WS_PORT 5000 Port to bind to.
WS_BEHIND_PROXY no Set to yes if you want the application to respect the X-Forwarded-For header.
STUN_SERVER stun:stun.1.google.com:19302 WebRTC configuration - STUN server.
TURN_SERVER null WebRTC configuration - TURN server.
TURN_USERNAME null WebRTC configuration - TURN username.
TURN_CREDENTIAL null WebRTC configuration - TURN credential (password).

About

📲 WebRTC file transfer - WebSockets server.

https://drop.lol

License:BSD 3-Clause Clear License


Languages

Language:JavaScript 100.0%