Who Unfollowed Me – GitHub CLI 😢

msaaddev

Saad Irfan

Posted on August 30, 2020

Who Unfollowed Me – GitHub CLI 😢

There is a saying in the developer community that getting followers on GitHub is super hard. There are in fact memes about it.

GitHub Meme

I am a Computer Science student who mostly works with JavaScript and builds open-source tools. These tools are mostly Node.js based Command-Line Interfaces (CLIs) to automate stuff. You can check them out on my GitHub.

Two months back, I tweeted that I'm 14 people short of reaching 100 followers on my GitHub. This tweet got viral and more people followed me in two days than in two years.

Alt Text

😠 Who Unfollowed Me

Yesterday, I launched a CLI that lets you know who recently unfollowed you on GitHub. There is a small story behind why I build this CLI.

Actually, it happened to me more than twice that when I was about to reach 200, someone unfollowed me. GitHub does not provide any feature to let you know who did that. So I blended GitHub REST API and a little bit of creativity and voila! who-unfollowed-me came to life.

👨🏻‍💻 How It Works

Copy-paste the following command in your Terminal. If you're a Windows user, first run your Command Prompt or Terminal as Administrator. If you're using macOS, make sure to add sudo before the following command.

npm i -g who-unfollowed-me
Enter fullscreen mode Exit fullscreen mode

Now run the CLI by writing the following command on your terminal.

unfollow
Enter fullscreen mode Exit fullscreen mode

When you run the CLI for the first time, it will ask for your GitHub username. It will save it for later use.

first run

After this, whenever you run the CLI by writing unfollow in your terminal, the CLI will show you who recently unfollowed you.

unfollow

If no one has unfollowed you, it will also let you know this.

no one unfollowed

If you are a Windows user, make sure that whenever you run the CLI, first run your Terminal or Command Prompt as Administrator.

🙌 Wrap Up

Whenever you lose some followers on GitHub, you can use this CLI to know who unfollowed you. It would not be wrong to say that getting followers on GitHub is a different kind of happiness and at the same time losing them is an entirely different kind of pain.

The CLI is also on Product Hunt. Kindly, show some love and check it out.

Product Hunt

Cheerios 🤞

💖 💪 🙅 🚩
msaaddev
Saad Irfan

Posted on August 30, 2020

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

Who Unfollowed Me – GitHub CLI 😢
javascript Who Unfollowed Me – GitHub CLI 😢

August 30, 2020