No description
Find a file
2026-05-09 00:00:16 +02:00
crates fix: add hero_service startup block, --info and --help compliance 2026-05-09 00:00:16 +02:00
.gitignore Add .gitignore to exclude Rust build artifacts 2026-04-06 13:42:18 +02:00
Cargo.lock Update dependencies 2026-05-08 17:18:28 +02:00
Cargo.toml chore: upgrade dependency versions to Hero canonical versions 2026-05-08 09:41:23 +02:00
PURPOSE.md fix: rename hero_code_indexer_ui to hero_code_indexer_admin, add PURPOSE.md 2026-05-07 09:37:42 +02:00
README.md fix: rename hero_code_indexer_ui to hero_code_indexer_admin, add PURPOSE.md 2026-05-07 09:37:42 +02:00

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.