Streaming Data Transfer Server over HTTP/HTTPS
Piping server is designed to realize the following three ideas.
- Engineer friendly
Usually, when you want to send data to someone, you need to have an account in the common service among you and his/her. In addition, the service may require you to install specific software to share the data.
Piping server is designed to solve the problems above.
Piping server allows you to use without any account and frees you from additional software installation because the server is available with Web browsers,
wget commands, which are widely pre-installed in Unix-like OS.
Because of HTTP/HTTPS, users can send data across different devices such as Windows, macOS, Unix, Linux, iOS, Android and any device which uses HTTP.
Furthermore, pipe in Unix-like OS allows you to send data in a more efficient and secure way.
Suppose a Piping server is running on https://piping.glitch.me. You can send "hello.txt" to a receiver.
# Send cat hello.txt | curl -T - https://piping.glitch.me/mysecret
# Get curl https://piping.glitch.me/mysecret > myhello.txt
Piping server supports multiple receiver. The following moving image is an example. Use query parameter "?n=3" to allow 3 receivers for example.
Engineer Friendly Help
You can get help and version only with
Click the botton below to deploy a Piping server to Heroku.
Run server on localhost
# Install npm install -g piping-server # Run a server piping-server
Then, a Piping server is running on http://localhost:8080.
Here is available command-line options by
Options: --help Show help [boolean] --version Show version number [boolean] --http-port Port of HTTP server [default: 8080] --enable-https Enable HTTPS [default: false] --https-port Port of HTTPS server [number] --key-path Private key path [string] --crt-path Certification path [string] --enable-log Enable logging [boolean] [default: true]
Run on Docker
Run a Piping server on http://localhost:8181 by the following command.
docker run -p 8181:8080 nwtgck/piping-server
You can also specify an option like the following.
docker run -p 8181:80 nwtgck/piping-server --http-port=80
You can run a server in background and it automatically always restarts.
docker run -p 8181:80 -d --restart=always nwtgck/piping-server --http-port=80