code-golf/code-golf
A game designed to let you show off your code-fu by solving problems in the least number of characters. observed · 2026-08-28
Health v2 · maintenance only
77/100
- Activity 99
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3622
- days_rel: n/a
- days_push: 7
- n_releases_24m: 0
Adoption not part of the score
1307 stars · 134 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Code Golf is the open-source Go application behind code.golf, a website where players solve programming puzzles ('holes') in the fewest characters across dozens of languages. It runs solutions in sandboxed Docker containers, tracks leaderboards, and can be self-hosted locally.
Use cases
- practice writing the shortest possible code for programming puzzles
- compete on leaderboards solving algorithmic challenges in many languages
- self-host a code golfing site for a community or classroom
- try out esoteric and mainstream programming languages on small problems
- learn algorithms by implementing Fizz Buzz, Fibonacci, Game of Life and similar holes
- run and validate user-submitted code in isolated Docker sandboxes
When to choose
- you want to play or host code golf challenges with leaderboards across 60+ languages
- you need a ready-made sandboxed multi-language code execution platform
- you want an open-source, MIT-licensed puzzle site you can contribute to or customize
When to avoid
- you need a general-purpose online judge for large test suites or production grading
- you want a full IDE or long-form programming environment rather than character-count puzzles
- you cannot run Docker locally and don't want to use the hosted site
Facets
application · maturity active
game developer-tools http-server cli developer-tools gaming-tools education programming-languages go self-hosted windows code-golf competitive-programming puzzle-game leaderboards multi-language-sandbox docker-compose typescript-frontend algorithms docker web-server linux macos
3 sources
- readme: https://github.com/code-golf/code-golf · fetched 2026-08-28 · 43c883e8b2fc
- homepage: https://code.golf · fetched 2026-08-29 · 5e3e4fa2c243
- site_page: https://code.golf/about · fetched 2026-08-29 · 6a576872b572
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| code-golf/code-golf | main | 77 |
For agents
markdown · JSON · MCP: product_card(name="code-golf/code-golf")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem