{"id":20132395,"url":"https://github.com/stephtr/brightnessswitch","last_synced_at":"2025-04-09T16:53:12.077Z","repository":{"id":115040572,"uuid":"256751362","full_name":"stephtr/BrightnessSwitch","owner":"stephtr","description":"This application automatically switches between Windows' light and dark theme, depending on the current illumination.","archived":false,"fork":false,"pushed_at":"2024-06-06T23:29:30.000Z","size":361,"stargazers_count":12,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T19:03:33.087Z","etag":null,"topics":["customization","dark-theme","theme-switcher","windows","windows-10","windows-10-theme"],"latest_commit_sha":null,"homepage":"","language":"C#","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/stephtr.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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-04-18T12:44:24.000Z","updated_at":"2024-06-06T23:29:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"0f8a2f99-59cc-4502-a6dc-37c8dfea23ee","html_url":"https://github.com/stephtr/BrightnessSwitch","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephtr%2FBrightnessSwitch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephtr%2FBrightnessSwitch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephtr%2FBrightnessSwitch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephtr%2FBrightnessSwitch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stephtr","download_url":"https://codeload.github.com/stephtr/BrightnessSwitch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248073663,"owners_count":21043473,"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":["customization","dark-theme","theme-switcher","windows","windows-10","windows-10-theme"],"created_at":"2024-11-13T20:53:26.211Z","updated_at":"2025-04-09T16:53:12.049Z","avatar_url":"https://github.com/stephtr.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BrightnessSwitch\n\n[\u003cimg src=\"images/microsoft_store_badge.svg\" alt=\"Get it from Microsoft\" width=\"150\" /\u003e](https://www.microsoft.com/store/productId/9NK5PND0SQ07)\n\n_Do you have a notebook with Fn and function keys combined and have issues with combinations like \u003ckbd\u003eAlt\u003c/kbd\u003e+\u003ckbd\u003eF4\u003c/kbd\u003e? Make sure to also check out [FixSurfaceKeyboard](https://github.com/stephtr/FixSurfaceKeyboard)._\n\n---\n\nBrightnessSwitch automatically switches between Windows' Light- and Dark-Theme, depending on the ambient brightness, detected via your device's light sensor.\n\n![Screenshot](images/screenshot.png)\u003cbr /\u003e\n_Screenshot of the app_\n\nIn order to control the switching mechanism, it adds a tray icon where one can enable or disable automatic switching of themes, but also an option to manually switch the theme.\n\nIf automatic switching is enabled and one switches the theme, machine learning (support vector machine, to be precise) is being used for optimizing the automatic switching mechanism.\n\n## Download\n\n- [Microsoft Store](https://www.microsoft.com/store/productId/9NK5PND0SQ07)\n- .zip package: [Latest release](https://github.com/stephtr/BrightnessSwitch/releases)\n\n## Running the app\n\nThe easiest and recommended way is to use the [Microsoft Store](https://www.microsoft.com/store/productId/9NK5PND0SQ07) version. If you prefer to manually run the app, follow these steps:\n\nDownload the [latest release](https://github.com/stephtr/BrightnessSwitch/releases) and extract it to a folder of your choice. The app is written in C# (.NET 5.0) and therefore needs the [Desktop Runtime 5.0](https://dotnet.microsoft.com/download/dotnet/5.0#runtime-desktop-5.0.0-preview.2) to be installed. Then run `BrightnessControl.exe`, autostart with Windows can be enabled via the context menu.\n\n## Known issues\n\n* [#8](https://github.com/stephtr/BrightnessSwitch/issues/8): On Windows 11, some apps (like Explorer) don't fully respect the theme change. So far, I don't know of any way to circumvent that.\n\n## Privacy\n\nThe app itself doesn't send any data to any server. For the Microsoft Store version, Windows may send some diagnostic informations to Microsoft.\n\n## Building from source\n\nFor building the app from scratch, you need to have the [.NET SDK 5.0 (preview)](https://dotnet.microsoft.com/download/dotnet/5.0) installed.\n\nAfter cloning or downloading the source, running `dotnet run` is sufficient for automatically restoring, building and running the app.\n\nIncluded with the source is also a small Python script for analysing the app's SVM configuration. By running `analysis.py`, it shows a plot containing all your recent manual interventions as dots. The vertical line corresponds to the criteria for switching between light and dark theme with the shaded area being a measure for the uncertainty.\n\n![Screenshot analysis](images/screenshot_analysis.png)\u003cbr /\u003e\n_Screenshot of the analysis tool_\n\n## Changelog\n\nFor a list of recent changes, see the separate [Changelog](changelog.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstephtr%2Fbrightnessswitch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstephtr%2Fbrightnessswitch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstephtr%2Fbrightnessswitch/lists"}