Skip to content

AnswerGit is a platform that allows you to analyze Git repositories and ask AI questions about the code. It uses AI to provide detailed explanations and summaries of Git commands, workflows, and code structure, making it easier to understand and interact with code repositories.

Notifications You must be signed in to change notification settings

TharaneshA/answergit

Repository files navigation

AnswerGit

AnswerGit 🤖

Next.js React TypeScript TailwindCSS License

🚀 AI-Powered GitHub Repository Explorer | Understand codebases instantly with AI-driven insights

FeaturesInstallationUsageConfiguration

🌟 Features

  • 🤖 AI-Powered Analysis: Leverages Google's Gemini AI to provide intelligent insights about repositories
  • 📁 Smart File Explorer: Navigate through repository files with ease
  • 💬 Interactive Chat: Ask questions about the codebase and get detailed responses
  • 🎨 Modern UI: Beautiful dark-mode interface built with TailwindCSS
  • 🔄 Real-time Updates: Instant responses and updates as you explore
  • 📱 Responsive Design: Works seamlessly on desktop and mobile devices

🎬 Watch AnswerGit Demo

answergit-demo.mp4

🚀 Installation

  1. Clone the repository
git clone https://github.com/TharaneshA/answergit.git
cd answergit
  1. Install dependencies
pnpm install
# or
npm install
# or
yarn install

# Alternatively, use Docker:
docker build -t answergit .
  1. Set up environment variables

Create a .env.local file in the root directory with the following variables:

GEMINI_API_KEY=your_gemini_api_key
GITHUB_TOKEN=your_github_token

🔧 Configuration

The project uses several key dependencies:

  • Next.js for the framework
  • React for the UI
  • TailwindCSS for styling
  • Google Generative AI for AI features
  • GitHub API for repository interaction

Customize the application by modifying:

  • tailwind.config.ts for styling
  • components.json for UI component settings
  • app/globals.css for global styles

🚀 Usage

  1. Start the development server
pnpm dev
# or
npm run dev
# or
yarn dev

# Alternatively, run with Docker:
docker run -p 3000:3000 answergit
  1. Open your browser Navigate to http://localhost:3000

image

  1. Enter a GitHub repository Enter the username and repository name to start exploring

image

💡 Key Features Usage

AI Assistant

Use the AI assistant to:

  • Analyze code structure
  • Understand dependencies
  • Get code explanations
  • Generate test suggestions

image

File Explorer

  • Navigate through repository files
  • View file contents
  • Get AI-powered insights for specific files

image

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.

🙏 Acknowledgments


Made with ❤️

About

AnswerGit is a platform that allows you to analyze Git repositories and ask AI questions about the code. It uses AI to provide detailed explanations and summaries of Git commands, workflows, and code structure, making it easier to understand and interact with code repositories.

Topics

Resources

Stars

Watchers

Forks