Home

Awesome

<div align = "center"> <h1><a href="https://2kabhishek.github.io/ghpm">ghpm</a></h1> <a href="https://github.com/2KAbhishek/ghpm/blob/main/LICENSE"> <img alt="License" src="https://img.shields.io/github/license/2kabhishek/ghpm?style=flat&color=eee&label="> </a> <a href="https://github.com/2KAbhishek/ghpm/graphs/contributors"> <img alt="People" src="https://img.shields.io/github/contributors/2kabhishek/ghpm?style=flat&color=ffaaf2&label=People"> </a> <a href="https://github.com/2KAbhishek/ghpm/stargazers"> <img alt="Stars" src="https://img.shields.io/github/stars/2kabhishek/ghpm?style=flat&color=98c379&label=Stars"></a> <a href="https://github.com/2KAbhishek/ghpm/network/members"> <img alt="Forks" src="https://img.shields.io/github/forks/2kabhishek/ghpm?style=flat&color=66a8e0&label=Forks"> </a> <a href="https://github.com/2KAbhishek/ghpm/watchers"> <img alt="Watches" src="https://img.shields.io/github/watchers/2kabhishek/ghpm?style=flat&color=f5d08b&label=Watches"> </a> <a href="https://github.com/2KAbhishek/ghpm/pulse"> <img alt="Last Updated" src="https://img.shields.io/github/last-commit/2kabhishek/ghpm?style=flat&color=e06c75&label="> </a> <h3>The GitHub Project Manager 🧑‍💻⚙️</h3> <figure> <img src= "images/screenshot.png" alt="ghpm Demo" style="width:100%"> <br/> <figcaption>ghpm screenshot</figcaption> </figure> </div>

What is this

ghpm is a utility that allows you to manage all your GitHub projects by allowing batch operations.

You can clone all of your or any other user's repos at once.

You can use it to push, pull and do any other operation on all your projects at once.

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.

Prerequisites

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

Getting ghpm

To install ghpm, follow these steps:

git clone https://github.com/2kabhishek/ghpm.git
cd ghpm
# Setup symlink make sure target directory is added to PATH
ln -sfnv $PWD/ghpm.sh ~/.local//bin/ghpm

Using ghpm

After symlinking, you can run ghpm in your GitHub repos parent directory, or you can pass it in as an argument

ghpm
# or
ghpm ~/Projects/GitHub

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 bash

Challenges faced

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

What I learned

Hit the ⭐ button if you found this useful.

More Info

<div align="center">

<a href="https://github.com/2KAbhishek/ghpm">Source</a> | <a href="https://2kabhishek.github.io/ghpm">Website</a>

</div>