How melthond/gitowl works
gitowl is a native Git and GitHub workspace: a user opens a repository, reviews changes or history, and requests local Git or GitHub operations from the interface. The desktop/server entry point serves the frontend and routes authenticated API actions through Service, which dispatches Git work and GitHub CLI operations. Distinct capabilities include branch and remote management, conflict recovery, history editing, pull-request review, repository settings, and activity views. Edges follow shown calls, imports, or README-documented behavior; unsampled subsystem internals are represented at their source paths without guessing their internal wiring.
Main entry points: service.rs Action dispatcher · git.rs Git operations · App.tsx Workspace shell · api.ts Frontend API client
Components 30
Workspace interface
- Workspace shell
frontend/src/App.tsx - Changes and diffs
frontend/src/components/ChangesParts.tsx - History and reflog
frontend/src/components/HistoryParts.tsx - Branch controls
frontend/src/components/BranchPanel.tsx - Overview and activity
frontend/src/components/Overview.tsx - Activity heatmap
frontend/src/components/RepositoryActivity.tsx - Repository settings
frontend/src/components/RepositorySettings.tsx - Settings panes
frontend/src/components/SettingsParts.tsx - GitHub workspace
frontend/src/components/GitHubPanel.tsx - GitHub management
frontend/src/components/GitHubMore.tsx - PR review parts
frontend/src/components/PrParts.tsx - Diff renderer
frontend/src/components/Diff.tsx
Local Git
- Git operations
src/git.rs - Branch operations
src/branches.rs - Commit editing
src/commit_edit.rs - History rewriting
src/rewrite.rs - Conflict handling
src/conflict.rs - Hunk staging
src/hunks.rs - Remote management
src/remotes.rs - Stash operations
src/stash.rs - Tag operations
src/tags.rs - Package operations
src/packages.rs - Activity data
src/activity.rs - Git executable
GitHub features
- GitHub CLI actions
src/github.rs - GitHub CLI
Application runtime
- Frontend API client
frontend/src/api.ts - Desktop and HTTP entry
src/main.rs - Action dispatcher
src/service.rs
Other components
- Repository user
Connections 42
- Repository user → Workspace shell: uses
README.md - Workspace shell → Frontend API client: requests actions
frontend/src/App.tsx - Workspace shell → Branch controls: renders
frontend/src/App.tsx - Workspace shell → Diff renderer: renders
frontend/src/App.tsx - Workspace shell → Changes and diffs: renders
frontend/src/App.tsx - Workspace shell → History and reflog: renders
frontend/src/App.tsx - Overview and activity → Activity heatmap: renders
frontend/src/components/Overview.tsx - Overview and activity → Frontend API client: requests data
frontend/src/components/Overview.tsx - Repository settings → Settings panes: renders
frontend/src/components/RepositorySettings.tsx - Repository settings → Frontend API client: requests settings
frontend/src/components/RepositorySettings.tsx - GitHub workspace → GitHub management: renders
frontend/src/components/GitHubPanel.tsx - GitHub workspace → PR review parts: renders
frontend/src/components/GitHubPanel.tsx - GitHub workspace → Diff renderer: renders
frontend/src/components/GitHubPanel.tsx - GitHub workspace → Frontend API client: requests actions
frontend/src/components/GitHubPanel.tsx - Diff renderer → Frontend API client: summarizes via
frontend/src/components/Diff.tsx - Frontend API client → Desktop and HTTP entry: posts actions
frontend/src/api.ts - Desktop and HTTP entry → Action dispatcher: dispatches
src/main.rs - Action dispatcher → Git operations: runs Git actions
src/service.rs - Action dispatcher → Branch operations: dispatches
src/service.rs - Action dispatcher → Commit editing: dispatches
src/service.rs - Action dispatcher → History rewriting: dispatches
src/service.rs - Action dispatcher → Conflict handling: dispatches
src/service.rs - Action dispatcher → Hunk staging: dispatches
src/service.rs - Action dispatcher → Remote management: dispatches
src/service.rs - Action dispatcher → Stash operations: dispatches
src/service.rs - Action dispatcher → Tag operations: dispatches
src/service.rs - Action dispatcher → Package operations: dispatches
src/service.rs - Action dispatcher → Activity data: dispatches
src/service.rs - Action dispatcher → GitHub CLI actions: dispatches
src/service.rs - Branch operations → Git operations: uses Git helpers
src/branches.rs - Commit editing → Git operations: uses Git helpers
src/commit_edit.rs - History rewriting → Git operations: uses Git helpers
src/rewrite.rs - Conflict handling → Git operations: uses Git helpers
src/conflict.rs - Hunk staging → Git operations: uses Git helpers
src/hunks.rs - Remote management → Git operations: uses Git helpers
src/remotes.rs - Stash operations → Git operations: uses Git helpers
src/stash.rs - Tag operations → Git operations: uses Git helpers
src/tags.rs - Package operations → Git operations: uses Git helpers
src/packages.rs - Activity data → Git operations: uses Git helpers
src/activity.rs - Git operations → Git executable: runs commands
- GitHub CLI actions → GitHub CLI: runs commands
src/github.rs - GitHub CLI actions → Git operations: uses Git helpers
src/github.rs