Fixed some bugs and updated docs
This commit is contained in:
parent
e787b70da9
commit
42928444aa
10
CHANGELOG.md
Normal file
10
CHANGELOG.md
Normal file
@ -0,0 +1,10 @@
|
||||
### 20/10/2022
|
||||
|
||||
- Upgraded packages and fixed some bugs
|
||||
|
||||
### Initialized
|
||||
|
||||
- HTTP tunnel between server and client via https link
|
||||
- Custom profile (using `-p myprofile`)
|
||||
- Suffix url (using `-s`)
|
||||
- Config (get/set token,access,server,client,key configs)
|
18
README.md
18
README.md
@ -13,7 +13,13 @@ npx @cubetiq/hlt
|
||||
|
||||
```
|
||||
|
||||
### Usage
|
||||
### Usages
|
||||
|
||||
- If installed to global (bin), please using cli
|
||||
|
||||
```shell
|
||||
hlt [command] [options]
|
||||
```
|
||||
|
||||
- Initialize Client and Start (Quick)
|
||||
|
||||
@ -25,6 +31,12 @@ npx @cubetiq/hlt init
|
||||
npx @cubetiq/hlt start 3000
|
||||
```
|
||||
|
||||
# Start port 3000 with suffix to remote server
|
||||
|
||||
npx @cubetiq/hlt start 3000 -s mytest
|
||||
|
||||
````
|
||||
|
||||
- Initialize Client and Start (Quick with custom's profile)
|
||||
|
||||
```shell
|
||||
@ -33,7 +45,7 @@ npx @cubetiq/hlt init -p mytest
|
||||
|
||||
# Start port 3000 to remote server (mytest's profile)
|
||||
npx @cubetiq/hlt start 3000 -p mytest
|
||||
```
|
||||
````
|
||||
|
||||
### Custom Config
|
||||
|
||||
@ -49,7 +61,7 @@ npx @cubetiq/hlt config client new
|
||||
npx @cubetiq/hlt config token $TOKEN
|
||||
```
|
||||
|
||||
- Custom Server
|
||||
- Set Custom Server
|
||||
|
||||
```shell
|
||||
npx @cubetiq/hlt config server https://lt.ctdn.net
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@cubetiq/hlt",
|
||||
"version": "0.1.0",
|
||||
"version": "0.1.1",
|
||||
"description": "A lightweight http tunnel client using nodejs and socket.io client",
|
||||
"main": "dist/client.js",
|
||||
"bin": {
|
||||
|
Loading…
Reference in New Issue
Block a user