Skip to content

GDGAAU/GITHUB-ACTIVITY-TRACKER

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Activity Analyzer

A powerful web application that analyzes and visualizes GitHub repository activity for GDGAAU projects. Built with FastAPI and Chart.js.

🌟 Features

  • Real-time GitHub repository analytics
  • Multiple repository comparison
  • Interactive visualization dashboards
  • Commit trend analysis
  • Contributor statistics
  • Rate limit handling
  • Beautiful glass-morphism UI design

Preview

Project Preview

🚀 Live Demo

Click Here

🛠️ Tech Stack

  • Backend: FastAPI
  • Frontend: HTML, TailwindCSS, Chart.js
  • API: GitHub REST API
  • Deployment: Ready for Render, DigitalOcean, or Railway

📋 Prerequisites

  • Python 3.8+
  • GitHub Personal Access Token
  • Modern web browser

⚙️ Installation

  1. Clone the repository:
git clone https://github.com/GDGAAU/GITHUB-ACTIVITY-TRACKER
cd github-activity-analyzer
  1. Create and activate virtual environment:
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
  1. Install dependencies:
pip install -r requirements.txt
  1. Create a .env file in the root directory:
GITHUB_TOKEN=your_github_personal_access_token
DEBUG=True
PORT=8002
  1. Run the application:
uvicorn app.main:app --reload

Visit http://localhost:8002 in your browser.

🔒 Environment Variables

  • GITHUB_TOKEN: Your GitHub Personal Access Token
  • DEBUG: Enable/disable debug mode (True/False)
  • PORT: Application port (default: 8002)
  • HOST: Host address (default: 0.0.0.0)

📊 API Documentation

When debug mode is enabled, access the API documentation at:

  • Swagger UI: /docs
  • ReDoc: /redoc

🚀 Deployment

The project includes deployment configurations for:

  • Render (render.yaml)
  • DigitalOcean (do-app.yaml)
  • Railway (railway.json)

👨‍💻 Author

📄 License

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

🤝 Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

🙏 Acknowledgments

  • GDGAAU for the repository access
  • FastAPI community
  • Chart.js team

About

Github repository activity tracker for GDG Hackathon competition

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published