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 1000 problems and multiple languages, including Python, C++, Rust, Java, Go...
Source: [Hacker News](https://github.com/therepanic/openleetcode)