Get CodeFlow running in 5 minutes.
git clone https://github.com/YOUR_USERNAME/CodeFlow.git
cd CodeFlow/codeflow-analyzer
npm install
cp .env.example .envEdit .env:
ANTHROPIC_API_KEY=your_anthropic_key_here
GITHUB_TOKEN=your_github_token_hereGet API Keys:
- Anthropic: https://console.anthropic.com/
- GitHub: https://github.com/settings/tokens (needs
reposcope)
npm run test # Single-repo demo
npm run cross-repo # Multi-repo analysis
npm run dashboard # Web UI at localhost:3000Edit config/repos.json:
{
"repositories": [
{
"name": "auth-service",
"url": "https://github.com/YOUR_ORG/auth-service.git",
"type": "provider",
"apis": [{"endpoint": "/verify", "method": "GET"}]
},
{
"name": "user-service",
"url": "https://github.com/YOUR_ORG/user-service.git",
"type": "consumer",
"dependencies": [{"service": "auth-service", "endpoint": "/verify"}]
}
]
}npm run test # Demo analysis
npm run cross-repo # Analyze all repos
npm run dashboard # Launch web UI
npm run setup # Interactive config
npm run auto-fix # Create PR in current repo"API key not found": Check .env file exists and has correct keys
"Repository not found": Verify GitHub token has repo scope
"Could not parse fix": Check generated report, apply manually if needed
That's it. Ready to demo.