Skip to content

sheepla/lshw-tui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lshw-tui

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.

screenshot

Usage

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 help

Requirements

Requires lshw, testing on version B.02.20.

Build / Install

To build from source, run cargo build --release. To install, run cargo install --path=.

License

See LICENSE

Thanks

  • tokio - High-performance async runtime for Rust 🗼
  • ratatui - Awesome TUI rendering library for Rust 🐀
  • tui-tree-widget - Tree widget for ratatui 🌲

Author

sheepla

About

💻️ A simple TUI wrapper for `lshw` command to view device tree on your Linux system

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages