redactpdf

v0.1.0
io.github.CloudCorpRecords/redactpdf Checked 3 days ago Published 1 month ago

Permanently redact SSNs, cards, emails, phones and custom terms from local PDFs, verified gone.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

check_pdf

Report what would be redacted from a local PDF — per-category match counts — without writing anything.

ParameterTypeDescription
path *stringAbsolute path to a PDF on this machine
detectarrayAny of ssn, card, email, phone. Omit for all
termsarrayLiteral strings to match, case-insensitive

redact_pdf

Write a redacted copy of a local PDF with detected sensitive text permanently removed and verified gone. Never modifies the input.

ParameterTypeDescription
path *stringAbsolute path to a PDF on this machine
detectarrayAny of ssn, card, email, phone. Omit for all
licensestringPro licence token; falls back to BLACKOUT_LICENSE
output_pathstringDefaults to <input>-redacted.pdf; must not be the input
overwritebooleanAllow replacing an existing output. Default false
termsarrayLiteral strings to match, case-insensitive