Show HN: Guess the GitHub repo from a code snippet

grantz_graf1 pts0 comments

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!

github from code repo snippet right

Related Articles