Skip to content

sanurb/ghpm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License People Stars Forks Watches Last Updated report

A GitHub Project Manager 🧑‍💻⚙️

ghpm Demo
ghpm screenshot

📜 What is ghpm?

ghpm is a powerful utility that lets you orchestrate batch operations across all your GitHub projects:

  • Clone all your repositories or any other user's repos in one go.
  • Use it to push, pull, and conduct any other operation on all your projects simultaneously.

🌈 Inspiration

I have a lot of repos on my GitHub and maintaining them was becoming a pain, also this makes moving my work to a new machine really smooth.

⚙️ Requirements

Before you begin, ensure you have met the following requirements:

  • You have a working Go environment.
  • Cloning self repos requires authentication and uses the GitHub CLI (gh).

Install

To install ghpm, follow these steps:

go install github.com/sanurb/ghpm@latest

Using ghpm

ghpm

This will open up the self guided menu with a list of operations you can perform.

You can use option 3 to run any command in all your GitHub repos, very useful for push, pull and similar commands.

How it was built

ghpm was built using Go

Challenges faced

Figuring out the GitHub api and authentication was a challenge, I used gh to do some heavy lifting.

🎓 What I learned

  • Go best practices for command-line tools.
  • Utilizing Go modules for clean, efficient dependency management.
  • Leveraging interfaces and concurrency for scalable script design.

Hit the ⭐ button if you found this useful.

More Info

About

⚙ A GitHub Project Manager

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages