Go to file
Sambo Chea 7dc4c90f33
Merge pull request #2 from CUBETIQ/dependabot/npm_and_yarn/commander-9.4.0
Bump commander from 9.3.0 to 9.4.0
2022-07-16 09:18:49 +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: Updated the tunnel models request and response in http tunnel client 2022-06-30 21:29:16 +07:00
lib.js Updated tunnel response and request 2022-07-09 12:27:28 +07:00
package-lock.json Bump commander from 9.3.0 to 9.4.0 2022-07-15 20:57:20 +00:00
package.json Task: Updated the lib models for http tunnel client and updated the package version 2022-06-30 10:10:39 +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