{"id":13582422,"url":"https://github.com/mafredri/macos-darkmode","last_synced_at":"2025-03-16T01:33:02.769Z","repository":{"id":57576994,"uuid":"181042951","full_name":"mafredri/macos-darkmode","owner":"mafredri","description":"Simple CLI for controlling macOS Dark Mode via Apples private API","archived":false,"fork":false,"pushed_at":"2019-04-13T11:33:33.000Z","size":3,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-27T04:46:33.211Z","etag":null,"topics":["cli","dark-mode","darkmode","macos"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/mafredri.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}},"created_at":"2019-04-12T16:15:06.000Z","updated_at":"2025-02-10T13:19:37.000Z","dependencies_parsed_at":"2022-09-11T22:50:31.626Z","dependency_job_id":null,"html_url":"https://github.com/mafredri/macos-darkmode","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/mafredri%2Fmacos-darkmode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mafredri%2Fmacos-darkmode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mafredri%2Fmacos-darkmode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mafredri%2Fmacos-darkmode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mafredri","download_url":"https://codeload.github.com/mafredri/macos-darkmode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243801635,"owners_count":20350107,"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":["cli","dark-mode","darkmode","macos"],"created_at":"2024-08-01T15:02:41.964Z","updated_at":"2025-03-16T01:33:02.478Z","avatar_url":"https://github.com/mafredri.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# macos-darkmode\n\nYour friendly neighbordhood macOS Dark Mode CLI. Dark Mode is set via Apples private APIs instead of the usual Apple Script.\n\nTested on macOS Mojave (10.14).\n\n## Installing\n\n```console\n$ go get -u github.com/mafredri/macos-darkmode/cmd/darkmode\n```\n\n## Usage\n\n### Get current Dark Mode\n\n```console\n$ darkmode\non\n```\n\n### Set Dark Mode\n\n```console\n$ darkmode on\n$ darkmode off\n$ darkmode toggle\n```\n\n## Why?\n\nSometimes setting Dark Mode via Apple Script just doesn't work, I wanted a more reliable method.\n\n## See also\n\n- [macos-brightness](https://github.com/mafredri/macos-brightness): Simple CLI for changing brightness on macOS\n\n## Thanks\n\nThanks to Saagar Jha for discovering the private APIs and sharing them in his post on [Scheduling Dark Mode](https://saagarjha.com/blog/2018/12/01/scheduling-dark-mode/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmafredri%2Fmacos-darkmode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmafredri%2Fmacos-darkmode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmafredri%2Fmacos-darkmode/lists"}