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-interact-cli

v3.3.4

Published

A CLI which lets you perform repetitive github tasks

Downloads

32

Readme

github-interact-cli

github-interact-cli lets you use GitHub right inside your terminal.

👉 FEATURES

  • 📦 Create a new repo
  • ♻️ Delete your existing repo
  • 🚀 Get all public repos of any GitHub User
  • ⚠️ Open issue in any repo.
  • ✉️ Get public email of any GitHub user
  • ⭐️ Get stargazers of any GitHub repo

🎩 INSTALLATION

Install the CLI globally. If you are windows user, run your command prompt/terminal as administrator. If you are macOS user, add sudo before the following command.

npm i -g github-interact-cli

🏗 SETUP

Type the following in the terminal to run the CLI.

github

CLI will start running. It will ask you to add a Personal Access Token & your GitHub Username. If you don't know what Personal Access Token is & how to create one, check this awesome guide by GitHub.

!Note: Be sure to give the token repo, admin:repo_hook & delete repo scopes .

Once you are done, exit the CLI so that configurations can be saved & used again.

! Note: This is one time thing. You will not have to do it again every time you run the CLI.

👌 Shortcuts

You can now use shortcuts to interact with the CLI. Just type any of the following in the terminal & hit Enter

  • New Repo
github-new
  • Delete Repo
github-delete
  • Get All Public Repo
github-get
  • Open Issue
github-issue
  • Get Email
github-email
  • Get Stars
github-stars

📦 Create New Repo

Write the following in the terminal to run the CLI again.

github

You will get this menu. 🔥

Enter 1 to Create a GitHub Repo. Then answer the next questions.

Taa daa! The repo has been created. You can check it! 🥂

♻️ Delete your Existing Repo

Type the following in the terminal to run the CLI.

github

You will get this menu. 🔥

Enter 2 to Create a GitHub Repo. Then enter the name of the repo you want to delete.

Taa daa! The repo has been deleted. 🙌🏻

! Note: Be sure to give your personal access token delete repo scope. If you don't know how to edit your current token, follow these steps.

  • Open your GitHub account settings
  • Select Developer settings from the left sidebar
  • Click on Personal access tokens
  • You will see a list of personal access tokens. Select the token you created earlier for github-interact-cli.
  • Scroll down the scope list and select delete_repo
  • Then scroll at the bottom & select Update token

🚀 Get All Repos

Type the following in the terminal to run the CLI.

github

You will get this menu. 🔥

Enter 3 to get all GitHub Public Repos of the any GitHub user. Next enter the username of the GitHub user you want to see the repos of.

Press Enter. And there you have it, folks! 🔥

⚠️ Open Issue

Type the following in the terminal to run the CLI.

github

You will get this menu. 🔥

Enter 4 to Create a GitHub Issue. Then answer the next questions.

Click here to check the issue I just created in the screenshot.

✉️ Get Public Email

Type the following in the terminal to run the CLI.

github

You will get this menu. 🔥

Enter 5 to get public email of the GitHub user. Then enter the username of the GitHub user.

⭐️Get Stargazers

Type the following in the terminal to run the CLI.

github

You will get this menu. 🔥

Enter 6 to get total number of stargazers of any GitHub repos. Then answer the next questions.

🚀 FEATURE REQUEST

Use the Issues section if you want to request any feature or report an issue.

🙌🏻 PROPS

👨🏻‍💻 AUTHOR

🙋🏻‍♂️ Hola! I am Saad, an undergrad Computer Science student. I developed this CLI to automate the repetitive ridiculous amount of things we have to do in GitHub. You can follow me at

🔑 LICENSE

  • MIT