Repository navigation
Refentra: browser-local image tools with App Router and Web Workers #98329
Unanswered
MarcoRysz
asked this question in
Show and tell
Replies: 1 comment
|
I'd suggest the following approach:
If none of these work, providing a minimal reproduction repo would help the maintainers diagnose the issue faster. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Sharing Refentra, an App Router project for image operations that run locally in browser workers.
The quickest workflow to try is compressing an image below a chosen KB/MB limit. It checks the encoded byte count and reports whether the target was reached. JPEG, PNG and WebP input are supported; HEIC is not. Image bytes are not uploaded, and there is no account requirement.
It also includes batch WebP-to-JPG conversion with ZIP downloads and JPEG metadata removal. The processing core is shared across the tool routes rather than duplicated per page.
A deployment detail that may help other App Router users:
headers()does not carry over tooutput: "export". For our static build, we generate the hosting headers from the rendered output, with per-page inline-script CSP hashes and a separate 404 fallback. Worker execution remains in the browser; changing the web host does not turn file processing into a server API.I'd welcome concrete feedback on browser/worker behavior or upload requirements the existing workflow does not cover. Please describe the requirement or failure without sharing a private image.
Maintainer disclosure: Refentra is my project, developed with AI agents. This post is AI-generated and checked against the current implementation; no user or growth results are claimed.
Update September 8: the demo now opens at 200 KB. There is also a 2 MB preset. Both limits can still be edited. For the photo-privacy workflow, this guide explains local metadata removal, an ExifTool alternative, and how to verify the cleaned copy.
All reactions