Skip to main content

🖥️ leetrs tui

Launches the interactive Ratatui terminal browser for searching, filtering, and picking LeetCode problems.


Usage

leetrs tui [LANGUAGE]
# — or simply —
leetrs [LANGUAGE]

Arguments

ArgumentTypeOptionalDescription
LANGUAGEstringYesTemporary language override for the current TUI session (e.g. rust, python3, mysql). Overrides config.toml for stub generation.

Examples

Default TUI Launch

leetrs tui

Launch TUI with Rust Override

leetrs tui rust

Features

  • Local Data Caching: Problem metadata is cached in ~/.local/share/leetrs/data.json for immediate loading.
  • Fuzzy Search: Filter thousands of problems in real-time by typing /.
  • Difficulty & Topic Overlays: Filter by Easy (1), Medium (2), Hard (3), or Topic Tags (t).
  • Direct Editor Launch: Pressing Enter automatically triggers leetrs pick for the selected item.