This is a TUI wrapper for the lshw command utility. It provides a UI for quickly browsing a tree of Linux hardware devices. You can easily navigate the tree-style UI with Vim-like key bindings.
This tool provides simple key bindings similar to less pager or Vim.
| Key | Action |
|---|---|
k or Up |
Up |
j or Down |
Down |
h or Left or Backspace |
Close Node |
l or Right or Enter |
Open Node |
q |
Quit |
The help for the commands is as follows:
Usage: lshw-tui [OPTIONS]
Options:
-c, --command <COMMAND> Command name of 'lshw' [default: lshw]
-s, --sanitize Sanitize sensitive values like serial numbers, etc
-h, --help Print helpRequires lshw, testing on version B.02.20.
To build from source, run cargo build --release.
To install, run cargo install --path=.
See LICENSE
- tokio - High-performance async runtime for Rust 🗼
- ratatui - Awesome TUI rendering library for Rust 🐀
- tui-tree-widget - Tree widget for ratatui 🌲
sheepla
