{"id":16737949,"url":"https://github.com/tatey/lighting","last_synced_at":"2025-11-11T20:31:06.589Z","repository":{"id":29525392,"uuid":"33063956","full_name":"tatey/Lighting","owner":"tatey","description":"Control LIFX lights from your Mac via a Notification Center Widget","archived":false,"fork":false,"pushed_at":"2019-09-14T10:49:10.000Z","size":11288,"stargazers_count":108,"open_issues_count":9,"forks_count":9,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-03-08T14:45:27.230Z","etag":null,"topics":["lifx","macos","notification-center","swift","widget"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tatey.png","metadata":{"files":{"readme":"README.markdown","changelog":"CHANGELOG.markdown","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-29T06:28:34.000Z","updated_at":"2025-02-22T18:24:00.000Z","dependencies_parsed_at":"2022-09-06T16:41:01.593Z","dependency_job_id":null,"html_url":"https://github.com/tatey/Lighting","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tatey%2FLighting","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tatey%2FLighting/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tatey%2FLighting/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tatey%2FLighting/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tatey","download_url":"https://codeload.github.com/tatey/Lighting/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243836015,"owners_count":20355615,"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":["lifx","macos","notification-center","swift","widget"],"created_at":"2024-10-13T00:28:36.443Z","updated_at":"2025-11-11T20:31:06.533Z","avatar_url":"https://github.com/tatey.png","language":"Swift","readme":"![](Design/README/Logo.png)\n\n# Lighting: Control LIFX lights from your Mac [![GitHub release](https://img.shields.io/github/release/tatey/Lighting.svg)](https://github.com/tatey/Lighting/releases/latest) [![GitHub license](https://img.shields.io/github/license/tatey/Lighting.svg)](https://raw.githubusercontent.com/tatey/Lighting/master/LICENSE.txt)\n\nA macOS widget for controlling LIFX lights via the [LIFX HTTP API](http://api.developer.lifx.com/docs). Built on top of [LIFXHTTPKit](https://github.com/tatey/LIFXHTTPKit).\n\n![](Design/README/ScreenshotPreview3.gif)\n![](Design/README/ScreenshotPreview4.gif)\n\n*Note: This is not an official LIFX project.*\n\n## Installation\n\nRequires macOS 10.12 Sierra, 10.11 El Capitan, or 10.10 Yosemite.\n\n1. Download the [latest zip file](https://github.com/tatey/Lighting/releases/latest),\n   extract the binary, and drag into your Application folder.\n2. Open \"Lighting.app\" and login with your personal access token.\n3. Open Notification Center and add the \"Lighting\" widget.\n\nAlternatively, you can install via Homebrew-Cask.\n\n    $ brew cask install lighting\n\n## Development\n\nFirst, you need the following system dependencies:\n\n* Swift 3.0 (Xcode 8.3)\n* macOS 10.10+\n* [Carthage](https://github.com/Carthage/Carthage)\n\nThen, install the application dependencies:\n\n    $ carthage bootstrap --platform Mac\n\nFinally, build the \"Main\" or \"Widget\" target.\n\n### Main target\n\nThe main target is responsible for configuring the access token. It notifies\nthe widget when the access token changes.\n\n![](Design/README/ScreenshotTargetMain.jpg)\n\n1. Open Lighting.xcodeproj\n2. Select \"Main \u003e My Mac\"\n3. Run\n\n### Widget Target\n\nThe widget target implements a view controller conforming to `NCWidgetProviding`\nfor toggling lights on and off.\n\n![](Design/README/ScreenshotTargetWidget.png)\n\n1. Open Lighting.xcodeproj\n2. Select \"Widget \u003e My Mac\"\n3. Run\n4. Pick \"Widget Simulator\" when prompted to run the application\n\n## Special Thanks\n\nThanks to the following people for helping to improve this project:\n\n* [@segan5](https://github.com/segan5)\n* [@TheDaem0n](https://github.com/TheDaem0n)\n* [@lucymhdavies](https://github.com/lucymhdavies)\n* [@lparry](https://github.com/lparry)\n* [@jamesottaway](https://github.com/jamesottaway)\n\n## Copyright\n\nFollowing files, directories and their contents are copyright [Webalys Limited](http://streamlineicons.com).\nYou may not reuse anything therein without purchasing a license:\n\n* Main/Images.xcassets/logged-in-icon-success.imageset/Icons-48px.png\n* Main/Images.xcassets/logged-in-icon-success.imageset/Icons-48px@2x.png\n\nAll other files and directories are copyright Tate Johnson and licensed under\nthe GPLv3 license. See [LICENSE](LICENSE.txt).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftatey%2Flighting","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftatey%2Flighting","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftatey%2Flighting/lists"}