yamux
go-piping-server
yamux | go-piping-server | |
---|---|---|
3 | 3 | |
2,131 | 24 | |
1.3% | - | |
0.0 | 7.4 | |
9 days ago | 15 days ago | |
Go | Go | |
Mozilla Public License 2.0 | 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.
yamux
-
List of ngrok/Cloudflare Tunnel alternatives and other tunneling software and services. Focus on self-hosting.
tunnel - This one is a Golang library, not a program you can just run. However, it looks easy to use for creating custom solutions. Uses a single TCP socket, and yamux for multiplexing.
-
Secure TCP tunnel from anywhere with curl and nc for single connection
A simple solution is to multiplex TCP requests over Unix pipe. In order to multiplex TCP requests, Yamux is available created by Hashicorp, who creates Vagrant, Terraform, and so on. The protocol of Yamux is inspired by SPDY, which is the basis of HTTP/2 specification. The protocol spec is found in https://github.com/hashicorp/yamux/blob/master/spec.md. libp2p, which is used in IPFS, also uses Yamux as one choice of multiplexes and maintains Go and Rust versions of Yamux libraries.
-
Protobuf wrapping up raw tcp packets
If so, the answer is probably to put down the protobuf library entirely and just use yamux. Then you just get various net.Conns you can work with and you ignore the entire multiplexing problem.
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?
piping-vnc-web - VNC client over pure HTTPS via Piping Server on Web browser
piping-server-rust - Infinitely transfer between every device over pure HTTP with pipes or browsers
piping-server - Infinitely transfer between every device over pure HTTP with pipes or browsers
piping-serverdemo_images
piping-ssh-web - SSH over HTTPS via Piping Server on Web browser
yamux-cli - Multiplexing TCP and UDP using yamux
Vagrant - Vagrant is a tool for building and distributing development environments.
ipfs - Peer-to-peer hypermedia protocol