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.0.tar.gz (19.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.0-py3-none-any.whl (15.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for brewse-0.2.0.tar.gz
Algorithm Hash digest
SHA256 fbed1c0d8a734c91a60cd8a49dc3ea15cc1ed336b9e78f66729376acb3d975cd
MD5 6a240929c1be3f5a1c054f16023656f1
BLAKE2b-256 080cb2d2e906a206ef4fef7b28b4b2679284b95f7dbbc899ba780f7371e5658c

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for brewse-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5f1f0afb424ba2c5de90c579ae98323325fb396bcdfe95c5dbe9521eaed54c27
MD5 ce4224a0677f997a8f29ee8566c64c62
BLAKE2b-256 0ac8c4422d0e406b7e6436585064fffe4c8ff18a1a6d9c19079e5ece8aa3af27

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