A fast, lightweight social media video downloader powered by Rust + yt-dlp.
- 🚀 Fast - Rust backend with yt-dlp for efficient downloads
- 🎯 Simple - Just paste a URL and click download
- 🔒 Private - No data stored, no accounts required
- 🐳 Docker Ready - One-command deployment
| Platform | Video | Image |
|---|---|---|
| TikTok | ✅ | ✅ |
| X (Twitter) | ✅ | ✅ |
| ✅ |
# Start API (Docker)
docker compose up api -d
# Start frontend
bun install
bun dev# One-command deployment
docker compose up -d --buildsnatch/
├── src/ # Astro frontend
│ ├── components/ # React components
│ ├── pages/ # Pages & API routes
│ ├── lib/ # Utilities
│ └── styles.css # Global styles
├── snatch-rs/ # Rust API backend
│ └── src/ # Rust source
├── docker-compose.yml # Docker orchestration
├── Dockerfile # Frontend container
└── docs/ # Documentation
└── API.md # API documentation
┌─────────────────┐ ┌─────────────────┐
│ Astro Frontend │────▶│ Rust API │
│ (SSR + Bun) │ │ (snatch-rs) │
│ Port: 4321 │ │ Port: 3001 │
└─────────────────┘ └─────────────────┘
- Frontend: Astro + React + Tailwind CSS v4
- Backend: Rust (Axum) + yt-dlp
- Package Manager: Bun
- Deploy: Docker Compose
bun dev # Start development server
bun build # Build for production
bun test # Run tests
bun lint # Lint and fix codeMIT