Automated GitHub profile review.
If you want to only use hen as a command line tool, install it using pipx:
pipx install 'git+https://github.com/juniorguru/hen.git'
If you later want to install updates:
pipx upgrade jg.hen
To check a GitHub profile and print JSON with results, run the following:
hen https://github.com/PavlaBerankova
The result can be redirected to a file, which you can further process as you wish.
hen https://github.com/PavlaBerankova > report.json
Installation:
- You'll need uv installed.
- Clone this repository:
git clone [email protected]:juniorguru/hen.git - Go to the project directory:
cd hen - Install the project:
uv sync
Running locally:
- Set the
GITHUB_API_KEYenvironment variable to your GitHub API token if you want higher GitHub API rate limits. Using direnv might help setting environment variables automatically in your shell when you navigate to the project directory. - Run
uv run hen --helpto start the program.
Useful commands:
- To test, run
uv run pytest. - To format code, run
uv run ruff format. - To organize imports and fix other issues, run
uv run ruff check --fix.
Using -r records data from GitHub to the .data directory.
Such data is useful if you want to debug your rules or test them against real world fixtures.
Why Hen? Because hens are mothers, they lovingly raise chicks. This tool lovingly raises well-prepared juniors.
AGPL-3.0-only, copyright (c) 2024 Jan Javorek, and contributors.