On this page
immunity
Prev: expose-protocol | Up: projects | Next: parsethon
Rel: wispsy, Tooling & Runtimes, homebrew-tap
Ref: wispsy on GitHub
Tags: #public #wispsy #project #tooling #tier/standard
Role
Ahead-of-time (AOT) compiled Zsh plugin manager written in pure Python 3.10+—fetching plugins concurrently via asyncio and compiling a static ~/.zsh_plugins.zsh script + deterministic lockfile for sub-2ms shell load with zero runtime dependencies.
Install
# Homebrew tap:
brew tap wispsy/tap && brew install immunity
# Or PyPI:
uv tool install immunity
# pip install --user immunity
Quickstart
# ~/.zsh_plugins.txt
zsh-users/zsh-syntax-highlighting
zsh-users/zsh-autosuggestions
# Fetch concurrently, write plugins.lock.json, and compile ~/.zsh_plugins.zsh
immunity compile
immunity init # prints the single source line to add to ~/.zshrc
When to Reach for It
- Managing Zsh plugins on macOS/Linux with zero Python startup overhead at shell launch and reproducible
plugins.lock.jsonpinning.
Gotchas & Pitfalls
- Recompile after edits: Editing
~/.zsh_plugins.txtdoes not take effect until you runimmunity compileto regenerate~/.zsh_plugins.zshandplugins.lock.json. - Shell init hook: Source the generated static file via
immunity initin~/.zshrc; runningimmunityitself inside~/.zshrcon every shell launch defeats the sub-2ms AOT startup goal. - Python 3.10+ & network at compile time: Compile-time fetching uses
asyncioover the network, while runtime Zsh startup has zero Python or network overhead.
Pairs With
- homebrew-tap — Official macOS Homebrew distribution channel.
Metadata
type: project-card
slug: immunity
org: wispsy
repo: wispsy/immunity
package: immunity
version: 0.1.0
requires_python: ">=3.10"
layer: tooling
topic: wispsy-tooling
status: active
language: python
source_docs: README.md, docs/
Linked from
Related notes
- wiki/projects/expose-protocol Linked here; links to this page; shared tags: #project, #tier, #tooling, #wispsy
- wiki/projects/homebrew-tap Linked here; links to this page; shared tags: #project, #tier, #tooling, #wispsy
- wiki/projects/parsethon Linked here; links to this page; shared tags: #project, #tier, #tooling, #wispsy
- wiki/stack/tooling Linked here; links to this page; shared tags: #tier, #tooling, #wispsy
- wiki/projects Linked here; links to this page; shared tags: #wispsy
- wiki/compatibility links to this page; shared tags: #tier, #wispsy
- wiki/orgs/wispsy Linked here; shared tags: #tier, #wispsy
- tuts/third_party/python3/wispsy links to this page; shared tags: #tier
- wiki/projects/echidnae shared tags: #project, #tier, #tooling, #wispsy
- wiki/projects/evok shared tags: #project, #tier, #tooling, #wispsy