AI session memory for developers — local, fast, no cloud
Project description
vimgym
AI session memory for developers. Local. Fast. No cloud.
Vimgym automatically captures every Claude Code session and makes your entire
AI conversation history searchable in under 500ms. It's git log for your
AI conversations.
┌──────────────────────────┐
│ ~/.claude/projects/ │
└────────────┬─────────────┘
│ filesystem watcher
▼
┌─────────────────────────────────┐
│ vimgym daemon (single process) │
│ parser → redact → SQLite + FTS5│
└────────────┬────────────────────┘
│
▼
┌────────────────────────────────────┐
│ http://127.0.0.1:7337 │
│ ⌘K to search · live updates · WS │
└────────────────────────────────────┘
Install
# macOS — recommended
brew tap shoaibrain/vimgym
brew install vimgym
# Any OS
pipx install vimgym
# One-liner (auto-detects best method)
curl -fsSL https://vimgym.xyz/install | sh
After install, run vg doctor to verify everything is healthy.
Quick start
vg init # detect AI tool sources, create vault
vg start # spawn daemon, open browser
In the browser, press ⌘K and start typing. Or from the terminal:
vg search "CORS configuration"
vg search "auth" --project edforge --since 7d
vg search "rate limiter" --branch dev --json | jq
Features
- Automatic capture — filesystem watcher catches every new session within seconds; zero configuration
- Full-text search — SQLite FTS5 with BM25 ranking, sub-500ms on any vault size, hyphen-safe queries
- Three-pane web UI — Neon Void design, command palette (⌘K), live updates via WebSocket
- Session detail — full conversation rendering with syntax-highlighted code, collapsible tool blocks, copy buttons
- Markdown export — one click to get a paste-friendly transcript for resuming a session in Claude Code
- 18-pattern redaction — strips API keys, AWS credentials, kubeconfig certs, SSH keys, JWT tokens, and more before anything is written
- Source-aware — auto-detects Claude Code, Cursor, Copilot, Antigravity, Gemini (only Claude Code parser ships in v1)
- Local-first — server binds 127.0.0.1, vault file is
chmod 600, zero outbound network calls
CLI
vg start [--no-browser] Start daemon (watcher + web server), open browser
vg stop Graceful shutdown
vg status Daemon health, vault stats, source list
vg open Open browser if daemon is running
vg doctor Run system diagnostics (Python, FTS5, vault, sources, redaction)
vg search QUERY [flags] Terminal search with --project --branch --since --limit --json
vg init Initialize vault, detect AI tool sources
vg config Print active configuration
vg config sources List configured sources
vg config sources ID --enable Enable a source (takes effect on next vg start)
vg config sources ID --disable Disable a source
Documentation
- User Guide — installation, UI walkthrough, search syntax, configuration, troubleshooting
- Developer Reference — architecture, module reference, schema, API, source adapter interface
Status
v0.1.1 — first official release. 117 tests passing on Python 3.11 / 3.12 / 3.13, Linux + macOS. Windows and additional source parsers (Cursor, Copilot, Gemini) are v2.
Requirements
- macOS or Linux
- Python 3.11+
- Claude Code
Contributing
git clone https://github.com/shoaibrain/vimgym.git
cd vimgym
make install # creates .venv, installs in editable mode with [dev] extras
source .venv/bin/activate
make test # 117 tests, ~40 seconds
See docs/DEVELOPER.md for the architecture overview.
License
MIT. See LICENSE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vimgym-0.1.1.tar.gz.
File metadata
- Download URL: vimgym-0.1.1.tar.gz
- Upload date:
- Size: 108.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b6aa7f031fac72ef2e4aaf24dde209c878840458b43e83c8e092993d8fbfd86
|
|
| MD5 |
5c85fb921415e198ebdaaa1b916c52a8
|
|
| BLAKE2b-256 |
57d34b1799f0e1a1cf5c9251a15474d1f995ccda4e1c55271ef271bc3e2680fa
|
Provenance
The following attestation bundles were made for vimgym-0.1.1.tar.gz:
Publisher:
release.yml on shoaibrain/vimgym
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vimgym-0.1.1.tar.gz -
Subject digest:
1b6aa7f031fac72ef2e4aaf24dde209c878840458b43e83c8e092993d8fbfd86 - Sigstore transparency entry: 1248007470
- Sigstore integration time:
-
Permalink:
shoaibrain/vimgym@456bf810d7281605f9bd72af00394fdccd3f1c65 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/shoaibrain
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@456bf810d7281605f9bd72af00394fdccd3f1c65 -
Trigger Event:
release
-
Statement type:
File details
Details for the file vimgym-0.1.1-py3-none-any.whl.
File metadata
- Download URL: vimgym-0.1.1-py3-none-any.whl
- Upload date:
- Size: 99.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee8cc99a5d0e97b2328900559903c3f79e5030cb86177034098a8f620c6faa5b
|
|
| MD5 |
cb990b2e09fceea6e5092e4e080d358f
|
|
| BLAKE2b-256 |
f1478a6896d49f9e1c0b64055b1c95a20b7c1f69d5f76e1129f6d0857da12455
|
Provenance
The following attestation bundles were made for vimgym-0.1.1-py3-none-any.whl:
Publisher:
release.yml on shoaibrain/vimgym
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vimgym-0.1.1-py3-none-any.whl -
Subject digest:
ee8cc99a5d0e97b2328900559903c3f79e5030cb86177034098a8f620c6faa5b - Sigstore transparency entry: 1248007534
- Sigstore integration time:
-
Permalink:
shoaibrain/vimgym@456bf810d7281605f9bd72af00394fdccd3f1c65 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/shoaibrain
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@456bf810d7281605f9bd72af00394fdccd3f1c65 -
Trigger Event:
release
-
Statement type: