HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
alin23
Lunar
Swift2018–2025
alin23 / Lunar

Lunar

Intelligent adaptive brightness for your external monitors

6Distinct people
20Mentions
0Explicit recommenders
5.7KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Intelligent adaptive brightness for your external monitors

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 8–Nov 15 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/15/2026, 9:01:12 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year20 dated mentions

Observed mentions: 2018-07-18 21:04:02 UTC to 2025-08-23 13:24:21 UTC.

02468102018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 comments20182019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 5 mentions; 1 submissions, 4 comments2021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments20212022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 9 mentions; 0 submissions, 9 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2025

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC110
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC000
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC514
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC101
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC909
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC202
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC101
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC101

What Hacker News says

5 sources
> When you map “white” down to gray, you have to drive the LED backlight brighter for the same perceived screen brightness So that's why Lunar[1] reads a much higher brightness and makes all external monitors as bright as ten thousand suns when HDR content is played. I wonder if there's any way to detect this and read or compute the SDR brightness instead. [1] https://github.com/alin23/Lunar/issues/86
In Apple’s “Extended Dynamic Range” Brings HDR to Non-HDR Displays
Hi! The route for log.lunar.fyi just returns 200 now and doesn't do anything. I was just logging the request before but I disabled that in the meantime since I didn't find it useful. I will disable the request completely in the next update, but if you want to know what's sent or even disable it completely you can take a look at the source code of the sendAnalytics function in AppDelegate.swift: https://github.com/alin23/Lunar
In Lunar – macOS utility to set brightness and volume on external monitors
I'm working on making Lunar ( https://lunar.fyi ) work with as many monitor setups as possible. Lunar is a macOS app that can change your external monitor brightness and contrast based on your Macbook built-in display brightness (which already reacts to ambient lighting). It can also change the brightness based on the sun position or can just add some hotkeys for you to change the brightness manually in case you are using a MacBook in clamshell mode, or a device without a built-in display like a Mac Mini Lunar doesn't use dark software overlays, it actually changes the hardware monitor brightness/contrast using the standard DDC protocol that's been implemented in monitors for the last 20 years. In the latest update, it also adds hotkeys for changing the monitor’s volume which was a very requested feature. Right now I’m trying to make it
Read the rest
work with all the esoteric setups that users have. As you can imagine, there are a lot of ways you can connect monitors to your device: hubs, docks, adapters, AirPlay, cables with missing wires etc. While DDC works most of the time, I still have to implement all kinds of workarounds because the system doesn’t play well with those setups. The code is a spaghetti mess of Swift because I didn’t know reactive frameworks for Swift existed at the time: https://github.com/alin23/Lunar
In Ask HN: What projects are you working on now?

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.