πΎ Backup β’ Archive β’ Preserve Your TikTok Content
TikStash is a user-friendly tool designed to help you create complete backups of TikTok channels. Whether you're a content creator wanting to preserve your work, or a user looking to save your favorite TikTok content locally, TikStash makes it simple and organized.
-
Install Required Programs
- Install Python from python.org
- During Python installation, CHECK β "Add Python to PATH"
- Open Command Prompt (Windows) or Terminal (Mac/Linux)
- Type:
pip install yt-dlp
and press Enter
-
Get TikStash
- Download TikStash by clicking the green "Code" button above
- Choose "Download ZIP"
- Extract the ZIP file to your desktop
-
Run TikStash
- Open the extracted folder
- Double-click
tikstash.py
- Enter a TikTok username or URL when prompted
- Wait for the backup to complete!
Need more detailed instructions? Check the Detailed Installation Guide below.
TikStash is a Python-based application that helps you:
- Download all videos from any public TikTok channel
- Save video metadata (views, dates, descriptions)
- Organize content in a structured way
- Create detailed spreadsheets of your content
- Preserve your digital content locally
- Content Safety: Never lose your TikTok videos
- Organized Backup: Everything sorted and labeled
- Easy to Use: Simple command-line interface
- Detailed Information: Complete metadata preservation
- Progress Tracking: Real-time download status
TikStash
βββ Core Functions
β βββ get_video_info(): JSON metadata retrieval
β βββ download_tiktok_videos(): Main download handler
βββ Data Management
β βββ Videos Backup/: Video storage directory
β βββ MetaData Backup/: CSV data storage
βββ Input Processing
βββ URL validation
βββ Username extraction
- Asynchronous Operations: Uses subprocess for non-blocking operations
- Error Handling: Comprehensive try-catch blocks for robust execution
- Progress Visualization: Dynamic loading animation during operations
- File Management: Automatic directory creation and organization
- Data Validation: Input validation and URL pattern matching
- Resource Management: Proper file handling with context managers
Videos Backup/
βββ {view_count}_{upload_date}_{channel_name}_video_{id}.{ext}
MetaData Backup/
βββ {channel_name}_datainfo.csv
-
Python 3.x
- Windows: Python's official website
- Mac:
brew install python3
- Linux:
sudo apt-get install python3
-
yt-dlp
pip install yt-dlp
- OS: Windows 7+ / macOS 10.13+ / Linux
- RAM: 2GB minimum
- Storage: Depends on videos to backup
- Internet: Stable connection required
-
Install Python
- Download Python 3.x from python.org
- Run the installer
- β Check "Add Python to PATH"
- β Check "Install launcher for all users"
- Click "Install Now"
- Wait for installation to complete
- Click "Close"
-
Verify Python Installation
- Press
Win + R
- Type
cmd
and press Enter - In Command Prompt, type:
python --version
- You should see something like
Python 3.x.x
- Press
-
Install yt-dlp
- In the same Command Prompt, type:
pip install yt-dlp
- Wait for installation to complete
- In the same Command Prompt, type:
-
Download TikStash
- Download ZIP from GitHub
- Right-click ZIP and select "Extract All"
- Choose a location (e.g., Desktop)
- Click "Extract"
-
Install Homebrew (if not installed)
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
-
Install Python
brew install python3
-
Install yt-dlp
pip3 install yt-dlp
-
Download and Extract TikStash
- Download ZIP from GitHub
- Double-click to extract
- Move to desired location
-
Update Package Manager
sudo apt update
-
Install Python and pip
sudo apt install python3 python3-pip
-
Install yt-dlp
pip3 install yt-dlp
-
Clone TikStash
git clone https://github.com/Root-FTW/tikstash.git
-
Start TikStash
- Windows: Double-click
tikstash.py
or run:python tikstash.py
- Mac/Linux: Open Terminal and run:
python3 tikstash.py
- Windows: Double-click
-
Enter Channel Information
- Use TikTok URL:
https://www.tiktok.com/@username
- Or just username:
username
- Use TikTok URL:
-
Wait for Completion
- Progress indicator will show status
- Don't close the window during download
- Located in:
Videos Backup/
directory - Naming convention:
views_date_channelname_videoid.mp4
- Example:
1000000_20230615_username_7123456789.mp4
- Located in:
MetaData Backup/
directory - Filename:
channelname_datainfo.csv
- Fields:
- Channel Name
- Views
- Upload Date
- Video ID
- Description
- Song/Sound Name
-
Error Code 1: Python Path Issues
'python' is not recognized...
Solution: Add Python to system PATH
-
Error Code 2: yt-dlp Installation
No module named 'yt_dlp'
Solution: Reinstall using pip with admin rights
-
Error Code 3: Permission Denied
PermissionError: [Errno 13]
Solution: Run with appropriate permissions
- Progress tracking
- Error recovery
- Data validation
- Safe file handling
- Clone repository
- Install dependencies
- Set up virtual environment
- Run tests
- Fork repository
- Create feature branch
- Implement changes
- Submit pull request
- Dwnload functionality
- CSV metadata export
- Progress tracking
- Error handling
- GUI interface
- Batch processing
- Custom templates
- Advanced filters
- Create GitHub issue
- LinkedIn support
- Email support
- Star repository
- Report bugs
- Submit features
- Share project
This project is licensed under the MIT License. See LICENSE file for details.
- Built with Python
- Powered by yt-dlp
- Inspired by content preservation needs
- Community contributions
Made with π by Jonathan Paz