Go to file
2023-07-11 12:22:32 +07:00
.github Create node.js.yml 2022-09-09 08:30:23 +07:00
bin Add api 2023-01-04 11:52:20 +07:00
src Updated code 2023-07-11 12:20:33 +07:00
test Updated code 2023-07-11 12:20:33 +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 support client API and support proxy http/https and tcp 2023-07-11 12:20:03 +07:00
package.json Merge branch 'main' of https://github.com/CUBETIQ/http-tunnel-client 2023-07-11 12:22:32 +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