Automatically record TikTok Lives and sync them to a S3 bucket with Docker compose.
Powered by Docker, Michele0303/tiktok-live-recorder, and Rclone
Store these in a .env file before building & running
Variable | Usage |
---|---|
TIKTOK_ROOM_ID |
room_id /roomId of the TikTok Live room you want to record. |
TIKTOK_COOKIE |
(Optional) Use your own TikTok session cookie sessionid_ss from the web application if you run into access issues. |
S3_PROVIDER |
Your S3 Provider. List |
S3_ACCESS_KEY |
Your S3 Access Key |
S3_SECRET_KEY |
Your S3 Secret Key |
S3_ENDPOINT |
Your S3 Endpoint |
S3_BUCKET_NAME |
The Name of the S3 bucket you wish to store the videos in |
S3_ACL |
The ACL rule to apply for videos uploaded to the bucket |
TIMEZONE |
The timezone to use when including timestamps in the filenames List |
Follow these steps to deploy this on your machine
- Install Docker (if using Docker Desktop, ensure it is running before proceeding)
- Clone this repository
git clone https://github.com/devinbaeten/tiktok-live-to-s3
and cd into itcd tiktok-live-to-s3
- Build
docker-compose build
(This will take a while) - Run (as daemon)
docker-compose up -d
If you have issues with the TikTok recorder service, please refer to https://github.com/Michele0303/tiktok-live-recorder to troubleshoot any errors.
If you have issues with something unrelated to the recording service, open an issue here.
This project is in no way affiliated with, authorized, maintained, sponsored or endorsed by TikTok or any of its affiliates or subsidiaries. Use at your own risk.