Back to browse
Guess the GitHub repo from a code snippet

Guess the GitHub repo from a code snippet

by grantz_graf·May 15, 2026·4 points·0 comments

AI Analysis

●●SolidCrowd Pleaser

GeoGuessr for codebases that tests if you recognize libraries by their syntax style.

Strengths
  • Pre-fetches snippets at build time to avoid runtime GitHub API rate limits.
  • Category filters let players focus on specific stacks like AI/ML or Frontend.
Weaknesses
  • Pool of only 56 repos limits replayability until the dataset expands significantly.
Category
Target Audience

Developers and open source contributors

Similar To

GeoGuessr · CodeWars

Post Description

You get a code snippet from a popular open-source repo and four choices. Pick the right project.

I built this as a weekend project on a whim. I have been playing lots of GeoGuessr and it occured to me that I could do something similar for code. There's a daily challenge, endless mode, and category filters (Frontend, AI/ML, Databases, etc.)

It uses Next.js on Vercel, snippets are pre-fetched from the GitHub API at build time across repos so there's no runtime API cost. Leaderboard is backed by Neon Postgres with GitHub OAuth.

Would love feedback. Especially suggestions for repos to add. The pool is only 56 right now and I want to expand it.

Thanks!

Similar Projects