Skip to content
AMFI-DisablePublic

About

A focused macOS Homebrew package manager for installing, updating, and safely removing apps and packages.

Topics

Resources

Contributing

Security policy

Stars

8 stars

Watchers

1 watching

Forks

Latest commit

 

History

149 Commits

Folders and files

Repository files navigation

BrewStore

The Undisputed #1 Native macOS Package Manager & Homebrew Companion
Lightning-fast, native SwiftUI GUI & CLI companion for casks, formulae, background services, multi-version link management, and security audits.

Website: Live Status: Active Platform: macOS Sonoma+ Swift: 5.10+ Release: v1.0.0 Tests: 345 / 345 Passed License: MIT Pricing: Free & Open-Source Privacy: Zero Telemetry

中文文档 · Changelog · Security Policy · MIT License


Star History

AMFI-Disable/BrewStore Star History Chart

Select Language / 选择语言 / 言語を選択 / Idioma / Langue / Sprache

English • 简体中文 • 繁體中文 • 日本語 • Español • Français • Deutsch


Quick Directing Links

Homebrew Cask • Feature Highlights • Keyboard Shortcuts • CLI Companion • Safety & Reliability • Comparison Matrix • Test Suite • Roadmap


What Is BrewStore?

BrewStore is the definitive desktop application for macOS package management. Built from the ground up in native SwiftUI and AppKit, it bridges the raw flexibility of Homebrew’s CLI with the elegance, discoverability, and fluid ergonomics of an Apple Design Award-winning App Store experience.

Whether you're a software engineer orchestrating multiple runtimes, a designer configuring creative tools, or a power user auditing system daemons, BrewStore delivers:

  • Instant Discoverability: Search across 10,000+ formulae and casks in under 20ms using local in-memory tokenized indices.
  • Preview-First Dry-Run Safety: Inspect cascaded reverse dependencies and orphan impacts before any removal or update is committed.
  • Time Machine Snapshots: Automatic pre-mutation rollback points with visual diffs so you can revert any botched command instantly.
  • Enterprise-Grade Service Management: Inspect real-time CPU percentages, memory RSS, and active listening ports for all background daemons.
  • Multi-Provider Git Sync: Synchronize and back up your ~/Brewfile to GitHub, GitLab, Codeberg, Forgejo, or self-hosted Gitea repositories.

Architecture & Subsystems

+-----------------------------------------------------------------------------------------+
| BrewStore GUI Layer |
| +-------------------+  +--------------------+  +-------------------+  +-----------+ |
|  | K Power Launcher |  | Spotlight Carousel |  | Dependency Canvas |  | Menu Bar |  |
| +-------------------+  +--------------------+  +-------------------+  +-----------+ |
| +-------------------+  +--------------------+  +-------------------+  +-----------+ |
|  | Version Pinning |  | Community Showdown |  | Mirror Benchmark |  | Wishlist |  |
| +-------------------+  +--------------------+  +-------------------+  +-----------+ |
+--------------------------------------------+--------------------------------------------+
|  |
+--------------------------------------------+--------------------------------------------+
| BrewStore Core Engine |
| * FastCacheEngine (Sub-20ms Local Index)     * PackagePinningManager (Atomic State) |
| * SnapshotManager (Rollback Time Machine)    * UninstallCoordinator (Preview Gate) |
| * LockCoordinationManager (PID Safe Guard)   * ServiceTelemetryMonitor (CPU/RAM/Port) |
| * MirrorLatencyBenchmarkEngine               * GitServiceManager (GitHub/GitLab/FOSS) |
| * DockLifecycleManager (Scene & Status)      * TapHealthManager (Audit & CI Status) |
+--------------------------------------------+--------------------------------------------+
|  |
+--------------------------------------------+--------------------------------------------+
| Underlying System Bridges |
| * Homebrew CLI Engine (/opt/homebrew or /usr/local) |
| * Mac App Store Bridge (mas-cli receipt scanning & updates) |
| * macOS LaunchAgent Daemon (com.amfi-disable.brewstore.autoupdate.plist) |
| * macOS Security LocalAuthentication (Touch ID / Biometrics) |
+-----------------------------------------------------------------------------------------+

Feature Highlights

The 5 Pillars Of The Complete Mac App Manager

  1. Unified Dual-Store App Management & Homebrew Preference - Seamlessly unifies Homebrew Casks, CLI Formulae, Mac App Store apps (mas-cli), and external unmanaged apps in a single searchable inventory.

    • Automatically detects dual-store apps and recommends Homebrew for faster updates, CLI scriptability, and zero Apple ID password prompts.
    • Built-in App Store receipt detection (Contents/_MASReceipt/receipt) with 1-click non-destructive conversion to Homebrew management.
  2. Per-App Storage & Leftover Cache Cleaner - Precise 3-column storage breakdown in package details: Binary Size, Caches & Logs, and Application Data.

    • Dedicated Clean Caches button routes all temporary files safely to ~/.Trash, clearing gigabytes of bloated cache while keeping user login sessions, application databases, and settings completely intact.
  3. Apple Silicon Native & Rosetta 2 Migration Inspector - Visual architecture capsule badges on every package row: ARM64 Native (green), Universal (blue), and Rosetta 2 (warning orange).

    • High-visibility alert banner detecting legacy Intel x86_64 apps running under Rosetta 2 emulation, with 1-click Migrate All to Apple Silicon to reclaim CPU cycles and battery life.
  4. Login Items & macOS LaunchAgent Daemon Management - Consolidates Homebrew services, user LaunchAgents (~/Library/LaunchAgents), system LaunchAgents (/Library/LaunchAgents), and macOS Login Items in a unified ServicesView.

    • Real-time CPU usage, Resident Set Size (RSS) memory telemetry, listening ports, and status toggles via launchctl with safe Trash removal.
  5. Complete Mac Setup & Blueprint Transfer Engine - Comprehensive Mac Blueprint export capturing all Homebrew packages, taps, Mac App Store apps (mas "<name>", id: <id>), pinned versions, and app preferences.

    • Generates an idempotent, 1-command bootstrap shell script and provides native in-app restoration in MultiMachineSyncView to clone your Mac environment in minutes.

6. Modern App Store Experience For Homebrew

  • Curated Spotlight & Editorial Stories: Discover top-tier macOS utilities with handcrafted editorial narratives, release breakdowns, and developer highlights.
  • Community Showdown & Tournament Brackets: Zero-server community brackets powered by GitHub Discussions. Vote for your favorite tools and follow seasonal matchups.
  • Developer Toolkits & Stacks: One-click installation bundles for Full-Stack Web, Swift/iOS, DevOps, Rust, Data Science, and Machine Learning.
  • Personal Wishlist & Bookmarking: Star packages and keep a curated wishlist that stays isolated from system state.

7. Safety-First Architecture & Rollback Time Machine

  • Atomic Version Pinning: Pin mission-critical packages directly from detail pages, action menus, or the context menu. Automatic rollback handles CLI errors cleanly with immediate UI feedback.
  • Preview-First Dry-Run Uninstalls: Every package removal and autoremove passes through a non-destructive preview modal detailing reverse-dependency warnings and orphaned packages.
  • 1-Click Snapshot Rollbacks: BrewStore automatically creates system state snapshots prior to destructive mutations, allowing instant Time Machine rollbacks with full diff visualization.
  • Proactive Lock Coordination: Detects concurrent Homebrew processes and provides graceful queueing and timeouts, preventing database locks and corrupted taps.

8. Mirror Speed Benchmark & CDN Switcher

  • Live Latency Benchmarking: Ping and measure download speeds across Official Fastly CDN, USTC (University of Science and Technology of China), TUNA (Tsinghua University), and Aliyun mirrors.
  • 1-Click Switcher: Apply high-speed mirrors globally across HOMEBREW_API_DOMAIN and HOMEBREW_BOTTLE_DOMAIN with a single tap.

9. Menu Bar Companion & Terminal CLI

  • Zero-Distortion Menu Bar Popover: Check pending updates, trigger one-click upgrades, monitor active services, and access quick maintenance tools with rigid window geometry.
  • Full Terminal CLI (brewstore): Run audits, switch tool versions, manage Mac App Store apps, clean caches, and adopt unmanaged applications directly from terminal shell environments.

10. Multi-Provider Git Cloud Sync

  • Sync your packages, taps, and cask configurations directly to a ~/Brewfile.
  • First-class support for GitHub Gists, GitLab Snippets, Codeberg, Forgejo, and custom self-hosted Gitea instances with encrypted personal access tokens.

Installation

Option 1: Official Homebrew Cask (Recommended)

Install BrewStore and the terminal CLI companion directly through Homebrew:

brew tap AMFI-Disable/tap
brew install --cask brewstore

To update in the future:

brew upgrade --cask brewstore

Option 2: Manual DMG Package (GitHub Releases)

Download the verified .dmg package from GitHub Releases. Verify the SHA-256 checksum after download:

shasum -a 256 brewstore-1.0.0.dmg

macOS Gatekeeper Clearance (Unnotarized Open-Source Build)

Because BrewStore is an open-source build provided without a paid Apple Developer ID certificate ($99/year), macOS Gatekeeper quarantines downloaded application bundles on first launch.

To clear the quarantine flag via Terminal:

sudo xattr -r -c /Applications/BrewStore.app

Alternatively, open System Settings > Privacy & Security, scroll down to the Security section, and click Open Anyway (or hold Control while clicking the app in Finder and select Open).


Option 3: Build From Source

# Clone repository
git clone https://github.com/AMFI-Disable/BrewStore.git
cd BrewStore

# Generate Xcode project via XcodeGen
xcodegen generate

# Build Release Configuration
xcodebuild -scheme BrewStore -configuration Release -destination 'platform=macOS' build

# Run Full Automated Test Suite (345 tests)
xcodebuild test -scheme BrewStore -destination 'platform=macOS'

Power Keyboard Shortcuts

BrewStore is designed for keyboard-first efficiency:

Shortcut Action Description
K Command Palette Global quick-launcher for commands (> upgrade all, > cleanup, > benchmark), navigation, and package search
R Refresh Catalog Reload local packages, remote indices, service states, and update counts
F Search Instantly focus search field in current section
, Settings Open preferences, mirror benchmark switcher, auto-update schedule, and cloud sync
1 Discover Jump to Storefront Spotlight, curated picks, and trending apps
2 Installed View all locally installed formulae and casks
3 Updates View outdated packages, estimated installation times, and update buttons
4 Services Monitor and manage background daemons and runtime telemetry
5 Dependencies Open Interactive Dependency Canvas 2.0 graph
6 Wishlist View saved and starred packages
7 Toolkits Open developer stack bundles
8 Maintenance Access Doctor, disk cache cleaners, and orphan leaf removal

brewstore CLI Companion

BrewStore packages a standalone CLI utility accessible directly from /opt/homebrew/bin/brewstore or /usr/local/bin/brewstore:

# Adopt unmanaged apps in /Applications into Homebrew casks
brewstore adopt [--all]

# Switch active tool runtime versions (Cellar link management)
brewstore switch node 20
brewstore switch python 3.12
brewstore switch postgresql 16

# Run comprehensive security CVE audits & hardening score (0–100)
brewstore audit

# Check and upgrade Mac App Store applications
brewstore mas list
brewstore mas upgrade

# Check toolchain health, orphaned packages, and disk consumption
brewstore health

# Free disk space (cleanup cache bottles and autoremove unused dependencies)
brewstore clean

# Launch the native GUI app
brewstore launch

Why BrewStore Over CaskHub & Taphouse Pro ($19.99)

Feature Vertical BrewStore Taphouse Pro ($19.99) CaskHub
Pricing & License 100% Free & MIT Open-Source $19.99 Commercial / Proprietary Free
Telemetry & Privacy Zero Telemetry / 100% Local Third-party tracking Unknown
Automated Test Coverage 345 XCTest Methods (100% Pass) Undisclosed Minimal
Per-App Storage & Cache Cleaner Non-Destructive (~/.Trash) No No
Apple Silicon vs Rosetta 2 Auto-Detect & 1-Click Migrate No No
macOS LaunchAgents & Login Items Full Telemetry & PID/RAM Services only No
1-Command Mac Blueprint Engine Formulae, Casks, MAS & Prefs No No
Dual-Store Unified Inventory Homebrew + MAS Recommended No No
Preview-First Uninstall Gate Cascaded Impact Warnings No No
1-Click Snapshot Rollback Automatic Pre-Mutation Diff View only No
Atomic Version Pinning 1-Click Pin with Rollback Formulas only No
Background Services Telemetry Live CPU, RAM & Ports Status only No
Mirror Latency Benchmark Fastly, USTC, TUNA, Aliyun No No
Multi-Provider Git Sync GitHub, GitLab, Codeberg, Gitea GitHub only No
Interactive Dependency Canvas Bidirectional Graph Static tree No
Menu Bar Companion Non-Distorting Extra Basic No
Terminal CLI Companion Included (brewstore binary) No No
Cold Launch Speed <20ms (Tokenized Cache) 2–3s 2–3s

Automated Tests & Quality Assurance

BrewStore maintains a comprehensive, automated test suite covering all business logic, synchronization coordinators, security boundaries, and user interactions.

# Execute test suite via Xcodebuild
xcodegen generate
xcodebuild test -scheme BrewStore -destination "platform=macOS"

Verified Test Suites (345 / 345 Passing)

  • AppStorageInspectorTests: Non-destructive per-app cache cleaning, exact size breakdown (Binary vs Caches vs Data), and Trash safety.
  • AppleSiliconMigrationTests: Rosetta 2 emulation detection, native ARM64 migration candidates, and architecture mapping.
  • BackgroundItemsManagerTests: User and system LaunchAgent plists, launchctl execution, and Login Items parsing.
  • MacBlueprintEngineTests: Enhanced Brewfile MAS parsing, bootstrap script generation, and Blueprint restoration.
  • UnifiedAppManagerTests: Dual-store inventory merging, Homebrew recommendation preferences, and 1-click global upgrades.
  • SidebarDestinationSelectionTests: Strict isolation of authentic destinations from non-selectable accessibility headings.
  • MenuBarDistortionPreventionTests: Rigid popover geometry, window size locking, and resize animation suppression.
  • PackagePinningSynchronizationTests: Atomic state consistency between pinning manager, Homebrew state, and failure rollbacks.
  • SpotlightCarouselTargetingTests: Race-condition suppression and pick-bound wishlist interactions.
  • UninstallCoordinatorTests: Preview-first dry-run gates and reverse-dependency warning calculations.
  • TapHealthManagerTests: Official and third-party tap status checks and branch monitoring.
  • SpeedTestManagerTests: CDN ping parsing, clamping, and live update duration estimations.
  • TCCPermissionManagerTests: Accessibility and system extension privilege detection.
  • BrewStoreLockManagerTests: PID lock tracking, timeout handling, and stale lock eviction.
  • CellarScannerTests: Multi-version Cellar discovery and symlink switching.
  • MASReceiptScannerTests: Mac App Store bundle receipts and version resolution.
  • ExecutionSecurityBoundaryTests: Shell sanitization, path escape prevention, and argument injection defense.

Privacy & Security First

  • Zero Telemetry: BrewStore contains zero tracking analytics, zero Google/Firebase SDKs, and zero telemetry beacons.
  • Local Execution: All command executions run strictly through your local Homebrew binary (/opt/homebrew on Apple Silicon or /usr/local on Intel).
  • Biometric Authorization: Sensitive operations leverage Apple's native LocalAuthentication framework for Touch ID and Apple Watch authorization.
  • Ad-Hoc & Hardened Signing: Full compliance with macOS runtime security guidelines.

Roadmap

  • v1.0.0: Native SwiftUI redesign, FastCache engine, K command palette, and interactive dependency graph.
  • v1.0.5: Multi-Provider Git sync (GitLab, Codeberg, Forgejo, Gitea) and Community Showdown bracket tournament engine.
  • v1.1.0:
    • Preview-First Dry-Run Uninstall & Autoremove Coordinator with reverse-dependency impact warnings.
    • Atomic Package Pinning Manager with live progress states and rollback safety.
    • Menu Bar Companion stabilization with rigid geometry and zero-distortion window locking.
    • Accessible non-selectable sidebar group headings.
    • Carousel interaction pause and pick-keyed wishlist binding.
    • Automated Tap Health audits and CI tracking.
    • 276 automated regression tests passing with 0 failures.
  • v1.2.0:
    • P2P Local Network Bottle Caching for multi-Mac offices and home labs.
    • Containerized Sandbox Dry-Runs via Apple Virtualization Framework.
    • Custom tap creation wizard for indie developers.

Contributing

Contributions are warmly welcomed! Please read our Contributing Guidelines and Security Policy before submitting pull requests.

  1. Fork the repository.
  2. Create your feature branch (git checkout -b feature/amazing-feature).
  3. Commit your changes (git commit -m 'feat: add amazing feature').
  4. Push to the branch (git push origin feature/amazing-feature).
  5. Open a Pull Request.

License

BrewStore is licensed under the MIT License. Open source, libre, and proudly independent.

About

A focused macOS Homebrew package manager for installing, updating, and safely removing apps and packages.

Topics

Resources

Contributing

Security policy

Stars

8 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages