Skip to content

Repository files navigation

Gamma Node icon

GAMMA NODE

Brightness dimmer and blue light filter for Windows.

~5MB native binary · zero lag · GPU-native color control


Gamma Node interface

WindowsTauri 2RustMIT license

Features

  • Brightness dimming — transparent overlay per-monitor, independent of Windows brightness
  • Color temperature — real GPU gamma ramp shift via SetDeviceGammaRamp, works in fullscreen games
  • System tray — close to tray, left-click toggle, right-click context menu
  • Global hotkeys — toggle, brightness, and temperature control from any application
  • Presets — Off, Read, Focus, Night, Dim
  • Schedule — sunset/sunrise auto-transition using the NOAA solar algorithm

Keyboard Shortcuts

ShortcutAction
Ctrl+Alt+BToggle filter on/off
Ctrl+Alt+Up / Ctrl+Alt+DownBrightness ±5%
Ctrl+Alt+Left / Ctrl+Alt+RightTemperature ±200K

Presets

PresetBrightnessTemperature
Off100%6500K
Read70%4500K
Focus90%5500K
Night30%2700K
Dim5%500K

Tech Stack

  • Backend: Rust (Tauri 2) + raw Win32 FFI for gamma ramp control
  • Frontend: SvelteKit + Svelte 5 + TailwindCSS 4 + shadcn-svelte
  • Typography: Geist + Geist Mono

Architecture

gamma-node (single Rust process)
├── Control Window Svelte UI, tray-hidden on close
├── Overlay Windows per-monitor, transparent, click-through
├── Gamma Ramp Win32 GDI, real GPU output shift
├── System Tray toggle, presets, quit
├── Global Hotkeys brightness, temperature, toggle
└── Scheduler tokio task, sunset/sunrise (NOAA)

Hybrid rendering model:

  • Brightness → overlay opacity, works everywhere
  • Color temperature → SetDeviceGammaRamp, real GPU shift that survives fullscreen exclusive

Development

cd gamma-node
npm install
npm run tauri dev

Build

npm run tauri build

Output:

src-tauri/target/release/bundle/nsis/gamma-node_*_x64-setup.exe

License

MIT © CodaCipher

About

A native Windows dimmer and blue light filter built for clean focus and late-night work.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages