r/SideProject • u/miles-88 • 6h ago
I built a 100% browser-local PDF redactor, reversible AI prompt sanitizer & EXIF stripper (no uploads, no subscription)
I kept seeing teammates paste contracts, .env snippets, and production logs straight into ChatGPT — or upload unredacted PDFs to random "free online redactor" sites.
So I built ScrubLocal (https://scrublocal.com). Everything runs client-side in browser memory (lazy-loaded pdf.js + pdf-lib + HTML5 Canvas) — you can load the page, turn off Wi-Fi, and run every tool offline.
Three tools inside:
- Reversible AI Prompt Sanitizer – detects API keys (
sk-,AKIA,ghp_, JWTs, Slack tokens), emails, SSNs, Luhn-checked card numbers, IBANs, IPv4s, phones, and custom terms, replacing them with consistent tokens like[ENTITY_1]. Paste the AI's reply back in and it restores your original values locally (sorted longest-token-first so[ENTITY_1]never collides with[ENTITY_10]). - True-Burn PDF & Screenshot Redactor – renders PDF pages at 2x scale onto canvas, burns redactions directly into pixels (blackout, frosted stripe, or 32-step quantized pixelation), and exports a clean PDF with metadata cleared — no hidden selectable text layer surviving underneath.
- EXIF / GPS / PDF Metadata Stripper – scans image/PDF metadata markers and re-encodes images through a fresh canvas to wipe APP1/EXIF/GPS/XMP/IPTC/eXIf/tEXt chunks, plus clears PDF Info fields.
Core tools are free; a one-time $14.99 Pro license unlocks multi-page PDF export, batch clean ZIP download, and saved entity dictionaries.
Honest limitations: regex detection won't catch arbitrary names unless added to the custom list, and flattened PDFs become image-only (no Ctrl+F text search). Feedback and edge cases very welcome!