Back to browse
Codeglf – a local-first Python golf site

Codeglf – a local-first Python golf site

by ndr·Mar 17, 2026·2 points·0 comments

AI Analysis

●●●BangerBig BrainRabbit Hole

Pyodide runs code locally—zero server costs, open to cheating but fun.

Strengths
  • WebAssembly execution means no server infrastructure or compute costs.
  • InstantDB syncs leaderboards in real-time across all players.
  • Weekly solution reveals teach obscure Python tricks and techniques.
Weaknesses
  • Author admits wide open to cheating with no verification system.
  • Small community so far, needs critical mass for competition.
Target Audience

Python developers, code golf enthusiasts

Similar To

Code Golf StackExchange · Codewars · Exercism

Post Description

Each week there's a new puzzle, solve it in the fewest bytes possible.

Code runs locally via Pyodide/WebAssembly so there's no server executing submissions, wide open to cheating, but the community has been friendly so far.

State and leaderboards sync in real-time via InstantDB.

Leaderboard ranks by shortest solution, then earliest submission. We reveal top solutions at the end of each week which is a good way to discover obscure Python tricks.

Built this for a small group of friends but curious what HN thinks.

Similar Projects

Developer Tools●●Solid

PolyMCP – Run MCP Python Tools in WASM via Pyodide

PolyMCP turns Python functions into a single Pyodide WASM bundle so agents can call tools directly in the browser or at the edge — neat and practical. It keeps MCP niceties like input validation, error handling, and orchestration inside the bundle and ships runnable demo HTML to prove the flow. Be realistic about Pyodide trade-offs: bundle size and no native-extension support make this best for lightweight, interactive tools and demos rather than heavy backend workloads.

WizardryNiche Gem
justvugg
203mo ago