🌟 Welcome to the GitHub Analytics Dashboard! This project provides detailed analytics about GitHub user repositories and activities using advanced NLP techniques and predictive analytics with MindsDB.
GitHub.Analytics.Dashboard.-.Brave.2024-07-15.11-33-43.mp4
- User Overview: Displays detailed information about a GitHub user, including their repositories, followers, and following counts.
- Repository Insights: Provides metrics such as stars, forks, and watchers for a specific repository.
- Commit Analysis: Analyzes commit messages for keyword extraction and sentiment analysis.
- Issue Trends: Analyzes issues reported in a repository, including open and closed issues, labels, and comments.
- Tech Stack Identification: Identifies the technologies demanded in issues and comments.
- Issue Recommendations: Provides recommendations for resolving issues using NLP techniques.
- Predictive Analytics: Predicts issue priorities using MindsDB.
- Python 3.7 or higher
- Required Python libraries:
streamlit
requests
pandas
transformers
mindsdb_sdk
sqlite3
torch
-
Clone the repository:
git clone https://github.com/Adity20/github-analytics.git cd github-analytics
-
Create a virtual environment and activate it:
python -m venv venv source venv/bin/activate # On Windows, use `venv\Scripts\activate`
-
Install the required libraries:
pip install -r requirements.txt
-
Set up MindsDB:
- Sign up for a MindsDB account and obtain your API key.
- Replace
'your_mindsdb_api_key'
in the script with your actual MindsDB API key.
-
Run the Streamlit app:
streamlit run main.py
-
Enter the GitHub username and repository name in the sidebar to view analytics and insights.
github-analytics-dashboard/
├── main.py # Main script for the Streamlit app
├── requirements.txt # Required Python libraries
├── readme.md # Project documentation
└── db.db # SQLite database for storing issues (generated during runtime)