Openleetcode
Local LeetCode runner where tests live in the repo
Details
- External ID
- 49347178
- Source
- HN
- Company
- —
- Product
- Openleetcode
- Website domain
- github.com
- Launched
- Aug. 18, 2026
- Cohort
- —
- Upvotes
- 73
- Upvotes percentile
- 0.8985215053763441
- Tags
- —
- Fetched at
- Sept. 10, 2026, 5:32 a.m.
- Updated at
- Sept. 10, 2026, 5:32 a.m.
Description
You write a standard solution, just like on LeetCode, and run it through the CLI. It identifies the problem by ID or title, executes your code against local test cases, and shows the result.It currently supports around 1.4k problems and multiple languages, including Python, C++, Rust, Java, Go, TypeScript, Swift, and others.The project is still an MVP. System design, SQL, and concurrency problems are not supported yet, but support for more problem types is planned.Made in Haskell!
Enrichment
- Theme
- Claude integrations and coding agents
- Vertical
- Education
- Function
- Dev tools
- Audience
- Developer
- AI stance
- Not AI
- Project type
- Hobby / open-source project
- Normalized one-liner
- local leetcode test runner
- Manually corrected
- False
Could you build this?
Yes It is a CLI tool that parses local code solutions, compiles or executes them against pre-downloaded JSON test cases, and asserts matching outputs.
Discussion
19 comments analyzed.
Competitors mentioned: LeetCode, Piston (code execution backend), LLM coding assistants for problem generation
Concerns raised: Outsourcing coding to AI diminishes practical skills, Only covers ~1,400 of ~4,000 LeetCode problems, Test cases may not stay in sync with original platform changes, Some solutions pass local tests but fail on LeetCode, Lack of metadata storage beyond ID and title
Feature requests: Support for custom languages via stdin/stdout verification, CLI or TUI interface for browsing problems locally, Web UI or Slack bot integration, Vim extensions and tool integrations
Competitors
Other products that read as similar to this one — 79 launches clear the similarity bar, closest 8 shown.
Attention rank: #10 of 80 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).
Launched 283 days after the earliest competitor.
- CoderX · ph · 2026-09-14 · 2 upvotes · similarity 0.49
- uiready.dev · ph · 2026-09-09 · 1 upvotes · similarity 0.45
- Tern CLI · ph · 2026-09-28 · 1 upvotes · similarity 0.42
- SharpTS · hn · 2026-01-09 · 6 upvotes · similarity 0.42
- Lich, start a dev stack per coding agent in parallel · hn · 2026-06-05 · 7 upvotes · similarity 0.41
- SQLens · ph · 2026-09-09 · 1 upvotes · similarity 0.41
- Node.JS in the Browser · hn · 2026-08-06 · 6 upvotes · similarity 0.39
- I replaced every function in a codebase with English · hn · 2026-03-22 · 9 upvotes · similarity 0.39
Other launches for this product
Same idea, different domain
Nobody's really built a dev tools tool for Sales yet.