Compress.lol β "Crushing file sizes, not dreams" β‘
WebAssembly-powered video compression that runs entirely in your browser.
- π― 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, Shadcn/ui components, and Catppuccin themes
# Clone the repository
git clone https://github.com/anhostfr/compress.lol
cd compress.lol
# Install dependencies
npm install
# Start development server
npm run dev
- 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
- 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
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
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
- Create new message files in
src/lib/paraglide/messages/
- Update language configuration
- Add language selector option
- Chrome/Edge: 90+
- Firefox: 89+
- Safari: 15+
Requires WebAssembly and SharedArrayBuffer support.
- Maximum file size: 2GB (browser limitation)
- 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
Apache 2.0 License β see LICENSE for details.
- FFmpeg.wasm β FFmpeg compiled to WebAssembly
- SvelteKit β The fastest way to build svelte apps
- Paraglide JS β Type-safe i18n
- TailwindCSS β Utility-first CSS framework
- Shadcn/ui β Beautiful UI components
- Catppuccin β Lovely color palette and themes
"Making video compression accessible to everyone, one byte at a time"