Skip to content
markksantosPublic

About

macOS menu bar app that monitors all your Git repositories at once — status, branches, uncommitted changes, push/pull, stashes, quick actions, and standup summaries

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

🔄 GitPulse

GitPulse icon

macOS menu bar app that monitors your Git repositories — status, branches, uncommitted changes, push/pull, and stashes at a glance

Swift SwiftUI macOS License

Features · Getting Started · Tech Stack


✨ Features

  • 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

🚀 Getting Started

Prerequisites

  • macOS 14 (Sonoma) or later
  • Git installed at /usr/bin/git
  • Xcode Command Line Tools or Xcode (for building)

Run from source

git clone https://github.com/markksantos/GitPulse.git
cd GitPulse
swift run

GitPulse 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.

Build a distributable app

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.app

To launch automatically on login, toggle Launch at login in Settings (uses SMAppService).

Tests

make test         # swift test — 18 tests across status logic, parsing, summaries

Common tasks

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/

🛠️ Tech Stack

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)

📁 Project Structure

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

📄 License

MIT License © 2025 Mark Santos

About

macOS menu bar app that monitors all your Git repositories at once — status, branches, uncommitted changes, push/pull, stashes, quick actions, and standup summaries

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages