{"id":15715908,"url":"https://github.com/mietzen/xbar-homebrew-update-plugin","last_synced_at":"2025-03-30T20:18:43.826Z","repository":{"id":158256163,"uuid":"633908752","full_name":"mietzen/xbar-homebrew-update-plugin","owner":"mietzen","description":"This xbar plugin let's you update formulae and casks.","archived":false,"fork":false,"pushed_at":"2024-11-04T08:59:22.000Z","size":1389,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-05T23:01:31.510Z","etag":null,"topics":["brew","cask","homebrew","updater","xbar","xbar-plugin"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mietzen.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-28T15:00:08.000Z","updated_at":"2024-11-04T08:59:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"b014e116-8873-47ed-b086-03decdb25c11","html_url":"https://github.com/mietzen/xbar-homebrew-update-plugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mietzen%2Fxbar-homebrew-update-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mietzen%2Fxbar-homebrew-update-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mietzen%2Fxbar-homebrew-update-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mietzen%2Fxbar-homebrew-update-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mietzen","download_url":"https://codeload.github.com/mietzen/xbar-homebrew-update-plugin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246372743,"owners_count":20766635,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["brew","cask","homebrew","updater","xbar","xbar-plugin"],"created_at":"2024-10-03T21:43:24.479Z","updated_at":"2025-03-30T20:18:43.805Z","avatar_url":"https://github.com/mietzen.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# xbar Homebrew Update\n\nThis [xbar](https://github.com/matryer/xbar) plugin let's you update `formulae` and `casks`.\n\n## Install\n\nDownload and install the plugin:\n\n```shell\nmkdir \"~/Library/Application Support/xbar/plugins/homebrew-update\"\nwget -qO- https://github.com/mietzen/xbar-homebrew-update-plugin/archive/refs/heads/main.tar.gz | tar xvz -C \"~/Library/Application Support/xbar/plugins/homebrew-update\" --strip-components=1\nln -s \"~/Library/Application Support/xbar/plugins/homebrew-update/homebrew-update.1h.sh\" \"~/Library/Application Support/xbar/plugins/homebrew-update.1h.sh\"\n```\n\n### Working with \"sudo\" casks\n\nTo make this work with `casks` that need `root` access to be installed, the easiest way is to enable `sudo` via touch-id:\n\n```shell\ncat \u003c\u003c 'EOF' \u003e\u003e ~/.zshrc\n\n# Enable touch-id for sudo\nenable-sudo-touch-id() {\n    if ! grep -c pam_tid.so /etc/pam.d/sudo \u0026\u003e /dev/null; then\n        echo \"Enable sudo via Touch ID\"\n        sudo cp /etc/pam.d/sudo /etc/pam.d/sudo.bak\n        awk -v text=\"auth       sufficient     pam_tid.so\" '!/^#/ \u0026\u0026 !p {print text; p=1} 1' /etc/pam.d/sudo | sudo tee /etc/pam.d/sudo \u0026\u003e /dev/null\n    fi\n}\nenable-sudo-touch-id\n\nEOF\nexec zsh\nenable-sudo-touch-id\n```\n\n## Usage\n\n![Menu Demo](assets/menu.png)\n\nIf you click on a `formula` or `cask` a Terminal opens to upgrade the specific `formula` or `cask`. You can also click on `Upgrade All` to update all listed `formulae` and `casks`.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmietzen%2Fxbar-homebrew-update-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmietzen%2Fxbar-homebrew-update-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmietzen%2Fxbar-homebrew-update-plugin/lists"}