github-org-analyzer
July 19, 2023 ยท View on GitHub
A GitHub organization analyzer written in Fortran, utilizing the http-client package.
This Fortran package provides procedures to analyze GitHub organizations and retrieve valuable information about their repositories. By leveraging the power of the http-client package, this analyzer fetches data from the GitHub API to generate insightful reports.
Features
The github-org-analyzer package offers the following procedures:
analyze_github_organization: Provides detailed information about all repositories within the organization.get_top_active_repositories: Retrieves information about the top active repositories within the organization.get_top_starred_repositories: Retrieves information about the top starred repositories within the organization.get_most_used_repositories: Retrieves information about the most used repositories within the organization.get_contributor_from_repositories: Retrieves information about the contributors of the organization's repositories.
Prerequisites
To use the github-org-analyzer package, ensure you have the following dependencies installed:
- Fortran compiler
- On Ubuntu, you need to install the curl development headers. Use the following command:
sudo apt install -y libcurl4-openssl-dev
Installation
-
Clone the repository:
git clone https://github.com/your-username/github-org-analyzer.git -
Compile the package using your fpm:
cd github-org-analyzer fpm build fpm run
Usage
To use the procedures provided by github-org-analyzer, follow these steps:
-
Import the package into your Fortran project:
use github_org_analyzer -
Call the desired procedures to retrieve information about GitHub organizations and their repositories.
! Analyze GitHub organization call analyze_github_organization("your-github-org") ! Get information about top active repositories call get_top_active_repositories("your-github-org") ! Get information about top starred repositories call get_top_starred_repositories("your-github-org") ! Get information about most used repositories call get_most_used_repositories("your-github-org") ! Get information about contributors from repositories call get_contributor_from_repositories("your-github-org", "org-repository")
Contributing
Contributions are welcome! If you want to contribute to github-org-analyzer, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them.
- Push your changes to your forked repository.
- Open a pull request, describing your changes and their benefits.
Happy analyzing!