Update README.md
This commit is contained in:
17
README.md
17
README.md
@@ -5,16 +5,27 @@ This is a port of [tiktok-signature](https://github.com/carcabot/tiktok-signatur
|
|||||||
This project allows signing TikTok urls without having to run a headless browser, which lowers ram usage a lot.
|
This project allows signing TikTok urls without having to run a headless browser, which lowers ram usage a lot.
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
### Docker
|
||||||
|
```
|
||||||
|
docker pull ghcr.io/pablouser1/signtok:master
|
||||||
|
```
|
||||||
|
|
||||||
|
Now you can create a container with:
|
||||||
|
```
|
||||||
|
docker run --publish 8080:8080 ghcr.io/pablouser1/signtok:master
|
||||||
|
```
|
||||||
|
### Manual
|
||||||
```
|
```
|
||||||
yarn install
|
yarn install
|
||||||
```
|
```
|
||||||
|
|
||||||
## Usage
|
Now you can run the server with:
|
||||||
For webserver:
|
|
||||||
```
|
```
|
||||||
node server.py
|
node server.py
|
||||||
```
|
```
|
||||||
Then you can send a POST request to http://localhost:8080/signature with a raw/plain body containing the url
|
## Usage
|
||||||
|
For webserver:
|
||||||
|
You can send a POST request to http://localhost:8080/signature with a raw/plain body containing the url
|
||||||
|
|
||||||
(Content-Type: text/plain)
|
(Content-Type: text/plain)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user