mirror of
https://github.com/hansputera/tiktok-dl.git
synced 2026-04-05 19:51:57 +02:00
f270fb06e86afbf55ce823cd9f91ae43f0865184
TikTok Downloader
Lightweight TikTok Downloader using NodeJS.
Technology
Develop
- Clone/fork into a directory you want.
- Install all dependencies correctly (
yarn installornpm install) - Install vercel cli too with
npm install vercel -goryarn global add vercel - Ran
vercel devfor development (default port is:3000)
Use
vercel --prodfor production use.
Configuration
This config is required if you want use /api/search.
- Go to https://tiktok.com and login using your account.
- Open developers tool, and find
Storage(Firefox) orApplication(Chrome) and click it. - Click
Cookiesand findsessionid. - Copy
sessionidvalue to your clipboard.
Environment Setup:
- Rename
.env.exampleto.env - Fill
SESSIONvalue with yoursessionid.
Environment Setup on Hosting:
Tested on Vercel
- Go to your project settings.
- Find
Environment Variablesbutton and click it. - Add environment variable with
SESSIONas the name, and yoursessionidas a value.
Endpoints
Available on Wiki
Credits
Contribution(s) are welcome!
Languages
TypeScript
95.3%
CSS
2.8%
JavaScript
1.5%
Dockerfile
0.3%
Shell
0.1%