macOS menu bar app that monitors your Git repositories — status, branches, uncommitted changes, push/pull, and stashes at a glance
- Always-On Monitoring — Menu bar icon reflects overall repo health with badge count for repos needing attention
- Per-Repo Status — Current branch, modified/untracked/ahead/behind/stash counts, color-coded urgency levels, and expandable file lists
- Quick Git Actions — Pull, push, stash, pop stash, and quick commit directly from the dropdown
- Pin, Sort & Search — Pin important repos to the top, sort by urgency/name/activity, and filter with search
- Auto-Discovery — Recursively finds git repos up to 3 levels deep in watched folders (e.g.
~/Developer) - Standup Summary — One-click copy of a formatted Markdown status report ready for Slack or Discord
- Notifications — Alerts when repos go dirty, need push, or fall behind remote
- Smart Refresh — Configurable scan interval (1–30 min) with auto-fetch from remotes for accurate ahead/behind counts
- macOS 14 (Sonoma) or later
- Git installed at
/usr/bin/git - Xcode Command Line Tools or Xcode (for building)
git clone https://github.com/markksantos/GitPulse.git
cd GitPulse
swift runGitPulse appears in your menu bar. Click the icon, go to Settings, and add a
folder to watch. On first launch it auto-watches the first of ~/Developer,
~/Projects, ~/Code, ~/src, or ~/dev that exists.
make app # → dist/GitPulse.app (release, ad-hoc signed)
make zip # → dist/GitPulse.zip (release, zipped for sharing)The bundle is ad-hoc signed (free). Because it isn't notarized, the first launch needs a right-click → Open to clear Gatekeeper, or run:
xattr -dr com.apple.quarantine dist/GitPulse.appTo launch automatically on login, toggle Launch at login in Settings
(uses SMAppService).
make test # swift test — 18 tests across status logic, parsing, summaries| Command | What it does |
|---|---|
make build |
Debug build (swift build) |
make run |
Launch the menu bar app (swift run) |
make test |
Run the test suite |
make app |
Package dist/GitPulse.app (release) |
make zip |
Package + zip for distribution |
make clean |
Remove .build/ and dist/ |
| Category | Technology |
|---|---|
| Language | Swift 6 (language mode v6, strict concurrency) |
| UI | SwiftUI (MenuBarExtra, .window style) |
| Concurrency | async/await, actor GitService, TaskGroup |
| State | ObservableObject + @Published, @AppStorage |
| Git | shells out to /usr/bin/git (no libgit2 dependency) |
| Platform | macOS 14+ (Sonoma) |
GitPulse/
├── Package.swift
├── Makefile # build / run / test / app / zip
├── scripts/build.sh # packages dist/GitPulse.app (+ --zip)
├── Resources/Info.plist # LSUIElement bundle metadata
├── Sources/GitPulse/
│ ├── GitPulseApp.swift # App entry with MenuBarExtra
│ ├── Models/
│ │ ├── Repository.swift # Repo data model
│ │ └── RepoStatus.swift # Status, urgency levels, changed files
│ ├── Services/
│ │ ├── GitService.swift # Async git CLI wrapper (actor)
│ │ └── RepoWatcher.swift # Scanning, notifications, actions
│ └── Views/
│ ├── Theme.swift # Design tokens, shared components
│ ├── RepoListView.swift # Main dropdown UI + repo cards
│ └── SettingsView.swift # Preferences and folder management
└── Tests/GitPulseTests/ # Swift Testing suites
MIT License © 2025 Mark Santos