LogoLogo
  • Pear by Holepunch
  • Pear runtime
    • Command-Line-Interface (CLI)
    • Application-Programming-Interface (API)
    • Application Configuration
  • Bare reference
    • Overview
    • Application-Programming-Interface (API)
    • Node.js Compatibility with Bare
    • Bare Modules
  • Guides
    • Getting Started
    • Starting a Pear Desktop Project
    • Making a Pear Desktop Application
    • Starting a Pear Terminal Project
    • Making a Pear Terminal Application
    • Sharing a Pear Application
    • Marking a Release
    • Making a Bare Mobile Application
    • Debugging a Pear Terminal Application
    • Creating a Pear Init Template
  • Building blocks
    • Hypercore
    • Hyperbee
    • Hyperdrive
    • Autobase
    • HyperDHT
    • Hyperswarm
  • How-tos
    • Connect two peers
    • Connect many peers
    • Replicate & persist
    • Manage multiple Hypercores
    • Share append-only databases
    • Create a p2p filesystem
  • Helpers
    • Corestore
    • Localdrive
    • Mirrordrive
    • Secretstream
    • Compact encoding
    • Protomux
  • Tools
    • Hypershell
    • Hypertele
    • Hyperbeam
    • Hyperssh
    • Drives
  • Apps
    • Keet
  • Examples
    • Bare on Mobile
    • React App using Pear
Powered by GitBook

Copyright © 2024 - 2025 Holepunch, S.A. de C.V. All rights reserved.

On this page
  • Installation
  • Basic usage
  • Pub
  • Client
  • The hyper-cmd system
  1. Tools

Hypertele

Last updated 1 year ago

A swiss-knife proxy powered by !

Installation

Install with

npm install -g hypertele // hyperswarm server proxy
npm install -g hyper-cmd-utils // keygen utils

Basic usage

Server

Standard pipe server

hypertele-server --help

Create a JSON config file for the server

{
  "seed": "SEED",
  "allowed": [
    "CLIENT_PEER_KEY",
    ...
  ]
}
Options
Description

-l <PORT>

port of the local service exposed to the peers

--cert-skip

skip certificate check when connecting to local service

--seed SEED

seed (command-line)

Examples

hypertele-server -l 22 -c config-server.json
hypertele-server -l 22 --seed XXX

The above-mentioned command will print out the pubkey.

Pub

Pub server

hypertele-pub --help

Create a JSON config file for the server

{
  "seed": "SEED",
  "allowed": [
    "CLIENT_PEER_KEY",
    ...
  ]
}
options:

-l PORT : port of the local service to expose to the peers
--seed SEED : seed (command-line)

Examples

hypertele-pub -l 5555 -c config-server.json
hypertele-pub -l 5555 --seed XXX

The above-mentioned command will print out the pubkey.

Client

hypertele --help

Create a JSON config file for client

{
  "peer": "SERVER_PEER_KEY"
}
Options
Description

-s <SERVER_PEER_KEY>

server peer key (command-line)

-i <keypair.json>

keypair file

Examples

hypertele -p 1337 -c config-client.json
hypertele -p 1337 -s PUBKEY_FROM_SERVER -i keypair.json
telnet localhost 1337

The hyper-cmd system

Hypertele also provides support for the hyper-cmd system!

Learn more about identity management and host resolution using hyper-cmd:

GitHub (Hyper-cmd-docs)
HyperDHT
GitHub (Hypertele)
npm
Installation
Basic usage