尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Open-source SvelteKit frontend for Mochify. Interacts with a private C++ backend using libvips and ram only pipeline for zero-retention image compression.
翻译准备中
取自仓库 README
正在加载完整 README。 以下为已保存的摘录。
Mochify is a high-performance media processing utility for images, PDFs and video. Unlike traditional cloud converters that buffer uploads to disk, Mochify uses a stateless C++ engine to ensure your pixels never touch permanent storage.
Convert and compress between JPG, PNG, WebP, AVIF and JPEG XL, with HEIC/HEIF/HIF and SVG accepted as input. Resize, rotate, crop, strip EXIF, and remove backgrounds. Saliency-guided smart compression picks a quality per image rather than applying one number to everything, and smart crop centres on the detected subject instead of the geometric middle.查看完整 README ↗Privacy-First • Hardware-Hardened • Green C++ Engine
Mochify is a high-performance media processing utility for images, PDFs and video. Unlike traditional cloud converters that buffer uploads to disk, Mochify uses a stateless C++ engine to ensure your pixels never touch permanent storage.
Convert and compress between JPG, PNG, WebP, AVIF and JPEG XL, with HEIC/HEIF/HIF and SVG accepted as input. Resize, rotate, crop, strip EXIF, and remove backgrounds. Saliency-guided smart compression softens the background while leaving the subject untouched, and smart crop centres on the detected subject instead of the geometric middle.
Describe what you want in plain English ("convert to WebP and AVIF at 1200px, strip the metadata") and Magic Flow maps it to parameters, or use the classic form if you would rather set them yourself.
A full PDF toolkit at POST /v1/pdf:
| Operation | What it does |
|---|---|
optimize | Recompress the images inside a PDF, in place. Text, fonts, vector art, links and layout are untouched, so the document stays searchable. |
extract | Pull the embedded images out at the resolution they were stored at. Not a render of each page: the actual pictures somebody placed in the document. |
rasterize | Render every page to an image. |
split | Explode a PDF into one single-page PDF per page. |
create | Build a PDF from images, one page per image. |
optimize targets resolution against how large each image is actually drawn on the page, read from the content stream, rather than how many pixels it happens to store. A 4000px photo dropped into a two-inch box is 2000 DPI of waste; the same photo full-bleed on A4 is not, and only the drawn size tells them apart. Images it cannot confidently handle are passed through byte-for-byte rather than dropped, and it never returns a file larger than the one you gave it.
MP4, WebM, MKV and MOV conversion plus audio extraction, running entirely in your browser via MediaBunny. This is the one part of Mochify that is genuinely client-side: the file never leaves your machine, and the server never sees it.
Results can be written straight into your own S3 / R2 / S3-compatible bucket or Google Drive instead of downloading. The bytes go from Mochify to your storage directly rather than back through the browser.
This frontend is open-source so you can verify exactly how your data is handled before it leaves your browser.
connect-src policy prevents the browser from sending data to any domain outside our verified API.We use self-hosted Umami — cookie-free, GDPR-compliant, and anonymized. No data is shared with Google, Facebook, or any ad networks.
Mochify exposes a hosted Model Context Protocol server at mcp.mochify.app, letting AI agents compress and convert images directly without any manual tooling.
Add to Claude.ai or any MCP-compatible client:
https://mcp.mochify.app
Or install via Smithery:
Auth is handled via OAuth — no API key configuration required. The squish tool accepts a public image URL plus optional format, dimensions, and quality parameters.
For CLI and local MCP use, see mochify-cli.
REST API: full parameter reference, response headers and cURL / JavaScript / Python examples at mochify.app/docs. A machine-readable summary for agents lives at mochify.app/llms.txt.
Built with native C++ and libvips, ditching heavy interpreted runtimes for real gains:
Stack: Svelte 5, TailwindCSS v4, Cloudflare Pages adapter.
Prerequisites: Node.js 20+
git clone https://github.com/tliesnham/mochify-frontend.git
cd mochify-frontend
npm install
Copy .env.example to .env:
PUBLIC_API_URL=http://localhost
Note: The production API (
api.mochify.app) enforces strict CORS/Referrer checks and will reject requests fromlocalhost. PointPUBLIC_API_URLat a local instance of mochify-core for development.
npm run dev # start dev server
npm run build # production build
npm run check # type-check
npm run lint # lint + format check
The core engine is available as a hardened Docker image with the same RAM-only, zero-persistence config used in production. Multi-arch: amd64 and arm64 (Apple Silicon / AWS Graviton).
Docker Hub: mochify/mochify-lite
docker pull mochify/mochify-lite:latest