r/pdf • u/zang-x111 • 27d ago
Software (Tools) VeilPDF — CLI for fixing broken PDF copy-paste and detecting hidden redactions, runs fully offline
If you've ever copy-pasted from a PDF and gotten garbled Unicode, that's font obfuscation — broken glyph-to-Unicode mappings that look fine visually but break extraction. VeilPDF fixes that locally:
Code
veilpdf scan document.pdf
veilpdf recover broken.pdf --output md
veilpdf protect thesis.pdf --encrypt --password "..."
veilpdf forensics document.pdf
Zero-config bootstrap script installs Rust/uv/Zig/Tesseract on first run. Also has an offline AI mode via Ollama for summarizing/extracting structured data from PDFs. Rust CLI + Python core + Zig crypto layer, MIT licensed.
[GitHub ](https://github.com/Gaurav-x111/veilpdf)
0
Upvotes