Inside the Open-Source Gemini Watermark Remover Architecture
A technical look at how Reverse Alpha Blending, WebCodecs, Express security hardening, and Vercel static hosting fit together.
Dual-Mode Design: Static Edge + Local Studio
On static hosting like Vercel, the app detects the absence of a backend and switches automatically to 100% browser-side Canvas and WebCodecs processing. When run locally with Node.js, it unlocks FFmpeg 4K UHD pipelines.
Hardened Local Backend
The optional Express server uses Helmet, express-rate-limit, p-limit concurrency caps, Multer v2 MIME+extension validation, and automatic 1-hour temporary file purging.
Inspect or Fork on GitHub
The entire codebase is MIT-licensed at github.com/Mubthaseem/gemini-watermark-remover so developers can audit, self-host, or contribute improvements.