Something went wrong. Try again.
Lightweight AST-based codebase indexer for AI coding assistants. Generates a `relationships.json` that Claude Code / Cursor / etc. can reference instead of exploring the entire codebase. paragraph.com/@metaend
ai llm eco ast golang
Something went wrong. Try again.
codebase-indexer post-commit
409 B · 14 lines
at main
123456789101112131415#!/bin/bash# .git/hooks/post-commit# Auto-regenerate codebase index after commitsOUTPUT=".context/relationships.json"# Only run if indexer is installedif command -v codebase-indexer &>/dev/null; then echo "Updating codebase index..." codebase-indexer -root . -out "$OUTPUT" 2>/dev/null # Optionally stage the updated index (uncomment if you want it tracked) # git add "$OUTPUT"fi