🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

@hoangvuzxc12/signtok

Package Overview
Dependencies
Maintainers
0
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hoangvuzxc12/signtok

Sign your TikTok requests easily

latest
Source
npmnpm
Version
1.5.0
Version published
Weekly downloads
3
-93.62%
Maintainers
0
Weekly downloads
 
Created
Source

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

You can see some examples here

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'));

TODO

  • Typescript typing
  • Publish to npm with Github Actions

Credits

  • @H1W0XXX for providing a working X-Bogus script

Keywords

tiktok

FAQs

Package last updated on 17 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts