A cli tool to run leetcode style practice problems locally.
Warning
Experimental: Still in developement and this executes programs. Be sure of what you execute.
Have you ever wanted to practice coding problems on leetcode only to be hit by error that you clicked on run too fast? Is the workflow on leetcode too slow and debugging sucks? Well, Codex is here to help!
The aim is to provide a seamless and efficient coding experience for users who want to practice coding problems locally. With Codex, users can run these problems locally, execute code in multiple languages, view test cases and expected output, and save and load code snippets.
- Run leetcode style practice problems locally
- Execute code in multiple languages (C and C++ at the moment)
- View time & space complexity analysis (doesn't really need AI but need big enough testcases to plot graphs)
- Some statistics
- Add support for plugins
- Add new CLI commands and implement them
- Pre and post execution hooks
- Plugins that possible connect to online leaderboards to upload statistics
| Platform | Supported |
|---|---|
| macOS | Yes |
| Windows | No |
| Linux | No |
# How to build and run
# Clone the repository
$ git clone https://github.com/yourusername/codex.git
# Navigate to the project directory
$ cd codex
# Install dependencies (no scripts yet)
# dependencies are mentioned in dependencies file
# make
$ ./build
# Run the application
$ bld/codex --help
# optionally set path
$ export PATH=$PATH:$(PWD)/bld
$ codex runIssues and feature requests are welcome. I don't have time to review PRs at the moment. Hopefully, will add support for adding plugin support eventually so PRs won't be needed for more features.