A super handy 🖐️ CLI script to manage Leetcode solutions and neatly keep them arranged in directories with a navigable index.
For an example, check this repository where I use lantern to keep a track of my Leetcode solutions.
This script was tested on Python 3.13. Older versions should work perfectly fine though. Open an issue if any problem arises.
Also, you need to have uv installed on your machine. I will add other options in the future.
git clone https://github.com/ab1nv/lantern.git
cd lantern
uv venv
uv pip install -e .
there you go, lantern is installed! 🎉
- To use lantern, rename
example.config.py
toconfig.py
and populate the required values. - Run
lantern
in the directory you assigned inconfig.PATH
variable.
- Java Support
- Stats (Total Questions Solved, Language Stats, etc.)
- Test Runner (currently in development.)
- Video instruction for installing and running the tool.
PRs are always welcome.