Update README.md

This commit is contained in:
Pablo Ferreiro
2022-05-22 13:05:37 +02:00
committed by GitHub
parent be28abf8a6
commit 9f951b180f

View File

@@ -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)