BestFork is a Python-based CLI tool designed to identify and prioritize the best developers who have forked a specific GitHub repository. By analyzing the "Amount of Change" and the last update time, BestFork sorts potential contributors who could be valuable additions to the original project's community.
- Retrieves a list of forks for a given GitHub repository.
- Calculates an "Amount of Change" score for each fork based on commits, lines added, and lines removed.
- Generates a CSV file listing fork owners, their emails, and other relevant details, sorted by their potential value as contributors.
pip install requests click subprocess32
To use GitForkFinder, run the following command:
Copy code
python get_forks.py --repo [GitHub Repo URL] --token [Your GitHub Personal Access Token]
--repo: The GitHub repository URL you want to analyze. This will be prompted if not provided.
--token: Your GitHub Personal Access Token for API access. This will be prompted if not provided.
--output: (Optional) The name of the output CSV file. The default is forks.csv.
Example:
python get_forks.py --repo https://github.com/example/repo.git --token abc123
One of the main challenges in open-source development is identifying developers who can contribute meaningfully to a project. BestFork helps maintainers:
- Identify Top Contributors: Sort developers based on their activity and the magnitude of their contributions to their forks.
- Engage Potential Contributors: Use the provided contact information to reach out to potential contributors.
- Code Review: Offer to review significant changes from potential contributors, opening the door for future collaboration.
We welcome contributions to BestFork. If you're a developer interested in contributing to the original project that this tool analyzes, please reach out—we're actively looking for talented developers to enrich our community.