Show HN: Ghostty Ambient – Terminal theme switcher that learns your preferences I built a theme selector for Ghostty that learns which color schemes you prefer in different contexts. It reads your Mac's ambient light sensor and considers: - Time of day (morning, afternoon, evening, night) - Ambient light level (dim, office, bright, daylight) - System dark/light mode - Weather conditions - Power source (AC vs battery) A background daemon watches which themes you use and builds a Bayesian model of your preferences. Over time it learns things like "in dim evening light, they prefer high-contrast dark themes with muted colors." Once it has enough data, it can generate a custom theme optimized for your current context. ghostty-ambient # Interactive picker with recommendations ghostty-ambient --ideal # Generate optimal theme for current context ghostty-ambient --stats # See what it's learned about you Install: uv tool install ghostty-ambient or pip install ghostty-ambient GitHub: https://ift.tt/4AdiCYb Built for Ghostty (https://ghostty.org) but the Bayesian preference learning could apply to any theming system. https://ift.tt/4AdiCYb January 16, 2026 at 01:29AM
0 Comments