Skip to content

barabashkad/dv-public-repo-guard

v0.1.0

Pre-commit guard for public repositories: blocks absolute home paths and e-mail addresses in staged text files, in zip-based files (FCStd, 3mf, Office, OpenDocument, epub) and in PNG/JPEG metadata. Stdlib-only checker, hook template and a PNG text-chunk stripper.

public-repo-guard

Use when a git repository is or will become public and must not leak personal data - setting up a pre-commit privacy or personal-data check, before committing or publishing files, auditing a repo for absolute home paths or e-mail addresses, or stripping image metadata (PNG text chunks). Covers code, docs, images and zip-based archives (FreeCAD FCStd, 3mf, docx/xlsx/pptx, odt, epub, zip) whose members and metadata a plain text grep misses. Ships a stdlib-only checker, a pre-commit hook template and a PNG text-chunk stripper.

Read SKILL.md at the source

Pinned to revision 52ad17095886, so it is the text this page describes rather than whatever the author pushed since.

Files

Every link opens the file at its source, pinned to the revision this page describes.