akarsh1995 / leetcode-tui

Terminal UI for leetcode. Lets you browse questions through different topics. View, solve, run and submit questions from TUI.
MIT License
38 stars 4 forks source link
algorithms cli data-structures leetcode rust tui tui-rs

Leetcode TUI

Use Leetcode in your terminal.

Demo

Why this TUI:

My motivation for creating leetcode-tui stemmed from my preference for tools that are lightweight and consume fewer system resources. When I explored existing leetcode CLI tools on GitHub, I came across a few raw command-line interfaces, but they lacked the interactivity I desired. To address this, I decided to develop leetcode-tui, a Text-based User Interface, that provides an interactive and user-friendly experience for solving LeetCode problems.

Warning This TUI is currently under active development. Please feel free to open an issue if you find errors.

Installation

cargo install leetcode-tui-rs

Post installation

leetui

# This is going to create a config file depending on your os.

# Get the Cookies from the browser `LEETCODE_SESSION` and `csrftoken` and paste it in the config file

# run the command again to populate db
leetui

Features

Few related projects: