piping-server
go-piping-server
piping-server | go-piping-server | |
---|---|---|
4 | 3 | |
2,860 | 24 | |
- | - | |
8.4 | 7.4 | |
8 days ago | 8 days ago | |
TypeScript | Go | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
piping-server
- How to copy a file between devices?
-
Secure TCP tunnel from anywhere with curl and nc for single connection
You can self-host easily on Heroku, Replit, Glich, etc. See https://github.com/nwtgck/piping-server/wiki/How-to-self-host-Piping-Server for detail.
I found a higher transparent way that uses existing and widely used commands: nc and curl. The original idea of a port forwarding with socat, curl, and Piping Server was proposed in a Japanese article by @Cryolite. Meanwhile, this post introduces a way using nc (netcat), which is more widely used and installed than socat, and the way allows simple integration with other commands using Unix pipe. It is very helpful when using an untrustable server because we can integrate it with an encryption command such as openssl.
- Seashells: Pipe output from command-line programs to the web in real-time
go-piping-server
-
YouTransfer: Self-hosted file transfer and sharing solution
Another alternative. This uses only HTTP and requires no special software, except the server. Elegant, IMHO. Extremely robust in fact.
https://github.com/nwtgck/go-piping-server
After starting the server, a few options.
Method 1: Visit https://127.0.0.1:1080 in a Javascript-enabled browser and fill out HTML form
Method 2: Visit https://127.0.0.1:1080/noscript in any browser and fill out HTML form
Method 3: Use any TCP client, TLS client, HTTP client or HTTPS client. For example here is a quick and dirty shell script
#!/bin/sh
-
LANDrop – Drop any files to any devices on your LAN
https://github.com/nwtgck/piping-server-rust/releases/expand...
https://github.com/nwtgck/go-piping-server/releases/expanded...
There is also a Typescript version.
Unlike MagicWormhole, this does not require Python. Any HTTP client will do, whether graphical browser, text-only browser, curl, anything that can make HTTP requests. Javascript is optional.
There is an example server run by the author for testing but unlike MagicWormhole it is not a default; the address is not found anywhere in the source code.
https://ppng.io/noscript
Magic Wormhole, or PAKE in general, might be well-suited for transferring files between two or more parties, but here the question was about transferring files between two computers operated by the same party.
-
Secure TCP tunnel from anywhere with curl and nc for single connection
All communication outside is complete in HTTP/HTTPS. The protocol is also familiar, widely used, accepted, and trusted already. Piping Server is open on GitHub, developed in TypeScript and Node.js. Other implementations in Rust and Go are provided as open-source. The server is designed to keep simple as possible to verify the source and reduce the potential of bugs.
What are some alternatives?
streamhut - Stream your terminal to web without installing anything 🌐
piping-server-rust - Infinitely transfer between every device over pure HTTP with pipes or browsers
mediathekviewweb - Eine Weboberfläche als Alternative zum Java-Client
piping-ssh-web - SSH over HTTPS via Piping Server on Web browser
yamux - Golang connection multiplexing library
piping-vnc-web - VNC client over pure HTTPS via Piping Server on Web browser
scripts - scripts from pixelbeat.org
yamux-cli - Multiplexing TCP and UDP using yamux
controller - A simple controller design pattern for curveballjs
Vagrant - Vagrant is a tool for building and distributing development environments.