Back to projects

GitHub Mutuals

Search a GitHub username to find mutual followers and accounts that do not follow back.

GitHub Mutuals project screenshot

What it does

The UI is built with React and TypeScript. It calls GitHub's REST API, compares the returned lists locally and offers CSV or clipboard exports. Firebase handles optional OAuth and search analytics.

Decisions

Fetch the full lists before comparing
The API service follows GitHub pagination in batches of 100 for both followers and following.
Use a Set for matching
Follower logins go into a Set, and a single pass through following separates the two result groups.
Keep exports client-side
CSV and clipboard text come directly from the displayed result data; no export endpoint is required.
Make OAuth optional
Public searches work without a login; Firebase GitHub sign-in can provide a token for authenticated requests.

Full notes

More on the implementation and challenges.

Next project

Weatherly

An Open-Meteo weather dashboard with forecasts, city search and favorites.

Working on something similar? Get in touch.