Skip to main content

keeper

image

A terminal tribute to Vozinha -- the 40-year-old Cape Verde goalkeeper who went viral at the 2026 World Cup for denying everyone. Spain, Messi, all of them. Blocked.

keeper renders Vozinha (or any image you throw at it) as ASCII art in your terminal, then slams an ACCESS DENIED screen. Because that's what he does literally.

It also works as a Claude Code hook that blocks dangerous shell commands before they run. Vozinha doesn't care who you are. He dives full-stretch and denies you.

image

Install

pip install vozinha-keeper

Usage

keeper                        # ASCII art, center-cropped at width 90, + ACCESS DENIED
keeper --style color          # truecolor half-block, looks like a photo
keeper --style mono           # green phosphor retro terminal
keeper --no-crop              # render the full frame instead of cropping
keeper -w 120                 # wider render
keeper --demo                 # compare all 3 styles side by side

Works out of the box. Ships with bundled sample images so there's something to render on a fresh install.

Add your own images

keeper --add some_photo.jpg          # copies into ~/.keeper/images
export KEEPER_IMAGES=~/Pictures/vozinha   # or point at a whole folder
keeper --dir ~/Pictures/keepers      # one-off folder

It picks a random image from the pool each run. The pool checks (in order): --dir flag, $KEEPER_IMAGES env var, ~/.keeper/images, bundled samples.

Claude Code hook

This is the real use case. Keeper runs as a PreToolUse hook in Claude Code. Before Claude executes a shell command, Vozinha inspects it. If it matches a dangerous pattern -- rm -rf, force-push to main, chmod 777, fork bombs, DROP TABLE -- the keeper dives in and blocks it. Exit code 2. Command denied. Safe commands pass through untouched.

One-command setup

keeper --install-hook          # writes to ~/.claude/settings.json
keeper --install-hook --project   # or ./.claude/settings.json for this repo only

Remove it:

keeper --uninstall-hook

Try it locally without Claude Code

keeper --simulate                      # demo reel: safe + dangerous commands
keeper --simulate "rm -rf ./build"     # blocked
keeper --simulate "npm test"           # allowed

Manual hook setup

If you prefer to set it up yourself, add this to your ~/.claude/settings.json:

{
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "\"/path/to/python\" -m keeper --hook"
          }
        ]
      }
    ]
  }
}

Find your python path with python -c "import sys; print(sys.executable)".

What gets blocked

The danger patterns live in keeper/cli.py. Current list:

  • rm -rf (recursive force delete)
  • sudo rm
  • git push --force to main/master
  • chmod 777
  • mkfs (format disk)
  • dd if= (raw disk write)
  • Redirects to /dev/sd*
  • Fork bombs
  • DROP TABLE

Edit the DANGER list to add your own.

Render styles

  • ascii (default) -- brightness-ramp characters tinted with pixel color. Clean subjects look great. This is what the hook uses.
  • color -- truecolor half-block. Two pixels per character cell. Busy photos with lots of detail work best here.
  • mono -- green phosphor brightness ramp. Retro CRT look. Works on any terminal.

Center-crop at width 90 is the default -- the sweet spot for most images. Pass --no-crop to render the full frame, or -w to change the width.

About

Built as a fun weekend project after watching Vozinha deny everything at the 2026 World Cup. The man is 40 years old and he's out there making saves that have no business being made.

This is a tribute. Nothing official, just a fan who thought it would be funny to have a goalkeeper blocking your terminal commands.

License

MIT

Metadata

Release files for vozinha-keeper 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vozinha-keeper 0.1.0
File Size Uploaded Provenance Actions
vozinha_keeper-0.1.0.tar.gz 137.7 kB With provenance Details for vozinha_keeper-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for vozinha-keeper 0.1.0
File Interpreter ABI Platform Actions
vozinha_keeper-0.1.0-py3-none-any.whl Python 3 none any Details for vozinha_keeper-0.1.0-py3-none-any.whl

Total release size: 274.4 kB

Release files / vozinha_keeper-0.1.0.tar.gz

Download URL vozinha_keeper-0.1.0.tar.gz
Size 137.7 kB
Tags Source
SHA-256 checksum
How to use checksums
0ec441a07c262179530fbe7352318529a9b9d840b63d8e7de84250feca56e391
BLAKE2b-256 checksum
How to use checksums
ba386053a2c35b5a7885a0fd59e6c4a48bd45bcc16cf691a0558136bd138cd37
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 5, 2026.

Transparency log

Release files / vozinha_keeper-0.1.0-py3-none-any.whl

Download URL vozinha_keeper-0.1.0-py3-none-any.whl
Size 136.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4ca6b12d66a48ac0c493b6884640df7b06b556243c76e5d962b3569c5c7955cf
BLAKE2b-256 checksum
How to use checksums
d7457cd77ba06e31f77990aa9004a3e4ccd756ed45af0c20e8d48079d719a1aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 5, 2026.

Transparency log

Security for vozinha-keeper 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for vozinha_keeper-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 5, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page