Back to directory

lexy

A command-line tool that fetches Learn X in Y Minutes programming tutorials and browses them in the terminal, with an offline cache and fuzzy search.

lexy

lexy brings the Learn X in Y Minutes tutorial collection into the terminal so a developer can look up language syntax without leaving a shell session. It caches fetched tutorials locally so they can be browsed offline afterward, previews content with syntax highlighting through bat, and lets a user search available languages with fzf.

Commands cover listing available languages, opening a tutorial by language name, refreshing the cache on demand, and checking when the cache was last updated; the fzf layout and colors are configurable through a TOML file. On distributions where bat installs as batcat, the official bat instructions for creating a symlink are needed, since a shell alias is not visible to the Python subprocess lexy uses.

It requires Python 3.13 or newer plus fzf and bat, and is under active development.

More in CLI tools

See all 181
  • grev

    github.com

    A set of Unix coreutils-style filters — grep, sort, cut and more — that answer a plain-language question about each record instead of matching a pattern, using a small decision model.

  • A Node.js script that exports a Google Doc to HTML and CSS with high fidelity, preserving headings, spacing, alignment, bullet lists, images and right-to-left text.

  • gpusched

    github.com

    A VRAM-aware GPU job scheduler for a single machine: declare how much memory each shell command needs, and it places jobs the moment a GPU has room and reports when a guess was wrong.