Skip to content

ofkm/goobrew

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

goobrew 🍺 (like goober)

Tests Go Report Card License

Note

This is a WIP eventually want to make this a standlone brew client instead of a wrapper.

A opinionated fast and friendly wrapper for Homebrew written in Go.

Features

  • Fast: Built in Go for optimal performance
  • User-friendly: Enhanced UX with nerd-font icon indicators and timing information
  • Full Homebrew compatibility: All standard brew commands work seamlessly
  • Convenient aliases: Shorter commands for common operations

Installation

Using go install

go install github.com/ofkm/goobrew@latest

From source

git clone https://github.com/ofkm/goobrew.git
cd goobrew
make build
# Or: make install to install to $GOPATH/bin

Usage

goobrew wraps Homebrew commands with enhanced feedback and user experience:

Common Commands

# Install packages (alias: i)
goobrew install wget
goobrew i git

# Uninstall packages (aliases: remove, rm)
goobrew uninstall wget
goobrew rm git

# Search for packages (alias: s)
goobrew search python
goobrew s node

# Update Homebrew (alias: up)
goobrew update

# Upgrade packages
goobrew upgrade
goobrew upgrade git

# List installed packages (alias: ls)
goobrew list
goobrew ls

# Show package information
goobrew info git

# Show version
goobrew version

Pass-through to Homebrew

Any command not explicitly handled by goobrew is automatically passed through to Homebrew:

goobrew doctor
goobrew cleanup
goobrew services list

Why goobrew?

  • Better feedback: Clear emoji indicators and execution timing
  • Familiar syntax: Works exactly like brew, but better
  • Shorter commands: Convenient aliases for frequently used commands
  • No learning curve: If you know brew, you know goobrew

Requirements

  • Go 1.21 or higher
  • Homebrew installed on your system

License

MIT

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

About

A opinionated fast and friendly wrapper for Homebrew written in Go.

Topics

Resources

License

Stars

Watchers

Forks