{"id":31534049,"url":"https://github.com/anhostfr/compress.lol","last_synced_at":"2025-10-04T05:16:41.268Z","repository":{"id":314348507,"uuid":"1054204059","full_name":"anhostfr/compress.lol","owner":"anhostfr","description":"Compress videos in your browser to fit Discord limitations and more. - An alternative to 8mb.video","archived":false,"fork":false,"pushed_at":"2025-10-01T21:34:37.000Z","size":10237,"stargazers_count":222,"open_issues_count":0,"forks_count":12,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-01T23:28:02.885Z","etag":null,"topics":["compression","ffmpeg","ffmpegwasm","file-compression","svelte","sveltekit","tailwindcss","video-compression","video-compressor"],"latest_commit_sha":null,"homepage":"https://compress.lol","language":"Svelte","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anhostfr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-10T14:04:48.000Z","updated_at":"2025-10-01T21:34:41.000Z","dependencies_parsed_at":"2025-09-12T01:01:28.291Z","dependency_job_id":"329e2b4f-bad4-4c7a-bab6-df59f0db8cd9","html_url":"https://github.com/anhostfr/compress.lol","commit_stats":null,"previous_names":["anhostfr/compress.lol"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/anhostfr/compress.lol","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anhostfr%2Fcompress.lol","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anhostfr%2Fcompress.lol/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anhostfr%2Fcompress.lol/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anhostfr%2Fcompress.lol/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anhostfr","download_url":"https://codeload.github.com/anhostfr/compress.lol/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anhostfr%2Fcompress.lol/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278266896,"owners_count":25958733,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["compression","ffmpeg","ffmpegwasm","file-compression","svelte","sveltekit","tailwindcss","video-compression","video-compressor"],"created_at":"2025-10-04T05:16:38.416Z","updated_at":"2025-10-04T05:16:41.258Z","avatar_url":"https://github.com/anhostfr.png","language":"Svelte","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🎬 Compress.lol – WebAssembly-Powered Video Compression\n\n[![License: Apache-2.0](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n[![GitHub issues](https://img.shields.io/github/issues/anhostfr/compress.lol)](https://github.com/anhostfr/compress.lol/issues)\n[![SvelteKit](https://img.shields.io/badge/SvelteKit-FF3E00?style=flat\u0026logo=svelte\u0026logoColor=white)](https://kit.svelte.dev/)\n[![TypeScript](https://img.shields.io/badge/TypeScript-007ACC?style=flat\u0026logo=typescript\u0026logoColor=white)](https://www.typescriptlang.org/)\n[![FFmpeg](https://img.shields.io/badge/FFmpeg-007808?style=flat\u0026logo=ffmpeg\u0026logoColor=white)](https://ffmpeg.org/)\n\n\u003e **Compress.lol** – _\"Crushing file sizes, not dreams\"_ ⚡  \n\u003e WebAssembly-powered video compression that runs entirely in your browser.\n\n---\n\n## ✨ Features\n\n- 🎯 **Target-size compression** with intelligent quality adjustment\n- 🧠 **Motion detection** for optimized encoding settings\n- ⚡ **Lightning-fast processing** using WebAssembly FFmpeg\n- 🔒 **100% client-side** – your videos never leave your device\n- 📱 **Responsive design** – works on desktop and mobile\n- 🌍 **Multilingual interface** with Paraglide JS\n- 🎨 **Modern UI** with TailwindCSS, Shadcn/ui components, and Catppuccin themes\n\n---\n\n## 🚀 Quick Start\n\n### 🛠️ Manual Installation\n\n```bash\n# Clone the repository\ngit clone https://github.com/anhostfr/compress.lol\ncd compress.lol\n\n# Install dependencies\nnpm install\n\n# Start development server\nnpm run dev\n```\n\n---\n\n## 🎯 How It Works\n\n### Smart Compression Algorithm\n\n1. **Video Analysis**: Automatically detects motion levels, resolution, and encoding characteristics\n2. **Target-Based Encoding**: Calculates optimal bitrates and settings for your target file size\n3. **Motion-Aware Settings**: Adjusts encoding parameters based on content complexity\n4. **WebAssembly Processing**: Uses FFmpeg compiled to WASM for native-speed compression\n\n### Compression Targets\n\n- **8 MB** – Ultra compression for sharing\n- **25 MB** – High compression for social media\n- **50 MB** – Medium compression for email\n- **100 MB** – Low compression for archival\n\n---\n\n## 🛠️ Development\n\n```bash\nnpm run dev        # Development server\nnpm run build      # Production build\nnpm run preview    # Preview production build\nnpm run check      # TypeScript check\nnpm run format     # Prettier formatting\n```\n\n### FFmpeg Integration\n\nThe app uses FFmpeg.wasm for video processing:\n\n- **Core**: `ffmpeg-core.js` – Main FFmpeg engine\n- **WASM**: `ffmpeg-core.wasm` – WebAssembly binary\n- **Worker**: `ffmpeg-core.worker.js` – Background processing\n\n---\n\n### Adding Languages\n\n1. Create new message files in `src/lib/paraglide/messages/`\n2. Update language configuration\n3. Add language selector option\n\n---\n\n## 📱 Browser Support\n\n- **Chrome/Edge**: 90+\n- **Firefox**: 89+\n- **Safari**: 15+\n\nRequires WebAssembly and SharedArrayBuffer support.\n\n### File Size Limits\n\n- **Maximum file size**: 2GB (browser limitation)\n\n---\n\n## 🤝 Contributing\n\n1. Fork the repository\n2. Create a feature branch: `git checkout -b feature/amazing-feature`\n3. Make your changes\n4. Run tests: `npm run check`\n5. Format code: `npm run format`\n6. Commit changes: `git commit -m 'Add amazing feature'`\n7. Push to branch: `git push origin feature/amazing-feature`\n8. Open a Pull Request\n\n---\n\n## 📄 License\n\nApache 2.0 License – see [LICENSE](LICENSE) for details.\n\n---\n\n## 🙏 Acknowledgements\n\n- [FFmpeg.wasm](https://github.com/ffmpegwasm/ffmpeg.wasm) – FFmpeg compiled to WebAssembly\n- [SvelteKit](https://kit.svelte.dev/) – The fastest way to build svelte apps\n- [Paraglide JS](https://inlang.com/m/gerre34r/library-inlang-paraglideJs) – Type-safe i18n\n- [TailwindCSS](https://tailwindcss.com/) – Utility-first CSS framework\n- [Shadcn/ui](https://ui.shadcn.com/) – Beautiful UI components\n- [Catppuccin](https://catppuccin.com/) – Lovely color palette and themes\n\n---\n\n\u003cdiv align=\"center\"\u003e\n    \u003cem\u003e\"Making video compression accessible to everyone, one byte at a time\"\u003c/em\u003e\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanhostfr%2Fcompress.lol","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanhostfr%2Fcompress.lol","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanhostfr%2Fcompress.lol/lists"}