How bph1248/ogos works
Ogos is a Windows-focused media browser, manga reader, and desktop automation tool. Its user-facing workflow starts at the CLI and includes media viewing plus optional audio/display automation; separate capabilities manage global binds, game launch behavior, taskbar visibility, and window shifting. The graph preserves README-described features even where their implementation was not sampled. Source excerpts support the named pipe and input-hook relationships; other links are documented at the capability level, not inferred from crate co-location.
Main entry points: lib.rs Application runtime · window_foreground.rs Taskbar and foreground · binds.rs Bind execution · details.rs Global input hooks
Components 25
Entry and media
- CLI
crates/ogos_lib/src/cli.rs - Application runtime
crates/ogos_lib/src/lib.rs - Media browser and reader
crates/ogos_gui/src/lib.rs
Media services
- Audio management
crates/ogos_audio/src/lib.rs - Video integration
crates/ogos_video/src/lib.rs - Discord presence
crates/ogos_discord/src/lib.rs
Input and binds
- Bind definitions
crates/ogos_common/src/binds.rs - Bind execution
crates/ogos_lib/src/binds.rs - Global input hooks
crates/ogos_mki/src/details.rs - Windows hooks
crates/ogos_mki/src/windows/keyboard.rs - Linux input handling
crates/ogos_mki/src/linux/keyboard_mouse.rs
Desktop automation
- Display controls
crates/ogos_display/src/lib.rs - Game automation
crates/ogos_lib/src/games.rs - Taskbar and foreground
crates/ogos_lib/src/window_foreground.rs - Cursor monitoring
crates/ogos_lib/src/cursor_watch.rs - Window monitoring
crates/ogos_lib/src/window_watch.rs - Window pixel shift
crates/ogos_lib/src/window_shift.rs - Named-pipe client
crates/ogos_lib/src/pipe_client.rs - Named-pipe server
crates/ogos_lib/src/pipe_server.rs - System tray
crates/ogos_lib/src/tray.rs
Shared services
- Configuration
crates/ogos_config/src/lib.rs - Core utilities
crates/ogos_core/src/lib.rs - Display primitives
crates/ogos_common/src/display.rs - Windows utilities
crates/ogos_lib/src/win32.rs
Other components
- User
Connections 23
- User → CLI: runs
README.md - Application runtime → Media browser and reader: provides
README.md - Application runtime → Audio management: manages
README.md - Application runtime → Video integration: integrates
README.md - Application runtime → Discord presence: enables
README.md - Application runtime → Display controls: controls
README.md - Application runtime → Bind execution: enables
README.md - Application runtime → Game automation: automates
README.md - Application runtime → Taskbar and foreground: manages
README.md - Application runtime → Window pixel shift: runs
README.md - Bind execution → Bind definitions: uses definitions
- Bind execution → Global input hooks: registers actions
- Global input hooks → Windows hooks: dispatches hooks
- Global input hooks → Linux input handling: handles input
- Taskbar and foreground → Cursor monitoring: monitors cursor
- Taskbar and foreground → Window monitoring: monitors windows
crates/ogos_lib/src/window_foreground.rs - Named-pipe client → Named-pipe server: sends messages
crates/ogos_lib/src/pipe_client.rs - Named-pipe server → Taskbar and foreground: dispatches messages
crates/ogos_lib/src/pipe_server.rs - Window pixel shift → Windows utilities: uses utilities
crates/ogos_lib/src/window_shift.rs - Window pixel shift → Taskbar and foreground: reads window state
crates/ogos_lib/src/window_shift.rs - Display controls → Display primitives: uses primitives
- Application runtime → Configuration: loads settings
- Application runtime → System tray: offers tray controls
crates/ogos_lib/src/lib.rs