| Crates.io | project-examer |
| lib.rs | project-examer |
| version | 0.2.1 |
| created_at | 2025-08-14 21:58:44.497574+00 |
| updated_at | 2025-08-15 15:32:11.2111+00 |
| description | A fast system analysis tool for scanning codebases and building intelligent relationships between files using AST parsing and LLM analysis |
| homepage | https://github.com/codyaverett/project-examer |
| repository | https://github.com/codyaverett/project-examer |
| max_upload_size | |
| id | 1795880 |
| size | 331,121 |
A fast, comprehensive system analysis tool for scanning directories and building intelligent relationships between files using AST parsing and LLM analysis.
git clone <repository-url>
cd project-examer
cargo install --path .
# Install from crates.io
cargo install project-examer
After global installation, the tool is available as project-examer from anywhere.
# Analyze current directory
project-examer analyze
# Analyze specific directory
project-examer analyze --path /path/to/project
# Skip LLM analysis for faster local-only results
project-examer analyze --skip-llm
# Use custom configuration
project-examer analyze --config custom-config.toml
# Generate config at default location (~/.project-examer.toml)
project-examer config
# Generate config at custom location
project-examer config --output my-config.toml
Project Examer looks for configuration in the following order:
--config~/.project-examer.toml (user's home directory)Generate a configuration file with all options documented:
project-examer config # Creates ~/.project-examer.toml with full documentation
API keys can be provided via environment variables:
OPENAI_API_KEY - for OpenAI GPT modelsANTHROPIC_API_KEY - for Claude modelstarget_directory = "."
ignore_patterns = ["node_modules", ".git", "target", "build", "dist"]
file_extensions = ["rs", "js", "ts", "tsx", "jsx", "py", "java", "go"]
max_file_size = 1048576 # 1MB
[llm]
provider = "OpenAI" # Options: "OpenAI", "Ollama", "Anthropic"
model = "gpt-4"
max_tokens = 4000
temperature = 0.1
# api_key = "your-key" # Or use environment variables
[analysis]
include_dependencies = true
include_function_calls = true
include_architecture_patterns = true
include_security_analysis = false
max_depth = 10
Project Examer generates comprehensive analysis reports:
You'll find examples of what reports are produced in the ./example-output/ directory.
project-examer analyze --path ./my-react-app --output ./analysis-results
# Create configuration file with all options documented
project-examer config
# Edit the configuration file
vim ~/.project-examer.toml # On Unix-like systems
notepad %USERPROFILE%\.project-examer.toml # On Windows
# Set your API key (or use environment variable)
export OPENAI_API_KEY="your-openai-api-key"
# Using Ollama locally
project-examer config --output ollama-config.toml
# Edit ollama-config.toml to set provider="Ollama", base_url="http://localhost:11434"
project-examer analyze --config ollama-config.toml
project-examer analyze --skip-llm
ignore crate for efficient file traversal# Build
cargo build
# Run tests
cargo test
# Run with debug output
RUST_LOG=debug cargo run -- analyze --path ./test-project
# Build release version
cargo build --release
MIT License - see LICENSE file for details.
Project Examer - Making codebase analysis fast, comprehensive, and intelligent. π