+
Skip to content
forked from antoniorodr/lexy

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.

License

Notifications You must be signed in to change notification settings

blackthorne7/lexy

 
 

Repository files navigation

lexy

 

lexy

Github top language Github language count Repository size License Github issues Github forks Github stars

🚧 lexy 🚀 Under developing... 🚧


About   |   Demo   |   Features   |   Technologies   |   Requirements   |   Installation   |   Documentation   |   License


🎯 About

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.

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!

💻 Demo

asciicast

✨ Features

✔️ 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

🚀 Technologies

The following tools were used in this project:

✅ Requirements

Before starting 🏁, you need to have bat installed.

🏁 Installation

Manual Installation

git clone https://github.com/antoniorodr/lexy

cd lexy

pip install .

Homebrew Installation

brew tap antoniorodr/lexy
brew install antoniorodr/lexy/lexy

Installation using uv

uv tool run git+https://github.com/antoniorodr/lexy --help

📑 Documentation

First, make sure you have bat installed. Lexy requires it for syntax highlighting.

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.

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>.

📝 License

This project is under license from MIT. For more details, see the LICENSE file.

👀 Do you like my work?

Buy Me A Coffee

Made with ❤️ by Antonio Rodriguez

 

Back to top

About

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.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载