Giter VIP home page Giter VIP logo

brewlet's Introduction

BrewLet Icon Brewlet

Release Version 1.3

The missing menulet for brew.sh.

This menulet makes it easier to use brew.sh. For example, you need to manually check if some of your packages can be updated. With Brewlet it's easy: if everything is working swimmingly, then you'll see the normal shadow icon. If updates are available to be installed, the icon will become colored, , to get your attention โ€“ along with a notification if you wish. Once clicked, you'll be able to upgrade your packages, among other options. In addition, Brewlet will periodically check the status of packages in the background, so you don't have to.

When new versions are available, you can update all of them at once or manually choose specific packages:

Installation

Download the latest version from releases or direct link here (zip).

On the horizon

I am currently working on adding more features, listed in order of priority here:

  • Ability to handle casks
  • Ability to install brew if not found
  • About page with detailed information

Update vs Upgrade

The update operation pulls the latest version of Homebrew and updates the metadata related to packages. From the man pages:

Fetch the newest version of Homebrew and all formulae from GitHub using git(1) and perform any necessary migrations.

Whereas upgrade will actually upgrade your outdated packages to the latest version(s).

Upgrade outdated, unpinned formulae using the same options they were originally installed with, plus any appended brew formula options.

Developer

Contributions are welcome!

You can look for logged messages and errors with the Console app, or this command:

$ log show --predicate 'process == "Brewlet"' --info
$ log show --predicate "processID == `pgrep Brewlet`" --info --last 1h

To test for outdated packages, reinstall some older versions from a specific commit. For example:

$ brew uninstall jq 
$ brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/b76347c21bbe20accf0a514b138515e30a48ad12/Formula/jq.rb

To generate images of different sizes, use Inkscape on the command line:

$ len=64 # or use a for loop
$ inkscape --export-type="png" \
           --export-file brewlet-"$len".png \
           -w "$len" \
           brewlet.svg

Brew will redirect output of the upgrade command to a temporary file, you can use this command to locate it.

$ find /var/folders -type f -name 'brewlet*log' 2> /dev/null

License & Acknowledgements

Because this app is closely tied to brew.sh, I used their icon as a template. I also decided to adopt their choice of license: BSD 2-Clause "Simplified" License.

Security & Permissions

Brewlet needs to be able to access to:

  • the brew.sh shell script to get information and take action on your behalf.
  • access to write to your Downloads folder when exporting a list of packages.
  • permissions to send you notifications when updates are available, and when unexpected errors occur.

brewlet's People

Contributors

cmpadden avatar zkokaja avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.