Skip to content

TikTok Video Downloader is a fast command-line tool written in Rust that lets you download TikTok videos while displaying a real-time progress bar. It automatically handles filenames and preserves the original video quality.

License

Notifications You must be signed in to change notification settings

ShaheenJawadi/tiktok-video-downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TikTok Video Downloader

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.

Features

  • 🚀 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

Installation

Prerequisites

  • Rust 1.83 or higher
  • Cargo

Building from Source

  1. Clone the repository:
git clone https://github.com/ShaheenJawadi/tiktok-video-downloader.git
cd tiktok-video-downloader
  1. Build the project:
cargo build --release

The executable will be available in target/release/tiktok-video-downloader

Docker Installation

  1. Build the Docker image:
docker build -t tiktok-downloader .
  1. Run the container:
docker run -it tiktok-downloader

Usage

  1. Run the program:
cargo run --release
  1. When prompted, paste the TikTok video URL:
🔗 Enter the TikTok video URL: https://www.tiktok.com/@user/video/1234567890
  1. The program will:
    • Fetch the video metadata
    • Download the video
    • Show a progress bar
    • Save the video with the original title

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Disclaimer

This tool is for educational purposes only. Please respect TikTok's terms of service and content creators' rights when using this tool.

Acknowledgments

  • Thanks to the Rust community for the excellent crates used in this project
  • Built using the public TikWM API

About

TikTok Video Downloader is a fast command-line tool written in Rust that lets you download TikTok videos while displaying a real-time progress bar. It automatically handles filenames and preserves the original video quality.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published