Skip to main content

gh-social

CI PyPI version License: MIT

A small guide to socializing on GitHub without doing all the work yourself.


Chapter 1: The Problem

Ever feel lonely on GitHub?

You know the drill. Someone follows you, and you follow them back. Thanks for the follow! Here's one back. You do this over and over, day after day.

But then one day, you start to wonder.

I have 500 followers, but why am I following 2,000 people?

And the worst part? Out of those 2,000 people, only 347 follow you back. The rest? Gone. They took your follow and vanished. No goodbye message. No explanation. Nothing.

You start asking yourself: Am I not interesting enough? Or were they just here for the free follow?

Don't worry. You're not alone. And now, there's something you can do about it.


Chapter 2: Meet gh-social

gh-social was born out of exactly that frustration.

Imagine having a small tool that does three simple things for you.

First, it helps you follow back everyone who follows you. No more opening profiles one by one, clicking follow, and closing tabs. Let the tool handle it.

Second, it helps you stop following people who never followed you back. The ghosts. The ones who only show up when they want something. It's time to say goodbye.

Third, if you're into a repository and want to know who else stars it, this tool can help you follow them. You might just find a community of people who share your interests.


Chapter 3: Getting Started

Before we begin, there are a few things you'll need.

What You Need

  • Python version 3.10 or newer. Not sure? Type python --version in your terminal.
  • GitHub CLI (gh). It's like a command-line version of GitHub. Don't have it? Visit cli.github.com.
  • A minute or two of your time.

Installing

The easiest way:

pipx install gh-social

No pipx? pip works too:

pip install gh-social

Setting Up

gh-social borrows your identity from the GitHub CLI. So make sure you're logged in:

gh auth login

Done? You're ready.


Chapter 4: How to Use It

The Easy Way

Type this in your terminal:

gh-social

You'll see a menu. Pick a number, answer a few simple questions, and let gh-social do the rest.

No commands to memorize. No flags to remember. Everything is right there in a friendly menu.

The Quick Way

If you already know what you want, you can type commands directly:

gh-social follow somename
gh-social unfollow
gh-social stargazers somename/repo

But don't worry — everything can also be done from the interactive menu.


Chapter 5: Good to Know

Preview Before You Commit

gh-social has a feature called dry-run. It's like a preview mode where you can see what the tool is going to do before it actually does it.

Think of it like writing a text to your ex. There's a "send" button, but there's also a "preview" option. You can read what you wrote before you hit send.

Same idea here. You can see the list of people who will be followed or unfollowed before anything happens. Happy with it? Then go ahead.

Don't want dry-run? You don't have to. It's on by default — just turn it off when you're ready.

Set a Limit

You don't have to process everyone at once. Say you only want to follow back 50 people for now:

gh-social follow somename --limit 50

Like ordering food. Start with 50. Want more? Order again.

There Are Bots Too

Turns out, not every account on GitHub belongs to a human. Some are bots. gh-social can detect them and remove them from your lists. So you don't have to check each one manually.


Chapter 6: Wrapping Up

GitHub should be fun. You meet new people, discover cool projects, and build things together.

But sometimes, the social side gets tiring. Especially when you feel like you're the only one putting in the effort.

gh-social is here to help with that. Not to replace human connection, but to handle the boring technical stuff — so you can focus on what actually matters: building something cool.

Happy socializing.


"I followed 50 people using gh-social. 48 followed back. The other 2? Maybe they're asleep. Or maybe that's just how it is."

gh-social v1.2.4 — MIT License

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gh_social-1.2.5.tar.gz (18.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gh_social-1.2.5-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

File details

Details for the file gh_social-1.2.5.tar.gz.

File metadata

  • Download URL: gh_social-1.2.5.tar.gz
  • Upload date:
  • Size: 18.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for gh_social-1.2.5.tar.gz
Algorithm Hash digest
SHA256 7b91c0e9dff6db223f0185ec0ac737fee80818829a421659d4bf3fa1e4b23240
MD5 bd8aedc1c3667f8305683b6d60601c3b
BLAKE2b-256 b16a71f4f08f70045f1b9e3ba223ad3a666c4159030c0e71177afaba46ce6e67

See more details on using hashes here.

File details

Details for the file gh_social-1.2.5-py3-none-any.whl.

File metadata

  • Download URL: gh_social-1.2.5-py3-none-any.whl
  • Upload date:
  • Size: 16.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for gh_social-1.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 6e2c1edc75aa3ba669a4f8c60d805051919273035f4fbe2645e03dba6e4dfc11
MD5 429305d0eada00b7c17f71f054ee8de5
BLAKE2b-256 9e22048ca7df6e5788f327097e1ad77371bafc81da0525be451f4bbff9d6e03a

See more details on using hashes here.

Release history Release notifications | RSS feed

1.2.7

2 files

This release

1.2.5 This release

2 files

1.2.4

2 files

1.2.3

2 files

1.2.2

2 files

1.2.1

2 files

1.2.0

2 files

1.1.9

2 files

1.1.8

2 files

1.1.7

2 files

1.1.6

2 files

1.1.5

2 files

1.1.4

2 files

1.1.3

2 files

1.1.2

2 files

1.1.1

2 files

1.1.0

2 files

1.0.4

2 files

1.0.3

2 files

1.0.2

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page