Go to file
2022-06-27 23:21:33 +07:00
.github Create dependabot.yml 2022-06-24 23:49:52 +07:00
bin Task: Add client initialize with quick create client id and token and also start with custom suffix and default suffix can be port or uuid and add more features for http tunnel client 2022-06-26 14:28:37 +07:00
.gitignore Add http tunnel client implements 2022-06-24 23:44:12 +07:00
client.js Task: Allow to force start with custom api key from cli and updated version for http tunne client 2022-06-27 23:21:33 +07:00
lib.js Add http tunnel client implements 2022-06-24 23:44:12 +07:00
package-lock.json Task: Refactoring http-tunnel to hlt and add init command for new client and updated the function for http tunnel client 2022-06-26 00:22:33 +07:00
package.json Task: Allow to force start with custom api key from cli and updated version for http tunne client 2022-06-27 23:21:33 +07:00
README.md Task: Add client initialize with quick create client id and token and also start with custom suffix and default suffix can be port or uuid and add more features for http tunnel client 2022-06-26 14:28:37 +07:00
sdk.js Task: Add client initialize with quick create client id and token and also start with custom suffix and default suffix can be port or uuid and add more features for http tunnel client 2022-06-26 14:28:37 +07:00
util.js Task: Add client and key for socket identified for user and updated client functions and configs for http tunnel client 2022-06-25 14:32:31 +07:00

CUBETIQ HTTP Tunnel Client

A lightweight http tunnel client using nodejs and socket.io client.

Installation

npm i -g @cubetiq/hlt

OR

npx @cubetiq/hlt

Usage

  • Initialize Client and Start (Quick)
# Initialize a client and token for connect (default's profile)
npx @cubetiq/hlt init

# Start port 3000 to remote server
npx @cubetiq/hlt start 3000
  • Initialize Client and Start (Quick with custom's profile)
# Initialize a client and token for connect (mytest's profile)
npx @cubetiq/hlt init -p mytest

# Start port 3000 to remote server (mytest's profile)
npx @cubetiq/hlt start 3000 -p mytest

Custom Config

  • Generate Client Key
npx @cubetiq/hlt config client new
  • Set Client Token (Required, contact to vendor)
npx @cubetiq/hlt config token $TOKEN
  • Custom Server
npx @cubetiq/hlt config server https://lt.ctdn.net
  • Start Client
npx @cubetiq/hlt start $YOUR_PORT

Contributors