A GitHub Org Data Analyzer is a tool designed to analyze GitHub activity data. It provides insights into various metrics such as total active days, longest gaps, busiest days, longest streaks, month-wise activity, time-wise activity, developer activity, and repository activity based on logs of GitHub activity.
- Total Active Days: Calculate the total number of active days.
- Longest Gap: Identify the longest gap between activities.
- Busiest Day: Find the day with the highest number of activities.
- Longest Streak: Determine the longest streak of consecutive active days.
- Month-wise Activity: Visualize activity on a monthly basis.
- Time-wise Activity: Visualize activity based on the time of day.
- Developer Activity: Analyze the activity of individual developers.
- Repository Activity: Analyze the activity of repositories.
- Get logs of your organization's using webhook created on discord through github
- use extension like Discrub to download the logs in csv format
- Setup virtual environment
python -m venv venv source venv/bin/activate
-
Clone the repository:
git clone https://github.com/dk-a-dev/github-org-wrapped-gen.git cd github-org-wrapped-gen
-
Install the required packages:
pip install -r requirements.txt
Warning: clean the data before uploading it to the application
- Run the Streamlit application:
streamlit run core/ui.py
- Open your web browser and navigate to the URL provided by Streamlit.
- Upload a CSV file containing GitHub activity data.
- The application will display various metrics and visualizations based on the uploaded data.
core/main.py
: Contains the core functions for data analysis.core/ui.py
: Contains the Streamlit UI code.config.yaml
: Configuration file for authentication.README.md
: Project documentation.
https://gdsc-wrapped-2024.streamlit.app/ (Required organization logs to be uploaded, with data access perms)
Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.
This project is licensed under the MIT License. See the LICENSE file for more information.
For any questions or feedback, please contact Dev Keshwani.