Privacy-First • Hardware-Hardened • Green C++ Engine
Mochify is a high-performance image processing utility. Unlike traditional cloud converters that buffer images to disk, Mochify uses a stateless C++ engine to ensure your pixels never touch permanent storage.
This frontend is open-source so you can verify exactly how your data is handled before it leaves your browser.
- Public UI (SvelteKit + Cloudflare): Auditable code. No hidden trackers. No third-party ad networks.
- Private Vault (C++): A proprietary, hardware-locked engine running on native Linux kernel primitives to guarantee data volatility.
- Volatile RAM only: Temporary file creation is disabled and container swap is off — images are buffered in volatile RAM and wiped on request completion.
- Zero-buffer streaming: Data streams directly from the TLS connection into the C++ process; no intermediate disk writes.
- Strict CSP: A rigid
connect-srcpolicy 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.
Built with native C++ and libvips, ditching heavy interpreted runtimes for real gains:
- Energy efficient: Native code uses a fraction of the electricity per megapixel compared to Python/Node.js-based APIs.
- Low latency: Average processing time ~822ms, with disk I/O eliminated as a bottleneck.
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 installCopy .env.example to .env:
PUBLIC_API_URL=http://localhost:3000Note: The production API (
api.mochify.xyz) enforces strict CORS/Referrer checks and will reject requests fromlocalhost. PointPUBLIC_API_URLat a local mock server for development.
npm run dev # start dev server
npm run build # production build
npm run check # type-check
npm run lint # lint + format checkThe Mochify Lite 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