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.7 — MIT License

Metadata

Release files for gh-social 1.2.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gh-social 1.2.7
File Size Uploaded
gh_social-1.2.7.tar.gz 18.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gh-social 1.2.7
File Interpreter ABI Platform
gh_social-1.2.7-py3-none-any.whl Python 3 none any Details

Total release size: 34.7 kB

Release files / gh_social-1.2.7.tar.gz

Download URL gh_social-1.2.7.tar.gz
Size 18.3 kB
Tags Source
SHA-256 checksum
How to use checksums
3b8a5cd7836a3fb801faed605e97d6027a80695e531235d8dc2e4cefc8eec27d
BLAKE2b-256 checksum
How to use checksums
9d52f47d4f3ca5c28fd6a50f5b7dbc3e4b0558d83025dab30c6a65a458154493
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / gh_social-1.2.7-py3-none-any.whl

Download URL gh_social-1.2.7-py3-none-any.whl
Size 16.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ed69a42f3d0ffa6ca0f59d814ed9c8d071fbab2647124327f8cdf94664e659a5
BLAKE2b-256 checksum
How to use checksums
44134ac149f28a539b1400b65438c3fa7c002b2c6788dae874419882abc0dce4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

1.2.7 This release

2 release files

1.2.5

2 release files

1.2.4

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.9

2 release files

1.1.8

2 release files

1.1.7

2 release files

1.1.6

2 release files

1.1.5

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release 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