publishable
Check a git repository for secrets and personal details before you make it public.
What it does
Secret scanners catch API keys, yet miss home paths, real names, agent working notes and client names left in old commits. publishable extends gitleaks with your own private rules and per-project denylists, then splits findings into working-tree edits you can fix now and history leaks that need a fresh export.
It refuses to scan until you replace the placeholders in your rules file, so example config can never return a false pass. You can run it before a first push, attach its pre-commit hook to new repositories, or scaffold repositories with publishable init so personal config stays out of git from the start.
Where to get it
macOS or Linux (or Windows under WSL) with bash, git, perl, jq and gitleaks. The GitHub CLI (gh) is optional for fork and description checks.