Go to file
Sambo Chea d5f4abeeb0
Add list profiles
2023-07-27 09:13:44 +07:00
.github Removed 12 and add 18 and 20 2023-07-11 12:43:51 +07:00
bin Add api 2023-01-04 11:52:20 +07:00
src Add list profiles 2023-07-27 09:13:44 +07:00
test Add support for host and port within address 2023-07-11 18:57:49 +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 Add support client API and support proxy http/https and tcp 2023-07-11 12:20:03 +07:00
CHANGELOG.md Add list profiles 2023-07-27 09:13:44 +07:00
package-lock.json Bump @types/node from 20.4.4 to 20.4.5 2023-07-25 20:53:00 +00:00
package.json Add list profiles 2023-07-27 09:13:44 +07: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 Add support client API and support proxy http/https and tcp 2023-07-11 12:20:03 +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