Terminal user interface for browsing and searching crates.io packages with clipboard and browser integration
crates-tui is a terminal user interface application for exploring packages on crates.io, the Rust package registry. Built with Ratatui, it provides a keyboard-driven interface for searching, browsing, and managing Rust crates without leaving the terminal.
The tool enables developers to copy cargo add commands directly to the clipboard, open documentation pages in the browser, and navigate crates.io package pages. It includes features like search results tables, summary views, configurable key bindings, and support for Base16 color themes including Dracula, Rose Pine, and GitHub schemes.
The application uses async operations to fetch crate information without blocking the UI and includes multiple custom widgets for different views. It serves as both a functional tool for Rust developers and a reference implementation for Ratatui applications, demonstrating patterns for medium-sized TUI development including configurable key chords and action mapping.
# via Cargo
cargo install crates-tui
# via AUR
paru -S crates-tui