0.30.0 • Published 10 days ago

hsync v0.30.0

Weekly downloads
10
License
ISC
Repository
github
Last release
10 days ago

hsync

NPM

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:

flaglong flagtypeenv variabledescription
-p-portnumberPORTport for local webserver
-d--dynamic-hosturlHSYNC_DYNAMIC_HOSThost to get a dynamic connection from
-s--hsync-serverurlHSYNC_SERVERhsync-server location ex: https://sub.mydomain.com
-hs--hsync-secretstringHSYNC_SECRETpassword to connect to hsync-server
-llp--listener-local-portnumberHSYNC_LLPlocal port to open for listener
-lth--listener-target-hosturlHSYNC_LTHtarget host for listener
-ltp--listener-target-portnumberHSYNC_LTPtarget port for listener
-rip--relay-inbound-portnumberHSYNC_RIPinbound port for remote relay requests
-rth--relay-target-hosturlHSYNC_RTHtarget host for relay to open tcp connection on
-rtp--relay-target-portnumberHSYNC_RTPtarget port for relay to open tcp connection on
0.30.0

10 days ago

0.29.0

14 days ago

0.28.0

14 days ago

0.27.0

14 days ago

0.26.0

14 days ago

0.25.0

14 days ago

0.21.0

7 months ago

0.24.0

6 months ago

0.23.0

7 months ago

0.20.0

8 months ago

0.19.0

9 months ago

0.18.1

9 months ago

0.18.3

9 months ago

0.18.0

9 months ago

0.15.0

11 months ago

0.16.0

9 months ago

0.17.0

9 months ago

0.16.1

9 months ago

0.14.0

1 year ago

0.10.0

1 year ago

0.11.0

1 year ago

0.9.0

1 year ago

0.12.0

1 year ago

0.13.0

1 year ago

0.8.0

3 years ago

0.7.0

3 years ago

0.6.0

3 years ago

0.0.1

11 years ago