{"id":31721170,"url":"https://github.com/obecker/brew-auto-update-spoon","last_synced_at":"2026-04-11T21:35:10.909Z","repository":{"id":185842317,"uuid":"673804481","full_name":"obecker/brew-auto-update-spoon","owner":"obecker","description":"Hammerspoon plugin for running \"brew update\" automatically","archived":false,"fork":false,"pushed_at":"2023-08-16T15:16:49.000Z","size":125,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-08-16T17:39:41.311Z","etag":null,"topics":["hammerspoon","homebrew"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/obecker.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}},"created_at":"2023-08-02T13:11:15.000Z","updated_at":"2023-08-16T17:39:41.312Z","dependencies_parsed_at":null,"dependency_job_id":"7f66879e-b661-462f-aa2e-12d95618907e","html_url":"https://github.com/obecker/brew-auto-update-spoon","commit_stats":null,"previous_names":["obecker/brew-auto-update-spoon"],"tags_count":1,"template":null,"template_full_name":null,"purl":"pkg:github/obecker/brew-auto-update-spoon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obecker%2Fbrew-auto-update-spoon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obecker%2Fbrew-auto-update-spoon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obecker%2Fbrew-auto-update-spoon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obecker%2Fbrew-auto-update-spoon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/obecker","download_url":"https://codeload.github.com/obecker/brew-auto-update-spoon/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obecker%2Fbrew-auto-update-spoon/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000713,"owners_count":26082911,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["hammerspoon","homebrew"],"created_at":"2025-10-09T03:42:41.215Z","updated_at":"2025-10-09T03:42:44.035Z","avatar_url":"https://github.com/obecker.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![GitHub release](https://img.shields.io/github/v/release/obecker/brew-auto-update-spoon?logo=github)](https://github.com/obecker/brew-auto-update-spoon/releases)\n\n# BrewAutoUpdate.spoon\n[Hammerspoon](https://www.hammerspoon.org) plugin (a.k.a. [Spoon](https://www.hammerspoon.org/go/#spoonsintro)) \nfor running `brew update` automatically.\n\nThe plugin executes `brew update` at Hammerspoon's startup and then repeatedly every 8 hours (or some other defined interval).\nIf there are outdated packages (determined by executing `brew outdated`) it will display a notification with a button\nto run `brew upgrade` in a Terminal.\n\n![Example notification](images/notification.png)\n\nIn case there are too many outdated packages that cannot be fully displayed within the limited space of the \nnotification's contents area, then clicking this contents area will toggle an alert with the full information.\n\n## Installation\n\n_Prerequisite_: you have [Hammerspoon](https://www.hammerspoon.org) installed.\n\nDownload the latest **BrewAutoUpdate.spoon.zip** file from the [Releases](https://github.com/obecker/brew-auto-update-spoon/releases) \npage and double-click the extracted `BrewAutoUpdate.spoon` folder. \nHammerspoon should automatically move it into your `$HOME/.hammerspoon/Spoons/` folder.\n\nAdd this line to your `$HOME/.hammerspoon/init.lua` file:\n```lua\nhs.loadSpoon(\"BrewAutoUpdate\"):start()\n```\n\nThe plugin will auto-detect your `brew` binary and uses by default an update interval of 8 hours and a duration of \n5 seconds for displaying the additional information alert.\nYou may overwrite these settings with\n```lua\nhs.loadSpoon(\"BrewAutoUpdate\"):config({\n    brewBinary = \"/path/to/your/brew\",\n    updateInterval = \"6h\", -- check for updates every 6 hours\n    alertSeconds = 3 -- close the info alert after 3 seconds\n}):start()\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobecker%2Fbrew-auto-update-spoon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fobecker%2Fbrew-auto-update-spoon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobecker%2Fbrew-auto-update-spoon/lists"}