Jay Taylor's notes
back to listing indexGitHub - atek-cloud/spork: [CLI app] Peer-to-peer socket magic in the air
[web search]
Original source (github.com)
Tags:
p2p
github.com
Clipped on: 2022-01-05
Skip to content
-
Why GitHub?
- Team
- Enterprise
-
Explore
- Marketplace
-
Pricing
atek-cloud / spork Public
Latest commit
Files
Type
Name
Latest commit message
Commit time
A command-line p2p sockets tool.
npm i -g @atek-cloud/spork
Overview
Spork lets you tunnel between any two devices using the Hyperswarm P2P network. Here's the current commands:
spork - A p2p sockets multi-tool
Commands:
spork bind [public-key] - Bind a p2p socket as a proxy to a local or remote server.
spork gateway - Create an HTTP server that routes to p2p sockets by subdomain.
spork serve {path} - Serve a folder as a static HTTP site over p2p sockets.
spork beam [passphrase] - Create a encrypted network pipe.
Visit spork.sh for documentation.
Notable changes
1.0.0 - Drop libp2p modules
Breaking change.
The Atek Networking module was updated to drop the libp2p modules. See the section in that readme to understand why.
This is a breaking change to the wire protocol from previous versions! Make sure you're using 1.0.0+ on both ends.
License
MIT