Initial commit: kmod-tui v1 — kernel module inspector TUI

Features:
- Browse all loaded kernel modules from /proc/modules
- Two-pane layout: scrollable list + detail pane
- Full-screen detail view with modinfo, parameters, holders
- Vim-style navigation (j/k, Enter, /, s, r, ?, q)
- Edge-scrolling (cursor moves freely, viewport follows)
- Filter by module name AND dependents (used_by)
- Sort by name, size, refcnt, or dependents count
- Lazy modinfo fetching (shells out only on selection)
- 13 unit tests (parser, filter, scroll logic)

Tech: Rust + ratatui + crossterm
This commit is contained in:
Hermes Agent
2026-09-07 17:35:00 +00:00
commit 00ba8781f2
12 changed files with 2209 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
[package]
name = "kmod-tui"
version = "0.1.0"
edition = "2021"
description = "A TUI for browsing and inspecting loaded Linux kernel modules"
[[bin]]
name = "kmod-tui"
path = "src/main.rs"
[dependencies]
ratatui = "0.28"
crossterm = "0.28"
[profile.release]
opt-level = 2
lto = "thin"