GitGrok is a powerful web application that converts entire Git repositories into prompt-friendly text digests optimized for Large Language Models (LLMs). Whether you're feeding codebases to AI assistants, creating documentation, or analyzing code structure, GitGrok makes it effortless.
- 🔥 Lightning Fast: Process repositories in seconds with optimized parsing
- 🔒 Privacy First: Zero data retention, no accounts required, your code stays private
- 🔐 Private Repository Support: Access private repositories with GitHub Personal Access Token
- 🤖 AI-Optimized: Smart filtering and formatting designed for LLM consumption
- 📄 Multi-Format Output: Export as Markdown, JSON, or plain text
- 🌐 Universal Support: Works with GitHub, GitLab, Bitbucket, and any public Git repository
- ⚙️ Advanced Options: Configurable file filtering, size limits, and smart exclusions
- 🎨 Beautiful Interface: Modern, responsive design with dark/light mode support
- Node.js 18.0 or later
- npm, yarn, pnpm, or bun
-
Clone the repository
git clone https://github.com/yourusername/gitgrok.git cd gitgrok -
Install dependencies
npm install # or yarn install # or pnpm install # or bun install
-
Run the development server
npm run dev # or yarn dev # or pnpm dev # or bun dev
-
Open your browser
Navigate to http://localhost:3000 to see the application.
Create a .env.local file in the root directory:
# Add any required environment variables here
# Currently, GitGrok works without additional configuration- Enter Repository URL: Paste any public Git repository URL (GitHub, GitLab, Bitbucket)
- Private Repository: Check the "Private Repository" option if accessing a private repository
- GitHub Token: If private repository is selected, provide your GitHub Personal Access Token
- Configure Options: Use quick toggles or advanced options to customize processing
- Generate Digest: Click "Generate Digest" and wait for processing
- View Results: Results appear in a scrollable modal with tabs for Preview, Statistics, and Raw Output
- Export: Copy to clipboard or download as a file
To access private repositories:
- Check the "Private Repository" option
- Provide a GitHub Personal Access Token (PAT) with appropriate permissions
- The token should have at least
reposcope for private repositories - Learn how to create a PAT
https://github.com/owner/repositoryhttps://gitlab.com/owner/repositoryhttps://bitbucket.org/owner/repository
- Markdown: Best for LLMs and documentation (default)
- JSON: Structured data with metadata
- Plain Text: Simple concatenated files
gitgrok/
├── app/ # Next.js app directory
│ ├── api/ # API routes
│ │ └── process-repo/ # Repository processing endpoint
│ ├── components/ # React components
│ │ ├── advanced-options.tsx
│ │ ├── feature-grid.tsx
│ │ ├── icons.tsx
│ │ ├── repository-input.tsx
│ │ └── result-display.tsx
│ ├── globals.css # Global styles
│ ├── layout.tsx # Root layout
│ └── page.tsx # Home page
├── components/ # Shared UI components
│ └── ui/ # shadcn/ui components
├── lib/ # Utility functions
├── public/ # Static assets
└── README.md
- Next.js 14 - React framework with App Router
- TypeScript - Type-safe JavaScript
- Tailwind CSS - Utility-first CSS framework
- shadcn/ui - Beautiful UI components
- Lucide React - Icon library
- next-themes - Theme management
We love contributions! GitGrok is an open source project and we welcome contributions of all kinds.
- Fork the repository
- Create a feature branch
git checkout -b feature/amazing-feature
- Make your changes
- Commit your changes
git commit -m 'Add some amazing feature' - Push to the branch
git push origin feature/amazing-feature
- Open a Pull Request
- Code Style: We use ESLint and Prettier for code formatting
- Commits: Use conventional commit messages
- Testing: Add tests for new features
- Documentation: Update documentation for significant changes
- 🐛 Bug fixes
- ✨ New features
- 📚 Documentation improvements
- 🎨 UI/UX enhancements
- 🔧 Performance optimizations
- 🌐 Internationalization
- 🧪 Testing improvements
This project is licensed under the MIT License - see the LICENSE file for details.
- Next.js team for the amazing framework
- Vercel for hosting and deployment
- shadcn for the beautiful UI components
- All contributors who help make GitGrok better
- 📧 Email: support@bugshoot.com
- 🐛 Issues: GitHub Issues
- 💬 Discussions: GitHub Discussions
- Private repository support with authentication
- CLI tool for command-line usage
- Browser extension
- API for programmatic access
- Batch processing for multiple repositories
- Custom filtering rules
- Integration with popular AI platforms
⭐ Star us on GitHub if you find GitGrok useful!