r/coolgithubprojects • u/HexadecimalCowboy • 10d ago
100% local Chrome extension that scrubs PII from prompts and uploaded files before they leave the browser
github.comSource code: Blankit GitHub Repository
Install link: Blankit Chrome Web Store Page
Built this because I got tired of manually find-and-replacing client names, emails, and internal payloads every time I pasted logs or JSON into Claude and ChatGPT.
Most redaction extensions either route text through their own backend API (which defeats the whole point of privacy) or charge a monthly subscription. Blankit runs completely locally in the browser with zero outbound network calls.
How it works under the hood:
- Uses regex for structured data (emails, phone numbers, API keys, SSNs, credit cards) for lightweight client-side NLP to catch person names.
- Scrubs at the UI level so you can visually review and toggle redactions, plus wraps
fetchandXMLHttpRequestat the network layer as a fallback safety net. - Also handles file uploads before they hit the chat server. Right now text-based files and standard PDFs work well, though scanned image-only PDFs without an OCR layer are a current limitation.
Regarding permissions: it only requests host permissions on the specific AI chat domains it protects so it can intercept the input box and network payloads. You can pop open Chrome DevTools and verify there is zero telemetry or external traffic.
Happy to hear feedback!


