Openleetcode
Local LeetCode runner where tests live in the repo
Get picks like this daily. Today's launch numbers, the top launches, AI and tech news, and a daily opportunity pick, straight to your inbox.
Want to reach these readers? Sponsor an issue.
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!
HN · launched Aug 18, 2026 · 73 upvotes (top 10%) · 0 views
Niche: developer command-line tools · 226 launches, 5 in the last 7 days ▼ -67% · Explore this niche →
Category and tags
- Education
- Dev tools
- Developer
- Not AI
- Hobby / open-source project
Visit website ↗ Source listing ↗
More like this: all 226 launches in developer command-line tools →
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 : 196 launches clear the similarity bar, closest 8 shown.
Attention rank: #32 of 197 (itself plus its competitors, highest first, normalized so YC and Product Hunt are compared fairly).
Launched 283 days after the earliest competitor.
- LeetCode Visualizer · ph · 2026-10-14 · 1 upvotes · similarity 0.52
- CoderX · ph · 2026-09-14 · 2 upvotes · similarity 0.50
- rustbox · ph · 2026-11-02 · 1 upvotes · similarity 0.48
- Leetcode_Problems · github · 2026-10-10 · 16 upvotes · similarity 0.47
- uiready.dev · ph · 2026-09-09 · 1 upvotes · similarity 0.45
- Tern CLI · ph · 2026-09-28 · 1 upvotes · similarity 0.43
- Master Kael · ph · 2026-10-18 · 4 upvotes · similarity 0.43
- SharpTS · hn · 2026-01-09 · 6 upvotes · similarity 0.43
The niche, labels, vibe code rating and competitor comparison on this page are analysis by Nicheloom. If you use them, please credit nicheloom.com. How you may use our data.