{"id":15481101,"url":"https://github.com/davidsword/alfred-unicorn-busy-server","last_synced_at":"2026-04-18T19:32:16.886Z","repository":{"id":136189322,"uuid":"261856753","full_name":"davidsword/alfred-unicorn-busy-server","owner":"davidsword","description":"🦄 Alfred Workflow to manage status of a Unicorn Busy Server.","archived":false,"fork":false,"pushed_at":"2020-06-27T06:52:27.000Z","size":3204,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-21T05:38:45.010Z","etag":null,"topics":["alfred-workflow","raspberry-pi"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/davidsword.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":"2020-05-06T19:17:45.000Z","updated_at":"2020-06-27T06:52:29.000Z","dependencies_parsed_at":"2023-07-23T02:17:31.073Z","dependency_job_id":null,"html_url":"https://github.com/davidsword/alfred-unicorn-busy-server","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/davidsword/alfred-unicorn-busy-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidsword%2Falfred-unicorn-busy-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidsword%2Falfred-unicorn-busy-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidsword%2Falfred-unicorn-busy-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidsword%2Falfred-unicorn-busy-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidsword","download_url":"https://codeload.github.com/davidsword/alfred-unicorn-busy-server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidsword%2Falfred-unicorn-busy-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31982599,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T17:30:12.329Z","status":"ssl_error","status_checked_at":"2026-04-18T17:29:59.069Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["alfred-workflow","raspberry-pi"],"created_at":"2024-10-02T05:01:27.745Z","updated_at":"2026-04-18T19:32:16.876Z","avatar_url":"https://github.com/davidsword.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🦄 Alfred Unicorn Busy Server\n\nAlfred Workflow to manage status of a [unicorn-busy-server](https://github.com/estruyf/unicorn-busy-server/).\n\n![](images/workflow.png)\n\n## Setup\n\n1. Requires **@estruyf** 's [unicorn-busy-server](https://github.com/estruyf/unicorn-busy-server/) server running on a Raspberry Pi w/ a [Pimoroni Unicorn pHAT](https://shop.pimoroni.com/products/unicorn-phat)\n2. Download latest Workflow from [Releases](https://github.com/davidsword/alfred-unicorn-busy-server/releases)\t tab and install into Alfred\n3. Set variables\n  - `UBS_BRIGHTNESS` a float for default brightness, between `0.2`-`0.5`\n  - `UBS_ADDRESS` the address of your rpi with the port and no trailing slash, example `http://192.0.0.0:5000`\n\n## Usage\n\n![](images/status-current.png)\n\n- Keyword trigger `ubs` view status\n- `⌅` to enter the change status\n- `⌘⌅` to quick change status to Busy\n- `⌥⌅` to quick change status off\n\n![](images/status-select.png)\n\n\n## Integration\n\nUse external trigger to use workflow to control the status:\n\n```applescript\ntell application id \"com.runningwithcrayons.Alfred\" to run trigger \"ubs\" in workflow \"com.davidsword.alfredunicornbusyserver\" with argument \"Busy\"\n```\n\nAccepts `Busy`, `Avaliable`, `Away`, `Rainbow`, `Off`\n\n## TODO\n\n- [ ] Brightness isn't respected at the API level\n- [ ] Rainbow via this CURL doesn't work on the API, its `500`ing (for me at least)\n- [ ] support for the `/api/switch` endpoint, passing in hex colours, ie `ubs #c0ffee`\n\n## Links\n\n* https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/\n* https://github.com/estruyf/unicorn-busy-server/\n* https://davidsword.ca/slack-busy-light/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidsword%2Falfred-unicorn-busy-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidsword%2Falfred-unicorn-busy-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidsword%2Falfred-unicorn-busy-server/lists"}