{"id":48761881,"url":"https://github.com/humbertoschoenwald/auto-theme-solar-engine","last_synced_at":"2026-05-14T07:05:49.420Z","repository":{"id":357753207,"uuid":"1236102863","full_name":"humbertoschoenwald/auto-theme-solar-engine","owner":"humbertoschoenwald","description":"A privacy-first, ultra-lightweight Windows tray utility built with .NET 11 Native AOT that automatically syncs your system theme with the local solar cycle using offline astronomical calculations.","archived":false,"fork":false,"pushed_at":"2026-05-14T05:46:23.000Z","size":187,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-14T06:44:38.885Z","etag":null,"topics":["astronomy","auto-theme","csharp","csharp-15","dark-mode","dotnet","dotnet-11","dpapi","light-mode","lightweight","native-aot","no-telemetry","offline-first","privacy-first","solar-cycle","sunrise-sunset","system-tray","theme-switcher","win32-api","windows"],"latest_commit_sha":null,"homepage":"","language":"C#","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/humbertoschoenwald.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-12T00:32:43.000Z","updated_at":"2026-05-14T05:46:21.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/humbertoschoenwald/auto-theme-solar-engine","commit_stats":null,"previous_names":["humbertoschoenwald/auto-theme-solar-engine"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/humbertoschoenwald/auto-theme-solar-engine","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/humbertoschoenwald%2Fauto-theme-solar-engine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/humbertoschoenwald%2Fauto-theme-solar-engine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/humbertoschoenwald%2Fauto-theme-solar-engine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/humbertoschoenwald%2Fauto-theme-solar-engine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/humbertoschoenwald","download_url":"https://codeload.github.com/humbertoschoenwald/auto-theme-solar-engine/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/humbertoschoenwald%2Fauto-theme-solar-engine/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33014206,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"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":["astronomy","auto-theme","csharp","csharp-15","dark-mode","dotnet","dotnet-11","dpapi","light-mode","lightweight","native-aot","no-telemetry","offline-first","privacy-first","solar-cycle","sunrise-sunset","system-tray","theme-switcher","win32-api","windows"],"created_at":"2026-04-13T07:37:32.417Z","updated_at":"2026-05-14T07:05:49.397Z","avatar_url":"https://github.com/humbertoschoenwald.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Auto Theme Solar Engine\n\n[![CI Status](https://github.com/humbertoschoenwald/auto-theme-solar-engine/actions/workflows/ci.yml/badge.svg)](https://github.com/humbertoschoenwald/auto-theme-solar-engine/actions/workflows/ci.yml)\n[![Release](https://img.shields.io/github/v/release/humbertoschoenwald/auto-theme-solar-engine?label=latest\u0026color=success)](https://github.com/humbertoschoenwald/auto-theme-solar-engine/releases/latest)\n[![.NET](https://img.shields.io/badge/.NET-11.0%20Preview-512BD4?logo=dotnet)](https://dotnet.microsoft.com/en-us/download/dotnet/11.0)\n[![Platform](https://img.shields.io/badge/Platform-Windows%20x64-0078D6?logo=windows)](https://learn.microsoft.com/windows/win32/)\n[![License: MIT](https://img.shields.io/github/license/humbertoschoenwald/auto-theme-solar-engine)](https://opensource.org/licenses/MIT)\n\nA high-precision, privacy-first Windows tray utility that automatically synchronizes your system theme with the local solar cycle. No cloud APIs, no telemetry—just your PC following the sun.\n\n---\n\n## ⚡ Quick Start\n\nThe recommended installation is a **per-user** setup. This allows the application to update itself seamlessly without requiring Administrator privileges.\n\nRun the following command in a **PowerShell** session:\n\n```powershell\n# Create target directory and download the baseline release\nNew-Item -ItemType Directory -Force -Path \"$env:LOCALAPPDATA\\AutoThemeSolarEngine\"\nSet-Location \"$env:LOCALAPPDATA\\AutoThemeSolarEngine\"\n\n# Download the executable\nInvoke-WebRequest -Uri \"https://github.com/humbertoschoenwald/auto-theme-solar-engine/releases/download/v26.05.00/AutoThemeSolarEngine.exe\" -OutFile \".\\AutoThemeSolarEngine.exe\"\n\n# Launch the engine\nStart-Process \".\\AutoThemeSolarEngine.exe\"\n```\n\n---\n\n## 💡 Why use it?\n\nMost theme switchers rely on heavy frameworks or external weather APIs. **Auto Theme Solar Engine** is built for those who value performance, system resources, and data sovereignty.\n\n* **☀️ Astronomical Accuracy:** Uses robust NOAA/Meeus equations to calculate sunrise and sunset locally based on your coordinates.\n* **🚀 Ultra-Lightweight:** Written in native **.NET 11** and compiled via **Native AOT**. It leverages raw Win32 interop for the UI to keep idle memory usage near absolute zero.\n* **🛡️ Privacy by Design:** * **100% Offline:** Core theme-switching behavior requires zero internet connection.\n* **DPAPI Encryption:** Coordinates are securely encrypted at rest using the Windows Data Protection API.\n* **Data Minimization:** Coordinates are mathematically obfuscated before being stored to protect your exact location.\n\n\n* **🌗 Seamless Transitions:** Uses undocumented `uxtheme.dll` hooks to ensure the theme switch is incredibly fluid, completely avoiding the harsh flickering common in standard registry-only toggles.\n\n---\n\n## ✨ Key Features\n\n* **Native Settings UI:** A clean, tabbed interface (Home, Configuration, Updates) that dynamically respects your current system theme.\n* **Smart Scheduling:** Intelligently handles edge cases like **Polar Night** and **Midnight Sun** for users in extreme latitudes.\n* **Auto-Updates:** A built-in update orchestrator securely checks GitHub Releases and applies updates via a transparent, visible PowerShell helper.\n* **Bilingual Support:** Full support for **English** and **Spanish**, selectable directly from the settings menu.\n\n---\n\n## 🛠️ Technical Baseline\n\n| Component | Details |\n| --- | --- |\n| **Runtime** | .NET 11 (Preview 3) |\n| **Language** | C# 15 |\n| **Platform** | Windows 10 (Build 19041+) x64 |\n| **Deployment** | Single, self-contained Native AOT executable |\n\n---\n\n## 🏗️ Development\n\nThis repository follows a strict **ADR-first (Architecture Decision Record)** doctrine. We believe in documenting the \"why\" just as much as the \"how\". If you wish to contribute, understand our technical choices, or fork the project, please review the `docs/adr/` directory first.\n\n---\n\n## 📄 License\n\nDistributed under the **MIT License**. See `LICENSE` for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhumbertoschoenwald%2Fauto-theme-solar-engine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhumbertoschoenwald%2Fauto-theme-solar-engine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhumbertoschoenwald%2Fauto-theme-solar-engine/lists"}