AI-powered codebase analyzer - generates site maps for AI assistant integration
npm install @merlean/analyzerAI-powered codebase analyzer that generates site maps for the Merlean AI assistant widget.
``bash`
npm install -g @merlean/analyzer
`bashAnalyze current directory
merleanalyze --name "My App"
Or use with npx (no installation required):
`bash
npx @merlean/analyzer ./my-project --name "My App"
`Options
| Option | Description |
|--------|-------------|
|
--name, -n | Site name (required for new analysis) |
| --merge-with, -m | Merge into existing site map |
| --backend, -b | Custom backend URL |
| --output, -o | Save site map locally |
| --help, -h | Show help |Supported Frameworks
- JavaScript/TypeScript: Express, Fastify, NestJS, React, Vue, Angular
- PHP: CodeIgniter, Laravel, Symfony
- Python: Flask, FastAPI, Django
- Ruby: Rails, Sinatra
- Go: Gin, Echo, Chi
- Java/Kotlin: Spring Boot
How It Works
1. Scans your codebase for API patterns
2. Extracts route definitions and request schemas
3. Uploads to Merlean backend for AI analysis
4. Returns a site ID for widget integration
Integration
After analysis, add the widget to your site:
`html
``Pre-compiled binaries are available for:
- macOS (Apple Silicon / ARM64)
- macOS (Intel / x64)
- Linux (x64)
- Windows (x64)