A privacy-friendly TikTok frontend written in Rust. All requests are proxied server-side, so TikTok never sees your IP or tracks you.
- 🕵️ Private: All requests proxied through the server
- 🔒 Secure: Strong Content Security Policy blocks TikTok in browser
- ⚡ Fast: Rust + Axum = minimal overhead
- 📦 Lightweight: No JavaScript required, minimal CSS
- 🔗 LibRedirect Ready: Works as a drop-in TikTok replacement
- Rust 1.70+
# Clone the repository
git clone https://github.com/YOUR_USERNAME/rustytok.git
cd rustytok
# Copy environment file
cp .env.example .env
# Run the server
cargo run
# Open http://localhost:3000docker build -t rustytok .
docker run -p 3000:3000 rustytok| URL Pattern | Description |
|---|---|
/ |
Home page with search |
/@username |
View user profile |
/video/VIDEO_ID |
View single video |
/tag/hashtag |
View hashtag feed |
Add your RustyTok instance to LibRedirect to automatically redirect TikTok links:
- Install LibRedirect browser extension
- Go to Settings → TikTok
- Add your instance URL (e.g.,
https://your-instance.com)
If using Redirector:
Description: TikTok to RustyTok
Include pattern: (.*//.*)(tiktok.com)(.*)
Redirect to: https://your-instance.com$3
Pattern type: Regular Expression
# Run with auto-reload (install cargo-watch first)
cargo install cargo-watch
cargo watch -x run
# Run tests
cargo test
# Build release
cargo build --releaseThis project is configured to run on CodeSandbox. Just click the button above!
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the AGPL-3.0 License - see the LICENSE file for details.
- Inspired by ProxiTok
- Part of the LibRedirect ecosystem