Go to file
2023-01-25 09:59:35 +07: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 Bump axios from 1.2.3 to 1.2.4 2023-01-24 20:09:10 +00:00
package.json Bump commander from 9.4.1 to 10.0.0 2023-01-16 20:14:09 +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