Go to file
2023-04-15 05:55:30 +00:00
.github Create node.js.yml 2022-09-09 08:30:23 +07:00
bin Fixed and updated for client and lib models and package version and compile for typescript in http tunnel client 2022-07-10 20:50:50 +07:00
src Update 'src/lib.ts' 2022-12-19 10:56:51 +07:00
.gitignore Task: Updated sdk client and updated the missing types for http tunnel client 2022-07-09 21:17:08 +07:00
.npmignore Task: Upgrading the http tunnel client to typescript language and updated the response and request models and updated the types 2022-07-09 21:07:55 +07:00
CHANGELOG.md Updated changelog 2022-11-30 12:19:05 +07:00
package-lock.json Update dependency commander to v10.0.1 2023-04-15 05:55:30 +00:00
package.json Update dependency typescript to v5 2023-03-16 17:10:43 +00:00
README.md Fixed axios and generate token 2022-11-11 09:25:29 +07:00
renovate.json Add renovate.json 2023-01-05 16:55:23 +00:00
tsconfig.json Task: Upgrading the http tunnel client to typescript language and updated the response and request models and updated the types 2022-07-09 21:07:55 +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 -y @cubetiq/hlt

Usages

  • If installed to global (bin), please using cli
hlt [command] [options]
  • Initialize Client and Start (Quick)
# Initialize a client and token for connect (default's profile)
npx -y @cubetiq/hlt init

# Start port 3000 to remote server
npx -y @cubetiq/hlt start 3000

Start port 3000 with suffix to remote server

npx -y @cubetiq/hlt start 3000 -s mytest


- Initialize Client and Start (Quick with custom's profile)

```shell
# Initialize a client and token for connect (mytest's profile)
npx -y @cubetiq/hlt init -p mytest

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

Custom Config

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

Contributors