# Openleetcode – Local LeetCode runner where tests live in th…

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, Ty…

- **Page:** https://magpie.gallery/i/openleetcode-local-leetcode-runner-where-tests-liv-a3xl
- **Type:** Link to an idea elsewhere
- **Category:** AI & dev
- **Runs on:** windows, macos, linux
- **Tags:** leetcode, cli, testing, algorithms, haskell

## Source

Web · therepanic: Openleetcode – Local LeetCode runner where tests live in the repo

- **Original:** https://news.ycombinator.com/item?id=49347178

> 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! https://github.com/therepanic/openleetcode

## GitHub projects

- https://github.com/therepanic/openleetcode

## Rules for reuse

- Build your own version: don't copy another product's code, look, icons, colours or copy.
- The original belongs to its author; Magpie only links to it.
- The original content's copyright belongs to its creator. Magpie doesn't download or re-upload it; we only show the link and the official preview.
