Find good first issues right from your CLI!
Requires Python 3.9 or higher.
$ pip install good-first-issues --upgrade
# Using uvx
$ uvx --from good-first-issues gfiThe CLI uses the alias gfi to run commands.
- π¦ Installation
- π Usage
- π’ Query all repos in an organization
- π¦ Query a single repo in an organization
- π¨βπ» Query all repos in a user profile
- π¦ Query a single repo in a user profile
- π Query all repos with topic
hacktoberfest - π Search for issues within a certain period
- βοΈ Limit output
- π View issues on browser
- π Show the CLI version
- π¨ Contributing
The CLI requires GitHub Personal Access Token to make requests to the GitHub API.
You can add a Description to your token, select "Public Repositories (read-only)" and selectΒ Generate token.
Provide token to CLI:
$ gfi configToken is stored locally on /home/<username>/.gfi/good-first-issues file.
Token in environment variable:
Store the token with the name GFITOKEN in your environment.
GitHub provides API to fetch user and organization data. Personal Access Token is required for authentication and data fetching.
$ gfi search "rust-lang"$ gfi search "facebook" --repo "jest"$ gfi search "yankeexe" --user--user flag not required here.
$ gfi search "yankeexe" --repo "good-first-issues"$ gfi search --hacktoberfest
$ gfi search -hf
$ gfi search -hf --period "30 days"
$ gfi search -hf --limit 10 --period "48 hours"By default, no period is set and users are shown whatever data is fetched from the GitHub API.
To filter good first issues within a certain period, use the following commands:
# Query all organization repos
$ gfi search "rust-lang" -p "30 hours"
# Query a specific repo in an organization
$ gfi search "rust-lang" --repo "rust" -p "30 mins"
# Query repos with the topic hacktoberfest
$ gfi search -hf -p "100 days"
# Query all user repos
$ gfi search "yankeexe" --user -p "600 hrs"
# Query a specific repo of a user
$ gfi search "yankeexe" --user --repo "good-first-issues" -p "600 days"# Example Usage:
--period 1 m,min,mins,minutes
--period 2 h,hr,hour,hours,hrs
--period 3 d,day,days
The output is limited to display 10 issues by default. Use --limit flag to set the number of issues for output or --all for no limits.
Limit the issues to 12
$ gfi search "facebook" --limit 12View all issues found.
$ gfi search "rust-lang" --allIt's hard to navigate through all the issues when you have the --all flag enabled, you can view the issues on your browser with ease using the --web flag.
$ gfi search "facebook" --all --web$ gfi versionFor guidance on setting up a development environment and how to make a contribution to good-first-issues, see the contributing guidelines.








