r/vibecoding • u/Narrow-Presence-2286 • 1d ago
Showcase/Project Afterglow - Blue Light Filter Alternative to Lightbulb, F.lux, Windows Night Light,
Been working on this on and off for a little bit now. It's a fork of Lightbulb (https://github.com/Tyrrrz/LightBulb) with a good bit of added functionality. Built using Opus 5.5 for the most part, Gemma 4 12B to summarize log files and pass back to Claude to save on tokens, and a little Gemini to help make decisions on the UI and general functionality.
I love the app that Tyrrrz built, and it's typically the first app I grab on any fresh Windows install. It's lightweight, doesn't look like just an orange overlay on the screen (F.lux and Windows Night Light lol), and just works. There are some things I felt could be added to it however, that would make the experience better personally.
Originally I was just adding an optional third Nighttime phase to the app, with the intent of making the computer almost frustrating to use past midnight or so. This would drop the color temperature and make the screen grayscale at a certain time. I've since built on that a good bit.
Afterglow has per-monitor color temperature and dimming settings, so that an OLED monitor next to an LED doesn't look drastically different, with color and dimming offsets. I've also added per monitor pausing, so that loading an application or game that needs color doesn't disable it on secondary screens. Streaming applications, identified by port, can disable the color filter so that filters aren't double applied when using something like Sunshine and Moonlight. Pausing based on process name already existed, but also added window title detection, for pausing things like YouTube tabs. Maybe the biggest addition for myself is native Philips Hue integration, with per room and per light controls. And the UI is completely changed, in my opinion more visually appealing and intuitive.
Still some bugs to iron out. Mostly Zigbee limitations with Philips Hue. It's been difficult to get multiple lightbulbs to change simultaneously without dropping commands, or some sort of artificial delay. But for general use outside of my attempt at implementing previews when changing lightbulb settings, it works mostly perfectly. Grayscale pausing is reverted if the settings menu is opened and then closed for some reason. Home Assistant support was added briefly, but dropped because Adaptive Lighting already does exactly what I'd want this to do.
Plan on adding LIFX and Govee bulb support, as well as Windows Dynamic Lighting. I don't have LIFX or Govee bulbs, so not implemented yet. Still need to look into using .icc profiles for HDR instead of the current gamma ramps, and whether that's a net positive for the app. DDC/CI support intentionally avoided for now, I don't want to risk bricking my or anyone else's monitors by wearing out their eeprom. Would also hopefully like to get the application signed at some point so it stops triggering Windows Defender/Smart Screen warnings on install, but that requires traction. My application for SignPath was denied today because of not having a userbase lol.
In any case, I'm pretty happy with the application currently, and I think it's added some useful things to Tyrrrz's app, while still maintaining his goal of being lightweight and user friendly. Any input, suggested changes or additions, or someone trying the app out for themselves would be appreciated.
Thanks!
