redshift
Lunar
redshift | Lunar | |
---|---|---|
49 | 192 | |
5,782 | 4,356 | |
- | - | |
0.0 | 9.0 | |
7 months ago | 8 days ago | |
C | Swift | |
GNU General Public License v3.0 only | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
redshift
-
Conversion from tm struct and String into time_t
Redshift has code to calculate that locally which I use in my sunrise light project
-
Does XFCE have a night light?
FWIW, Linux Mint XFCE comes with Redshift.
- How to setup blue light filter?
-
If you use your PC for long hours, use Eye Saver app to protect your eyes.
Other options include f.lux and redshift.
-
blocking blue light
There is Redshift: https://github.com/jonls/redshift
-
How do you build circuits?
eg for this project my available inputs were intermittent 12v power, bluetooth, and the current time and location; and the desired output was 3× high current low-side switches that produced 12v RGB PWM corresponding to the colour temperature and brightness of the sky - so we need a bluetooth microcontroller, battery backup to keep time when 12v is absent, some battery management which wanted 5v in, a 12v buck to feed it, some MOSFETs, and redshift or similar code to plug into things.
-
How can I use an Arduino board to control LEDs so it imitates the sunlight color temperature throughout the day?
I just added redshift as a submodule to handle the GPS location + UTC time to color temperature conversion.
-
what's the alternative for linux like F.lux for windows for yellow light and brightness for screen?
But I still use redshift and prefer it over f.lux. I am on cell and this is first result so double check https://github.com/jonls/redshift
-
Linux (Debian) equivalent of DimScreen on Windows or MonitorControl on MacOS?
Anyway, for dimming screens with overlays (or gamma alteration), Redshift seems to have a -b option.
-
How do you even install redshit on windows ? (screen temp program)
The instructions are super confusing to me. Here's the github :https://github.com/jonls/redshift
Lunar
-
Reverse Engineering a Software Crack
It’s done in a similar way on macOS: a dylib is added to the bundle and an LC_LOAD command is added to the app binary. The dylib is the first thing that runs because of using the constructor attribute, like this: https://notes.alinpanaitiu.com/Injecting%20a%20DYLIB%20into%...
The nice thing is that a signed app will refuse to load a dylib that does not have the same signature. So crackers will be forced to change the whole app signature which can be easily detected in app code.
I have that kind of protection in Lunar (https://lunar.fyi/) and Clop (https://lowtechguys.com/clop) and it seems to be good enough as they have no recent cracks.
-
No I don't want 2, Emacs
Pretty sure Lunar [0] can do this for you, and you can buy a lifetime license.
[0]: https://lunar.fyi/
-
Show HN: Multi-monitor KVM using just a USB switch
I've had good luck with the Lunar app - it manages my Dell and LG monitors on an M2. (No affiliation) https://lunar.fyi
-
PHOLED Will Transform Displays
Wild! I am working on exactly the same thing now for Lunar (https://lunar.fyi), and I'm also calling it Night Mode ^_^ what a coincidence
I've been trying to make "white regions in dark backgrounds" less painful for months, but doing that at the system level on macOS is incredibly hard. I see you're doing it with CSS filters, which make sense in the limited scope of an article. But applying something like that on the whole macOS UI would cause confusion.
I already use something similar on the iPhone: I read on the Kindle app which has white text on black background, then I have a full red Color Tint filter on the Triple Back Tap shortcut which I use before reading. Very similar effect to your solution, although I don't have images in my books.
-
If buying isn't owning, piracy isn't stealing
I was comparing anti-piracy measures with DRM, I don't have actual DRM in my app. I can't block users that really bought the app from using it (which is what DRM is notorious for).
But I do have a license verification for the Pro features (https://lunar.fyi/#pro), and that is what people are cracking in the app. I only added more protection around this verification.
-
MacOS tools to make your life easier
Lunar
-
Create a shortcut for even lower phone brightness
There's no Reduce White Point on Mac as far as I am aware. However, you can use the fantastic Lunar [0] app to achieve this, as it supports "Sub-Zero Dimming".
To use it, I think you just need to start Lunar, and then press the Reduce Brightness button on your keyboard until it goes below the minimum Mac allows.
[0] https://lunar.fyi
-
YouTube's Anti-Adblock and uBlock Origin
As the dev of a macOS app that breaks all the time because of external hardware, the tone of the article hits close to home. (I’m talking about https://lunar.fyi/ whose brightness control commands can be blocked by USB-C hubs, “smart” monitors, too long cables etc.)
I had to disable public GitHub issues on the app repo [1] because people seemed to fuel each other with spiteful comments and “why can’t you just!!” sentences.
The contact form still attracts many such “entitled” people and it hurts to wake up to such messages, but at least I can choose to ignore those if I can’t bring anything to the discussion. There’s no peer pressure.
These people are expecting too much from a handful of developers who are sharing a lot of free work and time that could have been spent better than hunting new IDs in URLs and updating regular expressions.
[1] https://github.com/alin23/Lunar
-
I2c-USB-hub: An i2C Controllable USB 2.0 Hub
Last year I bought a second computer for my music studio. I wanted to use the same set of 2 monitors and wired keyboard + trackpad on both machines.
I wrote simple scripts to switch my monitor inputs with keyboard shortcuts (even simpler with Lunar, amazing new Mac app — https://lunar.fyi), which saved me from having to press annoying input-source buttons.
But I couldn't for the life of me find a simple, suitable software controllable KVM switch. That still requires the hardware button to be controlled, so frustrating.
-
Changing my relationship with GitHub Copilot
Some people like the process of writing code, more than the end result. I had a few months of that feeling, but nowadays it’s rarely about writing for me.
Just the other day I used Copilot to explain the disassembly of macOS KeyboardBacklight code, so that I can turn off the keyboard lights when using Lunar’s Blackout (https://lunar.fyi/#blackout)
It even helped me generate the ObjC function signatures from assembly and use the right calling convention in Swift afterwards. It really feels like magic.
I would have no joy in writing that code, it’s mostly bridging and translation anyway. I just need it to do this thing so that people can take advantage of it.
What are some alternatives?
gammastep
MonitorControl - 🖥 Control your display's brightness & volume on your Mac as if it was a native Apple Display. Use Apple Keyboard keys or custom shortcuts. Shows the native macOS OSDs.
go-sct - A color temperature setting library and CLI that operates in a similar way to f.lux and Redshift. Supports Wayland, X and Windows
BetterDisplay - Unlock your displays on your Mac! Flexible HiDPI scaling, XDR/HDR extra brightness, virtual screens, DDC control, extra dimming, PIP/streaming, EDID override and lots more!
xrandr-brightness-script - 🔆 Script for adjusting the brightness and color temperature of displays on a software level using xrandr.
Monitorian - A Windows desktop tool to adjust the brightness of multiple monitors with ease
Hyprland - Hyprland is a highly customizable dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
BetterDummy - Unlock your displays on your Mac! Smooth scaling, HiDPI unlock, XDR/HDR extra brightness upscale, DDC, brightness and dimming, dummy displays, PIP and lots more! [Moved to: https://github.com/waydabber/BetterDisplay]
LightBulb - Reduces eye strain by adjusting gamma based on the current time
RatPoison - Latest Ver: 1.7; Default Menu Key is F1; Charlatano's Successor; dn
picom - A lightweight compositor for X11
SlimHUD - Replacement for MacOS' volume, brightness and keyboard backlight HUDs.