How yassine-jemi01/forgefm works
ForgeFM is a GTK4/GIO file-manager prototype. Its user workflow is to navigate or search a directory, inspect and select entries, then open or manage them using file operations. The implementation is concentrated in src/app.c; src/main.c owns GTK application startup and shutdown. The README documents several capabilities whose implementation details are outside the excerpts, so those are represented as responsibilities of the app rather than as inferred internal call chains.
Main entry points: main.c Lifecycle entry · app.c Open and terminal
Components 16
Application lifecycle
- GTK application
- Lifecycle entry
src/main.c - Forge app
src/app.c
File browsing
- Browser interface
src/app.c - Directory navigation
src/app.c - File listing
src/app.c - Directory search
src/app.c - Multi-selection
src/app.c
File actions
- File actions
src/app.c - Copy and move
src/app.c - Open and terminal
src/app.c - GIO filesystem
Other components
- User
- Local filesystem
- Desktop applications
- Terminal launcher
Connections 15
- User → GTK application: uses
README.md - GTK application → Lifecycle entry: activates
src/main.c - Lifecycle entry → Forge app: creates and activates
src/main.c - Lifecycle entry → Forge app: frees on shutdown
src/main.c - User → Browser interface: interacts with
README.md - Browser interface → Directory navigation: navigates
src/app.c - Directory navigation → File listing: refreshes
src/app.c - User → Directory search: searches
README.md - User → Multi-selection: selects
README.md - User → File actions: requests actions
README.md - File actions → GIO filesystem: uses
src/app.c - Copy and move → GIO filesystem: copies or moves
src/app.c - GIO filesystem → Local filesystem: reads and writes
- Open and terminal → Desktop applications: opens files with
src/app.c - Open and terminal → Terminal launcher: looks up launcher
src/app.c