Crate gravityfile_tui

Crate gravityfile_tui 

Source
Expand description

Terminal user interface for gravityfile.

This crate provides an interactive TUI for exploring disk usage, built with ratatui.

§Overview

gravityfile-tui provides a feature-rich terminal interface:

  • Explorer view - Navigate directory trees sorted by size
  • Duplicates view - Browse duplicate file groups
  • Age view - Analyze file age distribution
  • Errors view - Review scan warnings

§Usage

use gravityfile_tui;
use std::path::PathBuf;

// Run the TUI on a directory
gravityfile_tui::run(PathBuf::from("/path/to/explore")).unwrap();

§Keyboard Navigation

  • j/k - Move down/up
  • h/l - Collapse/expand directories
  • Enter - Drill into directory
  • Backspace - Navigate back
  • Tab - Switch view
  • d - Mark for deletion
  • : - Command palette
  • ? - Help
  • q - Quit

Re-exports§

pub use app::App;
pub use app::AppResult;

Modules§

app
Main application state and logic.

Structs§

Theme
Color theme for the TUI.

Functions§

run
Run the TUI application.