You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Sambo Chea fe38f051ff
Merge branch 'main' of https://git.cubetiqs.com/cubetiq/http-tunnel-client
1 month ago
.github Create node.js.yml 5 months ago
bin Fixed and updated for client and lib models and package version and compile for typescript in http tunnel client 7 months ago
src Update 'src/lib.ts' 1 month ago
.gitignore Task: Updated sdk client and updated the missing types for http tunnel client 7 months ago
.npmignore Task: Upgrading the http tunnel client to typescript language and updated the response and request models and updated the types 7 months ago
CHANGELOG.md Updated changelog 2 months ago
README.md Fixed axios and generate token 3 months ago
package-lock.json Bump @types/node from 18.11.15 to 18.11.17 1 month ago
package.json Fixed response data in axios request with accept-encoding to identity 2 months ago
tsconfig.json Task: Upgrading the http tunnel client to typescript language and updated the response and request models and updated the types 7 months ago

README.md

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