# publishable

Source: https://abcastor.com/works/publishable/

Check a git repository for secrets and personal details before you make it
public.

[By Emanuele Russo][L1]

Since 30 Jul 2026

[Get it][L2]

[L1]: https://emanuelegrusso.com/
[L2]: https://abcastor.com/works/publishable/#get

## 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.

- [Install publishable From source][L3]

- [Write your private rules Guide][L4]

- [Source and licence GitHub][L5]

[L3]: https://github.com/ABCastor/publishable#install
[L4]: https://github.com/ABCastor/publishable#your-rules
[L5]: https://github.com/ABCastor/publishable
