No description
- Rust 100%
| crates | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| PURPOSE.md | ||
| README.md | ||
hero_code_indexer
Rust code analysis service — indexes Rust source code with Tree-sitter and serves a JSON-RPC 2.0 API over Unix sockets.
Quick start
service code_indexer start --update --reset
service code_indexer stop
service code_indexer status
Components
| Binary | Socket | Role |
|---|---|---|
hero_code_indexer_server |
rpc.sock |
Core RPC daemon (Tree-sitter + SQLite) |
hero_code_indexer_admin |
admin.sock |
Bootstrap HTML admin dashboard |
hero_code_indexer |
— | CLI client and service lifecycle manager |
CLI usage
# Scan a project
hero_code_indexer scan --name myproject --path /path/to/rust/repo
# Search for a symbol
hero_code_indexer search --name myproject Indexer
# Find where a symbol is defined
hero_code_indexer where-is --name myproject handle_scan
# Show call graph
hero_code_indexer graph --name myproject scan_project --depth 3
See PURPOSE.md for full details.