1.2.0 • Published 2 years ago

signtok v1.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

SignTok

Sign your TikTok urls easily. This is a port of tiktok-signature using JSDOM

This project allows signing TikTok urls without having to run a headless browser, which lowers ram usage a lot.

Deploy

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

Now you can run the server with:

node api/index.js

Usage

Webserver

You can send a POST request to http://localhost:8080/signature with a raw/plain body containing the url

(Content-Type: text/plain)

If you plan to use the already deployed Vercel version, you should use https://signtok.vercel.app/api/signature

Cli

node local.js 'YOUR_URL_HERE'

Library

npm install signtok
const SignTok = require('signtok');

const signer = new SignTok();
console.log(signer.sign('URL_HERE'));

Credits

  • @H1W0XXX for providing a working X-Bogus script