Overview
GitHub Command Center is a Python desktop application (Tkinter) that brings everyday Git work, advanced repository engineering, GitHub workflows, recovery, release tooling and developer utilities into one user-friendly command center. It combines a streamlined Local Git workspace with specialist tools reachable through grouped navigation and the Ctrl+K command palette.
It exists because advanced Git operations — interactive rebase, bisect, reflog recovery, worktree management, deterministic release packaging — are powerful but easy to get wrong from the command line. Command Center puts confirmations, previews, policies and recovery guidance in front of destructive operations, and keeps daily actions (refresh, fetch, pull, push, commit) one click away.
It is built for developers and repository maintainers who live in Git all day: solo developers who want safe access to advanced commands, maintainers shipping release archives with checksums and manifests, and teams that need a GitHub-aware desktop tool without requiring everyone to memorize plumbing commands.
Use cases
- Daily commit flow — review working-tree changes, stage files or individual hunks, write commits and inspect diffs without leaving the app.
- Safe branch cleanup — create, rename, compare, prune and safely delete branches and tags with previews.
- Interactive rebase and cherry-pick queues — reshape history visually instead of hand-editing
git rebase -i todo lists. - Recovery after a bad reset — reflog, dangling-object, detached-HEAD and lost-and-found tools walk you back from mistakes.
- Release engineering — produce release evidence, SHA-256 checksums, file manifests, SBOM-ready outputs and deterministic archives.
- GitHub operations — PRs, Actions, releases, security workflows and repository readiness checks (requires GitHub CLI or auth; local Git works independently).
- Bisect a regression — run guided bisect workflows when you know which release broke behavior.
- Workspace profiles — save named repository/branch contexts (e.g.
release workspace, customer hotfix), filter them, and check their health (Ready / Missing / Not a Git repository / Branch missing).
How to work with it
A typical day: you open the app, pick Choose Repository, and the Local Git header shows your repo state. You click refresh (F5), review changed files in the Changes area, stage hunks, write the commit message and press Ctrl+Enter. Before pushing you glance at History for the graph view, check Sync for upstream drift, then push. Mid-afternoon you need a specialist tool — press Ctrl+K, type stash diff or bisect, and the command palette jumps straight there. Friday, you cut a release from the Release area and it emits a checksummed archive.
python app.py
# or, installed as a package:
github-command-center
Features
- Changes workspace — working-tree review, file/hunk staging, commit writing and diff inspection.
- History tools — browse commit history, compare refs, inspect objects, search revisions and visualize the commit graph (interactive graph filters since v3.72).
- Branches and tags — create, rename, compare, clean up and safely delete; remote fetch/pull/push/prune and upstream diagnosis.
- Stashes and worktrees — stash workbench with diff and conflict previews; worktree workbench (both since v3.71/v3.72).
- History rewriting — interactive rebase, cherry-pick queues, bisect workflows, revert queues and merge previews.
- Recovery — reflog, dangling-object, detached-HEAD, lost-and-found and reset recovery tools.
- GitHub integration — pull requests, Actions, releases, security workflows and repository readiness checks.
- Developer tooling — code search, patch series, quality checks, build validation, Git object inspection and revision explanation.
- Release tooling — release evidence, checksums, manifests, SBOM-ready outputs and deterministic archives.
- Workspace Profiles (v3.81+, health in v3.82) — save a friendly name, repository, preferred branch and note; real-time filtering; one-click or check-all health status; JSON import/export. Profiles live in
~/.github_command_center/workspace_profiles.json. - Safety-first design — no
shell=True, features cannot invoke subprocesses directly (process gateway only), zero bare exception handlers, confirmations/previews/policies on destructive operations, plugin trust checks. - CI-gated quality — Ruff, Bandit, pip-audit, CodeQL, dependency review, architecture, coverage and packaging gates.
Installation
Requires Python 3.10+, Git on PATH, and Tkinter (bundled with standard Windows Python; on Debian/Ubuntu use sudo apt install python3-tk git, on Fedora sudo dnf install python3-tkinter git). GitHub CLI or GitHub auth is only needed for GitHub-facing features.
Option 1 — run from the release archive:
# Download github_command_center_python_v3.82.0.zip
# Verify SHA-256 against github_command_center_python_v3.82.0.sha256
extract the archive, then:
python app.py
# Windows: run_windows.bat
# Linux: chmod +x run_linux.sh && ./run_linux.sh
Option 2 — install as a Python package:
python -m pip install .
github-command-center
Contributors:
python -m pip install -e ".[dev]"
python -m pytest -q
Quickstart (30 seconds)
1. python app.py
2. Click "Choose Repository" and open an existing repo
3. Toolbar: refresh / fetch / pull / push / commit / history / branches / stash / worktrees
4. Press Ctrl+K to open the specialist-tool catalog
5. Select "Workspaces" to save this repository + branch as a profile
That's the whole loop: open, review, commit, push — with every specialist tool one Ctrl+K away.
Workflow & architecture
Command Center uses a focused UI shell over bounded feature domains, compatibility facades, services, and centralized command/process gateways. UI code never shells out directly; Git and external commands flow through approved gateways, and architecture limits (shell size, domain size, class count, subprocess boundaries) are enforced automatically by scripts/architecture_gate.py.
UI shell
→ centers and bounded feature domains
→ services and policy boundaries
→ Git command gateway / process gateway / GitHub integrations
The interface groups work into nine areas: Changes, History, Branches, Sync, Review, GitHub, Release, Recover, Advanced — daily actions stay visible, specialist tools stay discoverable.
Troubleshooting
- Git is not found — run
git --version; if it fails, install Git and restart the terminal or the app. - Tkinter is missing — Linux: install the platform Tkinter package (see above). Windows: rerun the official Python installer and enable Tcl/Tk support.
- A saved workspace is missing — open Workspaces, select the profile, run Check health. If the folder moved, delete the old profile and save the repository again from its new path.
- Preferred branch cannot be opened — the repo still opens with a warning; verify the branch exists locally, fetch, or update the saved profile.
- GitHub features are unavailable — check network access and GitHub CLI / auth setup. Local Git functionality remains fully available.
- Validation gates fail — run the standard sequence:
python -m compileall -q ., python -m pytest -q, then the architecture, security, release-readiness and packaging gates in scripts/.
Release & license
Current version: 3.82.0. Artifact: github_command_center_python_v3.82.0.zip with SHA-256 checksum and deterministic packaging. v3.82 adds Workspace Profile health and filtering; v3.71/v3.72 added Ref Compare, Revision Explain, commit-graph visualization, stash/worktree workbenches and diff/conflict previews. Note: no license file is currently included — the project owner should add an explicit license (MIT, Apache-2.0 or a proprietary one) before public redistribution.
Need help? Visit the PeaBox Lab help page or the project: