No description
  • Go 64.6%
  • EJS 23.7%
  • JavaScript 4.9%
  • Shell 3.9%
  • Makefile 2.6%
  • Other 0.3%
Find a file
Vito Castellano 1440949df3
refactor(services): introduce DataProvider pattern for data loading
Extract data loading logic into a dedicated DataProvider service that
handles all data retrieval operations (formulae, casks, analytics, cache).
BrewService now delegates to DataProvider via interface for better
testability and separation of concerns.

Also centralizes cache file name constants in dataprovider.go for
maintainability.
2025-12-29 00:42:54 +01:00
.github/workflows chore: add binary artifact (#38) 2025-11-22 01:24:34 +01:00
cmd/bbrew feat: add Brewfile mode for curated package collections (#37) 2025-11-23 18:54:56 +01:00
docs docs: update website with v2.0 features and cross-platform support 2025-10-13 23:14:42 +02:00
examples feat: add Brewfile mode for curated package collections (#37) 2025-11-23 18:54:56 +01:00
internal refactor(services): introduce DataProvider pattern for data loading 2025-12-29 00:42:54 +01:00
site docs: update website with v2.0 features and cross-platform support 2025-10-13 23:14:42 +02:00
.env chore: release version 2.0.0 - Cask support and XDG compliance (#30) 2025-10-13 21:26:18 +02:00
.gitignore added site content generator 2025-03-30 01:05:41 +01:00
.golangci.yaml feat: io service refactoring (#18) 2025-06-25 17:26:35 +02:00
.goreleaser.yaml feat: added linux build support (#19) 2025-06-25 22:26:54 +02:00
build.js docs: update website with v2.0 features and cross-platform support 2025-10-13 23:14:42 +02:00
Containerfile chore: release version 2.0.0 - Cask support and XDG compliance (#30) 2025-10-13 21:26:18 +02:00
go.mod chore: release version 2.0.0 - Cask support and XDG compliance (#30) 2025-10-13 21:26:18 +02:00
go.sum chore: release version 2.0.0 - Cask support and XDG compliance (#30) 2025-10-13 21:26:18 +02:00
LICENSE Create LICENSE 2025-02-02 01:57:05 +01:00
Makefile chore: release version 2.0.0 - Cask support and XDG compliance (#30) 2025-10-13 21:26:18 +02:00
package-lock.json added site content generator 2025-03-30 01:05:41 +01:00
package.json added site content generator 2025-03-30 01:05:41 +01:00
README.md feat: add Brewfile mode for curated package collections (#37) 2025-11-23 18:54:56 +01:00

Bold Brew Logo

Bold Brew (bbrew)

A modern Terminal UI for managing Homebrew packages and casks


🌟 Official Homebrew TUI for Project Bluefin

Bold Brew is the official Terminal UI for managing Homebrew in Project Bluefin and Aurora, next-generation Linux desktops that serve tens of thousands of users worldwide.

"This application features full package management for homebrew in a nice nerdy interface"
Bluefin Documentation

Project Bluefin Aurora Universal Blue


Features

  • 🚀 Modern TUI Interface - Clean and responsive terminal user interface
  • 📦 Complete Package Management - Manage both Homebrew formulae and casks
  • 📋 Brewfile Mode - Curated package collections from Brewfiles (perfect for themed installers)
  • 🔍 Advanced Search - Fast fuzzy search across all packages
  • 🎯 Smart Filters - Filter by installed, outdated, leaves, or casks
  • 📊 Analytics Integration - See popular packages based on 90-day download stats
  • 🔄 Real-time Updates - Live feedback during package operations
  • ⌨️ Keyboard Shortcuts - Intuitive keybindings for all operations
  • 🎨 Type Indicators - Visual distinction between formulae [F] and casks [C]
  • 🗂️ XDG Compliance - Follows XDG Base Directory Specification for cache storage
  • 🔒 Security Scanning - Automated vulnerability and security checks

🛠️ Installation

Via Homebrew

brew install Valkyrie00/homebrew-bbrew/bbrew

Manually

Download the latest version from the releases page

📖 Quick Start

Standard Mode

Launch the application to browse all Homebrew packages:

bbrew

Brewfile Mode (New!)

Launch with a curated Brewfile to show only specific packages:

bbrew -f /path/to/Brewfile

In Brewfile mode, you can:

  • View only packages from the Brewfile
  • Pick and choose what to install individually
  • Use all standard features (search, filters, etc.)

Perfect for creating themed collections like IDE choosers, dev tools, AI tools, K8s tools, etc.

See the examples/ directory for ready-to-use Brewfiles.

Keyboard Shortcuts

  • / - Search packages (fuzzy search)
  • ↑/↓ or j/k - Navigate package list
  • Enter - View package details
  • Esc - Clear search / Close modals

Filters

  • F - Filter installed packages
  • O - Filter outdated packages
  • L - Filter leaves (explicitly installed, no dependencies)
  • C - Filter casks only

Package Operations

  • I - Install selected package
  • U - Update selected package
  • R - Remove selected package
  • Ctrl+U - Update all outdated packages

Other

  • Ctrl+R - Refresh package database
  • Q - Quit application

📋 What's New in v2.0.0

🎉 Major Features

  • Homebrew Casks Support - Full support for managing GUI applications and binaries
  • Leaves Filter - Show only explicitly installed packages (excluding dependencies)
  • XDG Base Directory Support - Cache follows platform standards (~/.cache/bbrew on Linux, ~/Library/Caches/bbrew on macOS)
  • Type Indicators - Clear visual distinction between formulae [F] and casks [C]

🔧 Technical Improvements

  • Updated to Go 1.25
  • Migrated to Podman and OCI-compliant Containerfile
  • Enhanced Makefile with 15+ new targets and help system
  • Integrated automated security scanning (govulncheck + gosec)
  • Fixed implicit memory aliasing issues
  • Improved error handling and logging

🐛 Bug Fixes

  • Fixed cask analytics endpoint
  • Corrected installed casks detection
  • Fixed tview special character rendering for type tags
  • Improved directory permission handling (0750)

🖼️ Screenshots

Main Screenshot

Main interface with package list and filters

Install Screenshot

Filtered view showing installed packages

Search Screenshot

Fuzzy search in action

📊 Platform Support

Platform Support Notes
🍎 macOS Full Native Homebrew support
🐧 Linux Full Linuxbrew/Homebrew support

🛡️ Security

Security is a priority for Bold Brew. We use:

  • govulncheck - Go vulnerability database scanning
  • gosec - Static security analysis
  • Automated CI/CD - Security checks on every PR and push

Found a security issue? Please report it privately via GitHub Security Advisories.

🔧 Development

Prerequisites

  • Go 1.25+
  • Homebrew (for testing)
  • Podman (optional, for containerized builds)

Building from Source

# Clone the repository
git clone https://github.com/Valkyrie00/bold-brew.git
cd bold-brew

# Build locally
make build-local

# Run tests
make test

# Run linter
make quality-local

# Run security scans
make security

Project Structure

bold-brew/
├── cmd/bbrew/           # Main application entry point
├── internal/
│   ├── models/          # Data models (Formula, Cask, Package)
│   ├── services/        # Business logic (Brew, App, I/O)
│   └── ui/              # TUI components and layout
├── .github/workflows/   # CI/CD pipelines
└── Makefile             # Build automation

🤝 Contributing

Contributions are welcome! Please:

  1. 🍴 Fork the project
  2. 🔨 Create your feature branch (git checkout -b feat/amazing-feature)
  3. 📝 Commit your changes using Conventional Commits
  4. 🧪 Run tests and linters (make test quality-local)
  5. 🚀 Push to the branch (git push origin feat/amazing-feature)
  6. 📬 Open a Pull Request

🦸Contributors

Bold Brew exists thanks to the efforts of these wonderful people

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

💖 Support


Built with ❤️ for the community and for all developers