About Β | Β Demo Β | Β Features Β | Β Technologies Β | Β Requirements Β | Β Installation Β | Β Documentation Β | Β License
Lexy is a lightweight CLI tool that fetches programming tutorials from Learn X in Y Minutes directly into your terminal. Quickly search, learn, and reference code examples without leaving your workflow.
Lexy saves a local copy of the documentation, so you can access it even when you're offline. It also provides syntax highlighting using bat and fuzzy search using fzf.
This project would not be possible without the amazing work of the Learn X in Y Minutes community. A huge thanks to all contributors for making high-quality learning resources freely available!
βοΈ Check documentation from "Learn X in Y minutes" directly from the terminal
βοΈ Syntax highlighting using bat
βοΈ Local copy to speed up the process and avoid too many requests to the "Learn X in Y minutes" server
βοΈ Auto-update every 60 days
βοΈ Searching powered by fzf
The following tools were used in this project:
Before starting π, you need to have bat and fzf installed.
git clone https://github.com/antoniorodr/lexy
cd lexy
pip install .
brew tap antoniorodr/lexy
brew install antoniorodr/lexy/lexy
yay -S lexy
Installation using uv
uv tool install git+https://github.com/antoniorodr/lexy
First, make sure you have bat and fzf installed. Lexy requires it for syntax highlighting and searching.
You can use the command lexy --help
to see all available options.
lexy --help
Usage: lexy [OPTIONS] <LANGUAGE>
Display <LANGUAGE> documentation using bat.
<LANGUAGE> refers to the language name or the following options:
- Use "list" to view all available languages.
- Use "update" to force update Lexy.
- Use "modified" to view the last modified date of Lexy.
Options:
--version Show the version and exit.
--help Show this message and exit.
Lexy keeps a local copy of the documentation in $HOME/.config/lexy
, which is created automatically the first time you run Lexy, and it will be updated every 60 days. You can force an update using "update" as <LANGUAGE>
.
You can find the full documentation here.
This project is under license from MIT. For more details, see the LICENSE file.
Made with β€οΈ by Antonio Rodriguez
Β