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/tap/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.3.0 --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-tap 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-tap
./update-formula.sh 0.3.0

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.3.0.tar.gz (267.5 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.3.0-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for brewse-0.3.0.tar.gz
Algorithm Hash digest
SHA256 32c286d8a7b42232cf443144b3ae4baa10e66d29d15611db8e1600de5929e01b
MD5 d82a7c8aae218f395c96f639f32afd8c
BLAKE2b-256 8bd71b87c7034ef00152c631c6f4076c9a747d59044c81f0ab24e7533416d5b9

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for brewse-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9f13eca383f8dde00e735ab4498ccf7e9f3c871da700e5bfe6a90ccbd3aca7d2
MD5 9f99f25c05c005c6de0414fe338323eb
BLAKE2b-256 7399bf15fde1b65c0f93a7f75d78ae3b43f9c1244976e8cdfc0c4124c80733bc

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