# sharpbracket/redshift

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/sharpbracket-redshift).**

6,156 stars · 429 forks · C · GPL-3.0 · archived

## Links

- GitHub: https://github.com/sharpbracket/redshift
- awesome-repositories: https://awesome-repositories.com/repository/sharpbracket-redshift.md

## Topics

`color-temperature` `eye-strain` `gamma-ramps` `night` `night-mode` `redshift`

## Description

Redshift is a circadian lighting controller and location-aware display tool that adjusts screen color temperature and brightness based on the time of day. It functions as a display gamma manager, modifying color temperature to match ambient lighting conditions and reduce eye strain.

The system determines the ideal screen temperature by calculating the sun's elevation using geographic coordinates, which can be provided manually or through automated location tracking. It employs gamma-ramp manipulation to simulate brightness changes and apply color temperature adjustments at the hardware level.

The project includes capabilities for automated display scheduling and ambient lighting synchronization, allowing for gradual linear color transitions between day and night profiles. It also supports the execution of external scripts and custom hooks when the service transitions between operational states.

## Tags

### Operating Systems & Systems Programming

- [Ambient Lighting Synchronization](https://awesome-repositories.com/f/operating-systems-systems-programming/ambient-lighting-synchronization.md) — Matches the display brightness and color temperature to the surrounding environment using geographic location and solar position.
- [Location-Aware Display Tools](https://awesome-repositories.com/f/operating-systems-systems-programming/location-aware-display-tools.md) — Uses geographic coordinates to calculate the sun's position and automatically adjust display settings.

### User Interface & Experience

- [Color Temperature Managers](https://awesome-repositories.com/f/user-interface-experience/color-management-systems/color-temperature-managers.md) — Adjusts the screen color temperature between warm and cold profiles to reduce eye strain based on the time of day. ([source](https://github.com/sharpbracket/redshift/blob/master/README.md))
- [Geographic Temperature Calculation](https://awesome-repositories.com/f/user-interface-experience/color-management-systems/color-temperature-managers/geographic-temperature-calculation.md) — Computes the sun's elevation based on geographic coordinates and time to determine the ideal screen color temperature.
- [Screen Color Fades](https://awesome-repositories.com/f/user-interface-experience/transition-effects/curtain-transitions/screen-color-fades.md) — Gradually fades the screen color between day and night settings over a specified period. ([source](https://github.com/sharpbracket/redshift/blob/master/redshift.1))

### Artificial Intelligence & ML

- [Display Gamma Management](https://awesome-repositories.com/f/artificial-intelligence-ml/computer-vision-systems/computer-vision/image-augmentation/lighting-adjusters/gamma-correction-utilities/display-gamma-management.md) — Modifies display output curves and individual color channels to fine-tune visual output and screen temperature. ([source](https://github.com/sharpbracket/redshift/blob/master/redshift.conf.sample))

### Business & Productivity Software

- [Circadian Lighting Tools](https://awesome-repositories.com/f/business-productivity-software/circadian-lighting-tools.md) — Synchronizes display output with natural day-night cycles to support human circadian rhythms.

### Mobile Development

- [Geospatial Location Resolution](https://awesome-repositories.com/f/mobile-development/geospatial-location-resolution.md) — Provides mechanisms to resolve geographic coordinates from system providers to calibrate solar data for color adjustments.

### Software Engineering & Architecture

- [Gamma Ramps](https://awesome-repositories.com/f/software-engineering-architecture/lookup-table-mappings/color-lookup-tables/gamma-ramps.md) — Manipulates hardware-level gamma ramps to simulate precise brightness and color temperature shifts on the display.

### System Administration & Monitoring

- [Brightness Level Adjustments](https://awesome-repositories.com/f/system-administration-monitoring/hardware-brightness-management/brightness-hotkey-mappings/brightness-level-adjustments.md) — Sets the display brightness level to match ambient lighting at different times of the day. ([source](https://github.com/sharpbracket/redshift/blob/master/redshift.1))
- [Temporal Brightness Scheduling](https://awesome-repositories.com/f/system-administration-monitoring/hardware-brightness-management/temporal-brightness-scheduling.md) — Automatically adjusts backlight levels to set distinct brightness profiles for day and night periods. ([source](https://github.com/sharpbracket/redshift/blob/master/redshift.conf.sample))
- [Display Profile Schedulers](https://awesome-repositories.com/f/system-administration-monitoring/hardware-brightness-management/temporal-brightness-scheduling/scheduled-brightness-commands/display-profile-schedulers.md) — Sets specific schedules or triggers to automatically shift screen colors and brightness at defined intervals.

### Part of an Awesome List

- [Temperature Interpolations](https://awesome-repositories.com/f/awesome-lists/media/animation-transitions/ui-transition-animations/color-interpolation-animations/temperature-interpolations.md) — Gradually interpolates between day and night color temperature states over a set duration to ensure smooth visual transitions.

### DevOps & Infrastructure

- [Time-Based Triggers](https://awesome-repositories.com/f/devops-infrastructure/automation-orchestration/task-execution-frameworks/event-based-triggers/time-based-triggers.md) — Triggers display profiles and color shifts based on user-defined clocks or predefined day-night cycles.

### Scientific & Mathematical Computing

- [Location Services](https://awesome-repositories.com/f/scientific-mathematical-computing/data-modeling-processing/geospatial-and-location-services/location-services.md) — Utilizes location services to determine coordinates for calculating solar positions and color adjustments. ([source](https://github.com/sharpbracket/redshift/blob/master/NEWS.md))
