crates-tui
is a simple terminal user interface explorer for crates.io based on Ratatui.
crates-tui.mov
It supports features like:
- copy
cargo add
command to clipboard - open the docs page in the browser
- open crates.io page in the brower
cargo install crates-tui
crates-tui
can be installed with an AUR helper:
paru -S crates-tui
open-in-browser.mov
crates-tui-logging.mov
You can find example color configurations here.
help.mov
You can find the default configuration here.
This repository contains an opinionated way of organizing a small to medium sized Ratatui TUI applications.
It has several features, notably:
- Uses
async
to fetch crate information without blocking the UI - Multiple custom widgets
- Selection tab
- Input prompt
- Search results table
- Summary view
- Has configurable key chords that map to actions
This repository is meant to serve as a reference for some patterns you may follow when developing Ratatui applications. The code will function as a reference for the tutorial material on https://ratatui.rs as well.