An AI-powered terminal user interface (TUI) for analyzing GitHub repositories. Generate comprehensive READMEs, .gitignore files, security reports, and more using Fireworks AI.
- README Generator — Automatically generate professional README.md files
- .gitignore Generator — Create optimized .gitignore files for any project
- Security Check — Scan dependencies for known vulnerabilities
- Code Quality Report — Analyze code patterns and best practices
- Dependency Health — Review package health and outdated dependencies
- API Docs Generator — Generate documentation from API endpoints
- Runtime: Node.js 18+
- UI: Chalk, Figlet, Boxen, Ora, Inquirer
- AI: Fireworks AI
- API: Octokit (GitHub REST API)
# Clone the repository
git clone https://github.com/deksdeveloper/github-repo-analyzer.git
# Navigate to project directory
cd github-repo-analyzer
# Install dependencies
npm install
# Copy environment template and configure
cp .env.example .envCreate a .env file in the root directory:
FIREWORKS_API_KEY=your_fireworks_api_key
GITHUB_TOKEN=your_github_token # Optional, increases rate limitsGet your Fireworks AI API key from fireworks.ai.
npm start├── src/
│ ├── ai/ # AI integration
│ │ ├── fireworks.js # Fireworks AI client
│ │ └── prompts.js # AI prompt templates
│ ├── config.js # Configuration management
│ ├── features/ # Core analysis features
│ │ ├── apiDocsGenerator.js
│ │ ├── codeQualityReport.js
│ │ ├── dependencyHealth.js
│ │ ├── gitignoreGenerator.js
│ │ ├── readmeGenerator.js
│ │ └── securityCheck.js
│ ├── github/ # GitHub API integration
│ │ ├── client.js # Octokit client
│ │ └── repo.js # Repository data fetching
│ ├── index.js # Entry point
│ ├── ui/ # Terminal UI components
│ │ ├── banner.js
│ │ ├── menu.js
│ │ ├── repoInput.js
│ │ └── results.js
│ └── utils/ # Helper utilities
│ ├── chunker.js
│ ├── fileHelpers.js
│ └── logger.js
├── package.json
└── LICENSE
Contributions are welcome! Feel free to open issues and pull requests.
MIT License — see LICENSE for details.
Generated with ❤️ by GitHub Repository Analyzer