openleetcode - Local LeetCode runner with open test suites

Show HN: Openleetcode – local LeetCode runner where tests live in the repo

openleetcode - Local LeetCode runner with open test suites

openleetcode is a local LeetCode runner built around open test suites, made in Haskell. It takes a normal solution file, finds the matching problem manifest, builds a tiny language-specific harness, sends it to a pluggable execution backend (Piston), and judges the result locally. Tests and runtime templates live in the repo, making the CLI just glue. Supports multiple languages including Python, Rust, C++, and Java, with a Docker-based backend for easy setup. Ideal for developers who want to practice LeetCode problems offline, customize tests, or integrate with their own workflows.

The whole point is that the judge and tests are not sealed away somewhere.

More from this day

2026-08-18