Skip to content
RudolphLampPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

23 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

ZGit macOS 27 Liquid Glass Logo

ZGit

The Ultimate Minimalist & Safety-First GitHub Workflow Client for macOS

macOS Release Swift License


πŸ“₯ Download ZGit.dmg (v2.0.0) Β β€’Β  ✨ Deep Dive Features Β β€’Β  πŸ“Έ Interface Tour Β β€’Β  πŸ— Architecture


πŸš€ Overview & Design Philosophy

ZGit is a native, ultra-fast macOS developer application designed to streamline daily Git operations and GitHub pull request workflows. Inspired by modern developer environments like T3 Code, ZGit replaces overwhelming Git desktop tables and noisy CLI outputs with an elegant, focused developer dashboard.

Built from the ground up using SwiftUI and native AppKit integration, ZGit enforces strict repository safety, eliminating common Git mistakes such as accidental commit of merge conflict markers or silent rebase corruption.

🎨 Key Design Principles

  • Zero Cognitive Overhead: A focused, single-task workflow pipeline where each step has a clear purpose.
  • T3-Inspired Minimal Aesthetics: Ultra-clean sidebars, breadcrumb toolbar paths, and deep purple-indigo dark palettes (#171625).
  • macOS 27 Liquid Glass Language: Native translucent window materials, continuous squircle radii, and glossy 3D sphere theme pickers.
  • Proactive Safety & Integrity: Automatic pre-commit conflict scanning, non-destructive branch checkouts, and safe remote tracking.

πŸ“Έ Interface Tour

1. Minimal T3 Workspace & Guided Breadcrumb Pipeline

Breadcrumb navigation, live branch selector, IDE launcher, and instant workspace change tracking.

ZGit Main Interface




2. Integrated Per-Line Code Diff Viewer

Drawer panel featuring real-time diff parsing, syntax line highlighting (+ / -), and file collapse controls.

ZGit Code Diff Viewer




3. Theme Customizer & 3D Gradient Sphere Picker

Interactive theme selector with 3D glossy sphere previews (ZGit, Ocean, Grove, Ember, Iris).

ZGit Theme Settings


✨ In-Depth Features

⏱️ 1. "Changes from Now" Baseline Time-Tracker

When opening large existing repositories or multi-branch Git Worktrees, traditional Git clients flood the screen with dozens of pre-existing untracked or uncommitted files.

  • Timestamp Snapshot Engine: Opening or selecting a workspace establishes a baseline timestamp ($T_0$).
  • Filesystem Mod-Date Filter: ZGit inspects the modification date of files reported by git status --porcelain -uall. Only files created or modified after $T_0$ appear in the staging pipeline.
  • Instant Mode Switching: Toggle between [Changes from now] (focused on current session) and [All files] (full status view) anytime from the top bar with a single click.

πŸ›‘οΈ 2. Pre-Stage & Pre-Commit Conflict Marker Guard

Accidentally committing Git merge conflict markers (<<<<<<< HEAD, =======, >>>>>>>) ruins commit history and breaks build pipelines.

  • Automated git diff --check Inspection: Before any file is staged or committed, ZGit scans the working directory for leftover conflict markers.
  • Hard Staging Halt: If any conflict markers are detected, staging and committing are immediately HALTED, displaying an explicit warning banner detailing the exact files requiring manual resolution.
  • Non-Destructive Push Protection: Automatically disables background git pull --rebase on push rejections, ensuring remote changes never overwrite local files with unresolved conflict markers.

πŸ’¬ 3. T3-Style Chat-Composer Commit System

  • Multi-Line Text Editor: Fluid text area for writing detailed, structured commit messages.
  • Semantic Prefix Chips: One-click prefix insertions (feat:, fix:, chore:, docs:, test:) to enforce Conventional Commit standards effortlessly.
  • Circular Send Button: T3-style action button with built-in validation (disabled when input is empty or conflict markers exist).

πŸ“„ 4. Integrated Code Diff Drawer

  • Live Differential Parser: Parses git diff output on demand and renders structured code blocks.
  • Per-Line Color Coding: Additions highlighted in vibrant green (#4ADE80), deletions in soft crimson (#F87171).
  • Collapsible File Sections: Collapse or expand individual file diffs to focus on relevant code modifications.

🎨 5. Theme Engine & 3D Sphere Customization

  • Curated Color Palettes: Built-in accent presets including ZGit (Deep Purple), Ocean (Teal-Cyan), Grove (Emerald Green), Ember (Warm Crimson), and Iris (Lavender).
  • 3D Gradient Sphere Cards: Rendered with radial gradients and specular gloss ellipses to preview theme combinations.
  • Environment-Injected Color Tokens: Propagates ThemeColors across every sidebar, modal, button, and text element dynamically.

⚑️ 6. IDE Launcher & Worktree Safety

  • One-Click IDE Launching: Launch workspaces directly in VS Code, Cursor, Antigravity, Terminal, or Finder.
  • Worktree-Aware Branch Checkout: Verifies active branch before switching. If a branch is already checked out in a Git worktree, ZGit bypasses redundant git checkout commands to avoid already checked out fatal errors.

⚑ Workflow Pipeline

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”      β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”      β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”      β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   1. STAGE      β”‚ ───> β”‚   2. COMMIT     β”‚ ───> β”‚    3. PUSH      β”‚ ───> β”‚   4. OPEN PR    β”‚
β”‚  Select files   β”‚      β”‚  Chat composer  β”‚      β”‚  Push to remote β”‚      β”‚  View on GitHub β”‚
β”‚  (Conflict check)      β”‚  (Prefix chips) β”‚      β”‚  (Safe push)    β”‚      β”‚  (One-click PR) β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜      β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜      β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”˜      β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                                            β”‚
                                                     (If rejected)
                                                            β–Ό
                                                 β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                                                 β”‚ Safe Error Alert  β”‚
                                                 β”‚ (No auto-rebase)  β”‚
                                                 β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ— Architecture & Codebase Structure

ZGit follows a clean, single-responsibility Swift architecture built on top of an ObservableObject state hub (GitService):

GitEz/
β”œβ”€β”€ GitEzApp.swift               # macOS App entry point & 512x512 squircle Dock icon generator
β”œβ”€β”€ GitService.swift             # Central reactive state manager & async Git process runner
β”œβ”€β”€ GitModels.swift               # Data models (Workspace, GitStatusInfo, CommitLogItem, Theme)
β”œβ”€β”€ ContentView.swift            # Main window view router & theme environment injector
β”œβ”€β”€ SidebarView.swift            # T3-style left sidebar, workspace list & user footer
β”œβ”€β”€ MainFeedView.swift           # Central workflow view, breadcrumb toolbar & chat composer
β”œβ”€β”€ ScenarioAView.swift          # Theme token system, AccentPresets & Color(hex:) extensions
β”œβ”€β”€ ScenarioBView.swift          # CodeDiffView git diff parser & line highlighter
β”œβ”€β”€ SettingsView.swift           # In-app settings page with 3D Sphere Pair theme cards
β”œβ”€β”€ AddWorkspaceModalView.swift  # 4-step wizard modal for adding local project folders
β”œβ”€β”€ CommitHistoryModalView.swift # Commit history modal with direct GitHub links
└── Assets.xcassets/             # Liquid Glass app icon assets & image sets

⌨️ Keyboard Shortcuts & Quick Actions

Shortcut Action Description
⌘ K Search Projects Focus project search bar in sidebar
/ Quick Filter Jump to search input
⌘ R Refresh Status Force-refresh Git status and branch list
Diff Button Toggle Diff Drawer Open/close bottom code diff panel
Changes from now Toggle Baseline Switch between session changes & all untracked files

πŸ“₯ Installation & Setup

Option 1: Download Pre-Built DMG (Recommended)

  1. Download ZGit.dmg from the Releases section.
  2. Open ZGit.dmg and drag ZGit.app to your Applications folder.
  3. Launch ZGit and start tracking your repositories!

Option 2: Build from Source

Prerequisites

  • macOS 14.0+ (macOS 15/27 recommended)
  • Xcode 15.0+ or Xcode Beta
  • Command Line Tools installed (xcode-select --install)
# 1. Clone repository
git clone https://github.com/RudolphLamp/GitEz.git
cd GitEz

# 2. Build Debug or Release target using Xcode / xcodebuild
xcodebuild -project GitEz.xcodeproj -scheme GitEz -configuration Release build

# 3. Launch application
open ~/Library/Developer/Xcode/DerivedData/GitEz-*/Build/Products/Release/GitEz.app

πŸ“„ License

Distributed under the MIT License. See LICENSE for details.


Built with ❀️ for macOS developers who value clean UI & safe Git workflows

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages