npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

github-issue-cli

v0.0.11

Published

CLI application to search for your good first issue

Downloads

4

Readme

ghi - github-issue-cli

github-issue-cli(ghi) is CLI application to search for your good first issue.
This tool looks for issues that no one is working on.

Note: This tool is under development so if you use it, please be careful.

Getting started

At first, please install github-issue-cli globally

npm i -g github-issue-cli

Next, You will need to run a login subcommand to use ghi. (After installing github-issue-cli, you will be able to use ghi command.)

ghi login

The token you entered will be stored in ~/.ghirc.

Basic usage

You can list issues with good first issue label by using following command:

ghi list [org]/[repo]

For example, the following command will list good first issue in microsoft/TypeScript that no one is working on.

ghi list microsoft/TypeScript

Advanced topics

Saved queries

If you want to search for issues with label other than good first issue, you can use saved queries. Currently, in order to add or change a saved query, edit the ~/.ghirc directly.

.ghirc is a JSON file. When you execute the login command, it will be automatically generated with the following keys.

{
  "token": "xxx",
  "login": "yyy"
}

To register a custom query, add a queries field like this:

 {
   "token": "xxx",
   "login": "yyy"
+  "queries": {
+    "*/*": {
+      "for all repository": "label:Bug"
+    },
+    "Leko/*": {
+      "for specified owner/org repositories": "no:assignee -label:bug"
+    },
+    "microsoft/TypeScript": {
+      "for specified repository": "label:\"good first issue\" label:\"help wanted\" -label:\"In Discussion\" label:\"Experience Enhancement\""
+    }
+  }
 }

Specify the repository name directly under the queries field. You can also specify wildcards using an asterisk (*).
When executing the list command, if there are multiple queries that match the repository specified in its argument, select which query to execute.

Contribution

  1. Fork this repository
  2. Write your code
  3. Run tests
  4. Create pull request to master branch

Development

git clone [email protected]:Leko/github-issue-cli.git
cd github-issue-cli
npm i

npx ts-node -T src/app.ts

License

This package under MIT license.