{"id":49351475,"url":"https://github.com/jsfr/spoons","last_synced_at":"2026-04-27T10:03:29.158Z","repository":{"id":39863029,"uuid":"479028110","full_name":"jsfr/Spoons","owner":"jsfr","description":"Personal Hammerspoon Spoons Repository","archived":false,"fork":false,"pushed_at":"2026-02-19T10:48:07.000Z","size":501,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-19T15:15:49.031Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Fennel","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/jsfr.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-04-07T14:48:25.000Z","updated_at":"2026-02-19T10:48:11.000Z","dependencies_parsed_at":"2022-08-27T12:52:15.424Z","dependency_job_id":null,"html_url":"https://github.com/jsfr/Spoons","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jsfr/Spoons","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsfr%2FSpoons","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsfr%2FSpoons/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsfr%2FSpoons/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsfr%2FSpoons/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jsfr","download_url":"https://codeload.github.com/jsfr/Spoons/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsfr%2FSpoons/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32331306,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"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":[],"created_at":"2026-04-27T10:03:11.819Z","updated_at":"2026-04-27T10:03:29.146Z","avatar_url":"https://github.com/jsfr.png","language":"Fennel","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jsfr's Spoons 🥄\n\nPersonal Hammerspoon Spoons Repository\n\nTo use this you are expected to be running [Hammerspoon](https://www.hammerspoon.org/), and it is recommended to set up [SpoonInstall](http://www.hammerspoon.org/Spoons/SpoonInstall.html) for easy use of Spoons. See e.g. [this guide](https://zzamboni.org/post/using-spoons-in-hammerspoon/) for easy setup.\n\n## PullRequestGithub\n\n\u003cimg src=\"/images/PullRequests.png\" width=400 /\u003e\n\nA menubar item showing GitHub Pull Requests the user is part of. The list is split into three parts:\n\n1. Users own PRs.\n2. PRs with review requests to be done.\n3. PRs the user is otherwise involved in.\n\nEach entry shows the PR status with emoji indicators (✅ approved, ❌ changes requested, ⚔️ conflicts, ⏳ pending). CI check status is also displayed via text color. Draft PRs are shown in grey.\n\nClicking an entry opens the PR in the default browser.\n\n### How to install\n\nIf you are using [SpoonInstall](http://www.hammerspoon.org/Spoons/SpoonInstall.html) you can simply add this repo and use the [`andUse`](http://www.hammerspoon.org/Spoons/SpoonInstall.html#andUse) function. A minimal setup example looks like this\n\n```lua\nhs.loadSpoon(\"SpoonInstall\")\n\nspoon.SpoonInstall.repos.jsfr = {\n  url = \"https://github.com/jsfr/Spoons\",\n  desc = \"jsfr's Spoons\",\n  branch = \"main\"\n}\n\nspoon.SpoonInstall:andUse(\n  \"PullRequestGithub\", {\n    config = {\n      username = \"[INSERT GITHUB USERNAME]\",\n      skateItem = \"github-api-token\"\n    },\n    repo = \"jsfr\",\n    start = true\n  }\n)\n```\n\nYou will need a [Personal Access Token](https://github.com/settings/tokens) with the `repo` scope, stored in [skate](https://github.com/charmbracelet/skate). You can store it using:\n\n```sh\nskate set github-api-token [INSERT API TOKEN]\n```\n\n## PullRequestsAzure\n\n\u003cimg src=\"/images/PullRequestsAzure.png\" width=400 /\u003e\n\nA menubar item showing Azure DevOps Pull Requests where the user is either the creator or a reviewer. The list is split into two parts:\n\n1. PRs created by the user.\n2. PRs where the user is a reviewer.\n\nEach entry shows the PR status with emoji indicators (✅ succeeded, ❌ rejected, ⚔️ conflicts, ⏳ pending). CI build status is also displayed via text color.\n\nClicking an entry opens the PR in the default browser.\n\n### How to install\n\nIf you are using [SpoonInstall](http://www.hammerspoon.org/Spoons/SpoonInstall.html) you can simply add this repo and use the [`andUse`](http://www.hammerspoon.org/Spoons/SpoonInstall.html#andUse) function. A minimal setup example looks like this\n\n```lua\nhs.loadSpoon(\"SpoonInstall\")\n\nspoon.SpoonInstall.repos.jsfr = {\n  url = \"https://github.com/jsfr/Spoons\",\n  desc = \"jsfr's Spoons\",\n  branch = \"main\"\n}\n\nspoon.SpoonInstall:andUse(\n  \"PullRequestsAzure\", {\n    config = {\n      organizationUrl = \"https://dev.azure.com/[YOUR_ORG]/\",\n      project = \"[YOUR_PROJECT]\",\n      userEmail = \"[YOUR_EMAIL]\"\n    },\n    repo = \"jsfr\",\n    start = true\n  }\n)\n```\n\nYou will need the [Azure CLI](https://docs.microsoft.com/en-us/cli/azure/install-azure-cli) installed (defaults to `/opt/homebrew/bin/az`) and authenticated with `az login`.\n\n## GHADOPullRequest\n\nA menubar item showing both GitHub and Azure DevOps Pull Requests in a single combined menu. PRs from both sources are merged into flat sections, with each entry prefixed by `[GH]` or `[ADO]` to indicate the source. The list is split into three parts:\n\n1. Your PRs (GitHub authored/assigned + Azure DevOps created).\n2. Review requests (GitHub review requests + Azure DevOps reviewer).\n3. Other involved PRs (GitHub only).\n\nEach entry shows the PR status with emoji indicators (✅ approved/succeeded, ❌ changes requested/rejected, ⚔️ conflicts, ⏳ pending). CI status is also displayed via text color. Draft PRs are shown in grey.\n\nClicking an entry opens the PR in the default browser.\n\n### How to install\n\nIf you are using [SpoonInstall](http://www.hammerspoon.org/Spoons/SpoonInstall.html) you can simply add this repo and use the [`andUse`](http://www.hammerspoon.org/Spoons/SpoonInstall.html#andUse) function. A minimal setup example looks like this\n\n```lua\nhs.loadSpoon(\"SpoonInstall\")\n\nspoon.SpoonInstall.repos.jsfr = {\n  url = \"https://github.com/jsfr/Spoons\",\n  desc = \"jsfr's Spoons\",\n  branch = \"main\"\n}\n\nspoon.SpoonInstall:andUse(\n  \"GHADOPullRequest\", {\n    config = {\n      -- GitHub\n      username = \"[INSERT GITHUB USERNAME]\",\n      skateItem = \"github-api-token\",\n      -- Azure DevOps\n      organizationUrl = \"https://dev.azure.com/[YOUR_ORG]/\",\n      project = \"[YOUR_PROJECT]\",\n      userEmail = \"[YOUR_EMAIL]\"\n    },\n    repo = \"jsfr\",\n    start = true\n  }\n)\n```\n\nYou will need:\n- A GitHub [Personal Access Token](https://github.com/settings/tokens) with the `repo` scope, stored in [skate](https://github.com/charmbracelet/skate):\n  ```sh\n  skate set github-api-token [INSERT API TOKEN]\n  ```\n- The [Azure CLI](https://docs.microsoft.com/en-us/cli/azure/install-azure-cli) installed (defaults to `/opt/homebrew/bin/az`) and authenticated with `az login`.\n\n## YabaiSpaces\n\n\u003cimg src=\"/images/YabaiSpaces.png\" width=150 /\u003e\n\nA menubar item showing a list of spaces currently containing windows, as well as highlighting the currently active window.\n\nThe item comes with the expectation that you are using Yabai as a window manager, and that you have between 1 and 10 spaces.\n\n### How to install\n\nIf you are using [SpoonInstall](http://www.hammerspoon.org/Spoons/SpoonInstall.html) you can simply add this repo and use the [`andUse`](http://www.hammerspoon.org/Spoons/SpoonInstall.html#andUse) function. A minimal setup example looks like this\n\n```lua\nrequire(\"hs.ipc\")\n\nhs.loadSpoon(\"SpoonInstall\")\n\nspoon.SpoonInstall.repos.jsfr = {\n  url = \"https://github.com/jsfr/Spoons\",\n  desc = \"jsfr's Spoons\",\n  branch = \"main\"\n}\n\nspoon.SpoonInstall:andUse(\"YabaiSpaces\", {repo = \"jsfr\"})\n```\n\nYou will need to ensure that the `hs` IPC CLI is installed on your system which can be done by using the [`hs.ipc.cliInstall`](https://www.hammerspoon.org/docs/hs.ipc.html#cliInstall)\n\nTo ensure that the signals which the spoon adds to Yabai are always present you may also want to add the following command to your `.yabairc`\n\n```sh\n## Add signals for Hammerspoon Yabai Widget\nhs -c \"spoon.YabaiSpaces:add_signals()\"\n\n# go through all spaces to pick up all windows\nactive_space=$(yabai -m query --spaces --space | jq -r \".index\")\nlast_space=$(yabai -m query --spaces | jq -r \"[.[] | .index] | max\")\nfor i in $(seq 1 \"$last_space\"); do yabai -m space --focus \"$i\"; sleep 0.1; done\nyabai -m space --focus \"$active_space\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsfr%2Fspoons","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjsfr%2Fspoons","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsfr%2Fspoons/lists"}