Hacker News new | ask | show | jobs
by seagnson 251 days ago
Thanks everyone for checking it out!

A few technical notes about how JFIF to JPG works:

It’s written in vanilla JavaScript, no frameworks — just an <input type="file">, a canvas, and the browser’s built-in toDataURL("image/jpeg") API.

The conversion happens entirely client-side. The image never leaves your device — not even temporarily. That means full privacy, zero bandwidth use, and instant processing.

The site doesn’t use cookies, analytics, or third-party scripts. It’s intentionally minimal to stay fast and compliant with privacy regulations.

It’s designed to work offline once cached by your browser — ideal for users in low-connectivity areas.

Tech Stack:

HTML5 + JavaScript (no frameworks)

CSS for a simple responsive layout

Hosted on Cloudflare Pages for global CDN + SSL

Upcoming ideas:

Drag-and-drop multiple file support

Preserve EXIF data on conversion

Add a dark mode toggle

Would love to hear your thoughts on privacy-first frontend tools like this — do you prefer pure JS local tools over heavier web apps?