Hsync
Reverse-proxy client for Node.js and browsers. Share local servers as public URLs, tunnel TCP between peers via WebSocket.
Install / Use
/learn @monteslu/HsyncREADME
hsync
hsync is a reverse-proxy client for node.js and browsers that connects to an hsync-server.
You can share your local webserver as a secure public URL, as well as tunnel whatever tcp/ip traffic you'd like between two hsync clients.
installation
npm
npm i -g hsync
or add to a webpage
<script src="https://cdn.jsdelivr.net/npm/hsync/dist/hsync.min.js"></script>
this gives you a hsync global variable.
run
hsync
run with npx
npx hsync
run inside of a webpage
const hsyncCon = await hsync.dynamicConnect();
configuration
by default hsync will connect to the default hsync.tech server and allow a connection for up to 4 hours.
However you can pass flags to the command line or configure env variables:
| flag | long flag | type | env variable | description |
| ---- | --------------------- | ------- | ------------------ | ---------------------------------------------------------- |
| -p | -port | number | PORT | port for local webserver |
| -d | --dynamic-host | url | HSYNC_DYNAMIC_HOST | host to get a dynamic connection from |
| -s | --hsync-server | url | HSYNC_SERVER | hsync-server location ex: https://sub.mydomain.com |
| -hs | --hsync-secret | string | HSYNC_SECRET | password to connect to hsync-server |
| -llp | --listener-local-port | number | HSYNC_LLP | local port to open for listener |
| -lth | --listener-target-host | url | HSYNC_LTH | target host for listener |
| -ltp | --listener-target-port | number | HSYNC_LTP | target port for listener |
| -rip | --relay-inbound-port | number | HSYNC_RIP | inbound port for remote relay requests |
| -rth | --relay-target-host | url | HSYNC_RTH | target host for relay to open tcp connection on |
| -rtp | --relay-target-port | number | HSYNC_RTP | target port for relay to open tcp connection on |
Related Skills
canvas
342.0kCanvas Skill Display HTML content on connected OpenClaw nodes (Mac app, iOS, Android). Overview The canvas tool lets you present web content on any connected node's canvas view. Great for: -
node-connect
342.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
342.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
