How azusalina/filex works
fileX is a Rust terminal file manager for browsing a filesystem as an expandable horizontal tree. The main workflow is to launch it at a chosen root, navigate or search the tree, inspect a selection, then open or operate on it. The graph emphasizes the current Rust TUI described by the README; Python modules are omitted because the README says the current version only provides the Rust TUI. Several capabilities and integrations are documented but their implementation excerpts were not shown, so those links cite the README.
Main entry points: tui.rs Rust TUI · model.rs Tree model · main.rs CLI entry · src Open and execute
Components 18
Launch and setup
- CLI entry
src/main.rs - Configuration
src/config.rs
Tree browsing
- Rust TUI
src/tui.rs - Tree model
src/model.rs - Tree layout
src/model.rs - Directory I/O
src/files.rs - Tree search
src/model.rs
Inspection and actions
- File details
src/files.rs - Link details
src/links.rs - File operations
src/files.rs - Open and execute
src - Markdown preview
src - External programs
Terminal runtime
- Input handling
src/input.rs - Terminal adaptation
src/terminal_host.rs - tmux integration
src/tmux.rs
Other components
- User
- Filesystem
Connections 19
- User → CLI entry: launches
README.md - CLI entry → Configuration: loads settings
src/main.rs - CLI entry → Rust TUI: starts
src/main.rs - Rust TUI → Tree model: navigates
src/tui.rs - Rust TUI → Tree layout: renders layout
src/tui.rs - Tree model → Directory I/O: loads entries
src/model.rs - Tree model → Tree search: searches tree
README.md - Tree model → Filesystem: reads directories
src/model.rs - Rust TUI → File details: shows dashboard
src/tui.rs - Rust TUI → Link details: shows link info
README.md - Rust TUI → File operations: invokes operations
- Rust TUI → Open and execute: selects opener
src/tui.rs - Open and execute → External programs: runs program
README.md - Open and execute → Markdown preview: starts preview
README.md - Markdown preview → External programs: opens in Firefox
README.md - File operations → Filesystem: changes files
README.md - Rust TUI → Input handling: reads keys
src/tui.rs - Rust TUI → Terminal adaptation: adapts terminal
src/tui.rs - Rust TUI → tmux integration: configures keys
src/tui.rs