A fast and efficient command-line tool written in Rust that downloads TikTok videos while preserving their original quality. The tool features a progress bar, automatic file naming, and handles duplicate filenames.
- 🚀 Fast downloads using asynchronous operations
- 📊 Real-time progress bar with ETA
- 🔄 Automatic handling of duplicate filenames
- 💫 Simple interactive command-line interface
- 🎥 Preserves original video quality
- Rust 1.83 or higher
- Cargo
- Clone the repository:
git clone https://github.com/ShaheenJawadi/tiktok-video-downloader.git
cd tiktok-video-downloader
- Build the project:
cargo build --release
The executable will be available in target/release/tiktok-video-downloader
- Build the Docker image:
docker build -t tiktok-downloader .
- Run the container:
docker run -it tiktok-downloader
- Run the program:
cargo run --release
- When prompted, paste the TikTok video URL:
🔗 Enter the TikTok video URL: https://www.tiktok.com/@user/video/1234567890
- The program will:
- Fetch the video metadata
- Download the video
- Show a progress bar
- Save the video with the original title
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
This tool is for educational purposes only. Please respect TikTok's terms of service and content creators' rights when using this tool.
- Thanks to the Rust community for the excellent crates used in this project
- Built using the public TikWM API