Skip to content

ItzJerry317/InstaDrop-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instadrop - signal server backend


This is a signal server backend template for Instadrop. You can deploy this on:

  • your server with a public IP (enabling cross-subnet file transfer/file trasfer when not connected to same WIFI network)
  • your home computer(enabling LAN file transfer only)

About

This server backend is powered by Express.js + socket.io, with a core duty of signaling for WebRTC service.


Deploy

  1. Clone this repository.
$ git clone https://github.com/ItzJerry317/InstaDrop-server.git
  1. Install Node.JS dependencies in project folder.
$ npm install
  1. Start the server.
$ node server.js
  1. You should see messages like this:
====================================
Instadrop Signaling Server Running
Port: 3000
====================================

Tip

If you are looking for port listening customization, please go here


Customizing

You can change the listening port by editing the startup variable when starting up the server. For example:
(bash)

PORT=8080 node server.js

(Powershell)

$env:PORT=8080; node server.js

If successful, you should see messages like this:

====================================
Instadrop Signaling Server Running
Port: 8080
====================================

Tip

The default listening port is 3000.
If you start up without a variable, the program will automatically set 3000 as its listening port.


Finalizing

Please open up your InstaDrop client, go to Settings -> Advanced network settings and set the Signal server value to your own server. For example:

http://your.server-url.com:3000

Tip

We recommend you to set up a SSL for your own signaling server for advanced security if you have a public server.
Please take a look at Certbot(for Linux) or win-acme(for Windows) for further SSL configuration information.
After setting up a SSL, you can configure it by setting up nginx.

About

A signal server backend template for Instadrop.

Topics

Resources

Stars

Watchers

Forks

Contributors