โ† All Blogs
ยท2 min readยท

Tracking My Haters With Githate

#typescript#cli#open-source

GitHate CLI ๐Ÿ•ต๏ธโ€โ™‚๏ธ

Have you ever wondered why your follower count dropped? Did someone unfollow you? I take that personally.

So I built Githate, a CLI tool to track your "haters" (unfollowers) and new fans on GitHub.

Features

  • ๐Ÿ•ต๏ธ Track Unfollowers: Instantly see who stopped following you.
  • ๐Ÿ“ˆ Track New Followers: See who started following you.
  • ๐Ÿ‘ฅ Manage Relationships: List followers, following, and follow/unfollow users directly from the terminal.
  • ๐Ÿ” Secure: Your Personal Access Token is stored locally on your machine.
  • ๐Ÿ’… Beautiful UI: Built with @clack/prompts and picocolors for a clean, modern terminal experience.

Installation

You can install githate globally using npm:

npm install -g githate

How It Works

  1. Generate a generic GitHub Token with read:user and user:follow scopes.
  2. Login with githate login.
  3. Run the check with githate check (or just githate).

The tool compares your current follower list with a locally cached version from the previous run to identify changes. It's simple, fast, and effective.

Why I Built This

I noticed my follower count fluctuating and wanted to know who exactly was leaving. existing tools were either paid, full of ads, or required giving away too many permissions. So I built a simple CLI wrapper around the GitHub API to do it myself.

Check out the code on GitHub.