Simple discovery and signalling (websocket) server for Spacedrop (https://github.com/HR/spacedrop), a P2P E2E encrypted file-sharing app.
Implements simple peer authentication. See src/schema/message.json
for messaging format.
Clone the repo
$ git clone https://github.com/HR/spacedrop-server.git
Install all libraries and tools
$ npm install
Create .env.json
file with the required environmental variables
{
"REDIS_URI": "..."
}
To run it locally
$ gulp
The server should be running at http://127.0.0.1:9000