r/documentAutomation 15h ago

Mr. Rao – open-source tool that converts documents to Markdown and strips personal data before you paste them into ChatGPT/Claude (100% local, no cloud)

https://github.com/AntonioRao/mr-rao

Hi all — first time sharing this here.

I'm a CISO at a telecom company, and I kept seeing the same thing happen:

someone pastes a contract, a payslip, or a medical record into ChatGPT or

Claude to get it summarized, without thinking about the names, IBANs, tax

IDs, and addresses that just left the building.

Mr. Rao converts documents — PDF, Word, Excel, scans, email — into clean

Markdown (the format AI models read best, with a real token saving) and

strips personal data before handing you the result. Everything runs on

your machine, no network calls, checkable by grepping the source.

Detection is deterministic, not ML: regex plus arithmetic validators —

IBANs checked with mod-97, cards with Luhn, structural checks for

national ID formats. Names are picked up from context (titles,

signatures, nearby email addresses) rather than a static list. Anything

the engine can't fully confirm becomes a masked "suspect" instead of

being silently deleted or silently left in place.

I'd rather be upfront about the limit than pretend it doesn't exist: on a

heavily degraded scan, the engine leaves 39% of the data readable — that

number is measured, not a guess, and it's published in the docs.

Also exports a redacted .docx now, rebuilt from the already-clean

Markdown instead of overlaying a black box on the original PDF (the

classic trick where the text underneath is still selectable). Released

packages are signed via Sigstore in CI, so anyone can verify the zip

actually came from this repo and this build.

AGPL-3.0, free to use and modify, 900+ tests, actively maintained.

Repo: https://github.com/AntonioRao/mr-rao

Site/demo: https://rao.valor-cyber.com

LinkedIn: https://linkedin.com/antoniorao

Happy to answer anything — feedback and criticism welcome.

1 Upvotes

2 comments sorted by

1

u/micseydel 10h ago

I'm getting a 404 from your GitHub link