Skip to main content

An interactive TUI browser for Homebrew packages

Project description

Brewse

An interactive TUI (Terminal User Interface) browser for Homebrew packages. Brewse provides a fast, user-friendly way to search, view, and install or uninstall Homebrew packages.

Installation

Using Homebrew (recommended)

brew install jonasjancarik/brewse/brewse

Usage

Launch Brewse in one of two ways:

  1. Interactive search mode:
brewse
  1. Direct search mode:
brewse <search-term>

Command-line Options

brewse --help            # Show all available options
brewse --version         # Show version number
brewse --refresh         # Force refresh of cached package data
brewse --clear-cache     # Clear all cached data and exit

Cache

Brewse caches package data in ~/.cache/brewse/ to improve performance. Cache entries expire after 24 hours.

Alternative Installation Methods

Using pip

pip install brewse

Using pipx or uvx

Run in an isolated environment with pipx:

pipx install brewse

Or run instantly without installation using uvx:

uvx brewse

Note: uvx requires uv to be installed first:

brew install uv

Development & Releases

Release Process

Brewse uses automated releases with GitHub Actions:

  1. Update version in pyproject.toml and src/brewse/__init__.py
  2. Build and publish to PyPI:
    uv build
    uv publish
    
  3. Create a GitHub release:
    gh release create v0.1.3 --generate-notes
    

The GitHub Action will automatically:

  • Download the tarball from PyPI
  • Calculate the SHA256 hash
  • Update the Homebrew tap formula
  • Push changes to the homebrew-brewse repository

See .github/AUTOMATION_SETUP.md for setup details. (Useful if you want to fork this repo, obviously you will need to change the GitHub username.)

Manual Tap Update

If needed, you can manually update the Homebrew tap:

cd ~/homebrew-brewse
./update-formula.sh 0.1.3

License

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

brewse-0.2.1.tar.gz (273.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

brewse-0.2.1-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

File details

Details for the file brewse-0.2.1.tar.gz.

File metadata

  • Download URL: brewse-0.2.1.tar.gz
  • Upload date:
  • Size: 273.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.4

File hashes

Hashes for brewse-0.2.1.tar.gz
Algorithm Hash digest
SHA256 d754a196b78f796779ba0165d1485c189821c92bdcc715e40ca69900a5f9b363
MD5 81fc1cad9b43b439c73531321c9ace7f
BLAKE2b-256 64f760b8e57259d558e1a5cfe7b6c7fce36db0614819de6333ed3b90ee825418

See more details on using hashes here.

File details

Details for the file brewse-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: brewse-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 18.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.4

File hashes

Hashes for brewse-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 82ab3f5e826a71c261039f8a1b3c15c216d9d5125be0d9790d7bbc6aaf3f4777
MD5 79509c416626ece093fbc6258730f89f
BLAKE2b-256 675443ef75fa83deb414310d588a3b38b172c80f2b5db6c33d24ff8d52cfce5f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page