diff --git a/README.md b/README.md index ff950ee..b04b512 100644 --- a/README.md +++ b/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. ## 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 ``` -## Usage -For webserver: +Now you can run the server with: ``` 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)