Skip to content

yankeexe/good-first-issues

Repository files navigation

Good First Issues

Good First Issues

Find good first issues right from your CLI!

Install Good First Issues

Requires Python 3.6.1 or higher.

$ pip3 install good-first-issues --upgrade

The CLI uses the alias gfi to run commands.

Contents

Create GitHub Personal Access Token

The CLI requires GitHub Personal Access Token to make requests to the GitHub API.

Get GitHub Personal Access Token

You don't have to select any scopes, add a Note for your token and select Generate token.

Provide token to CLI:

$ gfi config

Token is stored locally on /home/<username>/.gfi/good-first-issues file.

Token in envrionment variable:

Store the token with the name GFITOKEN in your environment.

Usage

GitHub provides API to fetch user and organization data. Personal Access Token is required for authentication and data fetching.

Search for issues

To look for issues, use the gfi search command.

Query all repos in an organization

$ gfi search "rust-lang"
Demo demo of timezone cli search

Query a single repo in an organization

$ gfi search "facebook" --repo "jest"
Demo demo of timezone cli search

Query all repos in a user profile

$ gfi search "yankeexe" --user
Demo demo of timezone cli search

Query a single repo in a user profile.

--user flag not required here.

$ gfi search "yankeexe" --repo "good-first-issues"
Demo demo of timezone cli search

Search for Hacktoberfest approved issues

Query all repos with topic hacktoberfest

$ gfi search --hacktoberfest

$ gfi search -hf
Demo demo of timezone cli search

Query all repos with topic 'hacktoberfest' in an organization or in a user profile

Query all repos with topic 'hacktoberfest' in an organization.

$ gfi search "facebook" --hacktoberfest
Demo demo of timezone cli search

Query all repos with topic 'hacktoberfest' in a user profile. --user flag not required here.

$ gfi search "yankeexe" --hacktoberfest
Demo demo of timezone cli search

Changing output limits

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 12
Demo demo of timezone cli search

View all issues found.

$ gfi search "rust-lang" --all

Viewing issues on browser

It'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
Demo demo of timezone cli search

Contributing

For guidance on setting up a development environment and how to make a contribution to good-first-issues, see the contributing guidelines.