🎬 Compress.lol – WebAssembly-Powered Video Compression

Compress.lol – "Crushing file sizes, not dreams" ⚡
WebAssembly-powered video compression that runs entirely in your browser.
✨ Features
- 🎯 Target-size compression with intelligent quality adjustment
- 🧠 Motion detection for optimized encoding settings
- ⚡ Lightning-fast processing using WebAssembly FFmpeg
- 🔒 100% client-side – your videos never leave your device
- 📱 Responsive design – works on desktop and mobile
- 🌍 Multilingual interface with Paraglide JS
- 🎨 Modern UI with TailwindCSS and Shadcn/ui components
🚀 Quick Start
🛠️ Manual Installation
# Clone the repository
git clone https://github.com/anhostfr/compress.lol
cd compress.lol
# Install dependencies
npm install
# Start development server
npm run dev
🎯 How It Works
Smart Compression Algorithm
- Video Analysis: Automatically detects motion levels, resolution, and encoding characteristics
- Target-Based Encoding: Calculates optimal bitrates and settings for your target file size
- Motion-Aware Settings: Adjusts encoding parameters based on content complexity
- WebAssembly Processing: Uses FFmpeg compiled to WASM for native-speed compression
Compression Targets
- 8 MB – Ultra compression for sharing
- 25 MB – High compression for social media
- 50 MB – Medium compression for email
- 100 MB – Low compression for archival
🛠️ Development
npm run dev # Development server
npm run build # Production build
npm run preview # Preview production build
npm run check # TypeScript check
npm run format # Prettier formatting
FFmpeg Integration
The app uses FFmpeg.wasm for video processing:
- Core:
ffmpeg-core.js
– Main FFmpeg engine
- WASM:
ffmpeg-core.wasm
– WebAssembly binary
- Worker:
ffmpeg-core.worker.js
– Background processing
Adding Languages
- Create new message files in
src/lib/paraglide/messages/
- Update language configuration
- Add language selector option
📱 Browser Support
- Chrome/Edge: 90+
- Firefox: 89+
- Safari: 15+
Requires WebAssembly and SharedArrayBuffer support.
File Size Limits
- Maximum file size: 2GB (browser limitation)
🤝 Contributing
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature
- Make your changes
- Run tests:
npm run check
- Format code:
npm run format
- Commit changes:
git commit -m 'Add amazing feature'
- Push to branch:
git push origin feature/amazing-feature
- Open a Pull Request
📄 License
Apache 2.0 License – see LICENSE for details.
🙏 Acknowledgements
"Making video compression accessible to everyone, one byte at a time"