Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bitfinexcom/hypertele
A swiss-knife proxy powered by Hyperswarm DHT
https://github.com/bitfinexcom/hypertele
hyperswarm p2p peer-to-peer
Last synced: 15 days ago
JSON representation
A swiss-knife proxy powered by Hyperswarm DHT
- Host: GitHub
- URL: https://github.com/bitfinexcom/hypertele
- Owner: bitfinexcom
- Created: 2021-11-05T12:55:18.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-09T07:50:40.000Z (9 months ago)
- Last Synced: 2024-12-07T22:48:52.039Z (16 days ago)
- Topics: hyperswarm, p2p, peer-to-peer
- Language: JavaScript
- Homepage:
- Size: 70.3 KB
- Stars: 24
- Watchers: 5
- Forks: 8
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hypertele
A swiss-knife proxy powered by [HyperDHT](https://github.com/holepunchto/hyperdht)!
## Installation
```
npm install -g hypertele // hyperdht server proxy
npm install -g hyper-cmd-utils // keygen utils
```## Server
Standard pipe server
```sh
hypertele-server --help
```**Create a JSON config file for your server**
```
{
"seed": "SEED",
"allow": [
"CLIENT_PEER_KEY",
...
]
}
``````
options:-l PORT : port of the service you want to expose to the peers
--address ADDRESS : IP of the service you want to expose to the peers
--cert-skip : skip certificate check when connecting to the service
--seed SEED : seed (command-line)
--compress : enable chunk compression
--private : make the proxy private (do not leak the access capability to the DHT)
``````sh
examples:hypertele-server -l 22 -c config-server.json
hypertele-server -l 22 --seed XXX
```Note: the command will print out the pubkey
## Pub
Pub server
```sh
hypertele-pub --help
```**Create a JSON config file for your server**
```
{
"seed": "SEED",
"allow": [
"CLIENT_PEER_KEY",
...
]
}
``````
options:-l PORT : port of the service you want to expose to the peers
--address ADDRESS : IP of the service you want to expose to the peers
--seed SEED : seed (command-line)
--compress : enable chunk compression
``````sh
examples:hypertele-pub -l 5555 -c config-server.json
hypertele-pub -l 5555 --seed XXX
```Note: the command will print out the pubkey
## Client
```sh
hypertele --help
```**Create a JSON config file for your client**
```
{
"peer": "SERVER_PEER_KEY"
}
``````
options:-s SERVER_PEER_KEY : server peer key (command-line)
-i keypair.json : keypair file
--compress : enable chunk compression
--private : access a private hypertele server (expects -s to contain the server's seed instead of the public key)
```Read more about using identities here: https://github.com/prdn/hyper-cmd-docs/blob/main/identity.md
```sh
examples:hypertele -p 1337 -c config-client.json
hypertele -p 1337 -s PUBKEY_FROM_SERVER -i keypair.jsonand...
telnet localhost 1337
```## The hyper-cmd system
hypertele supports the hyper-cmd system!
Identity management: https://github.com/prdn/hyper-cmd-docs/blob/main/identity.md
Host resolution: https://github.com/prdn/hyper-cmd-docs/blob/main/resolve.md
## License
MIT