GithubHelp home page GithubHelp logo

michaelmawhinney / redlight Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 30 KB

A red color filter for your display that runs as a tiny Windows tray application.

License: GNU General Public License v3.0

CMake 7.35% C++ 92.65%
color-filter color-temperature color-temperature-tuning display night-mode nightvision red-color screen tray-app tray-application

redlight's Introduction

RedLight

RedLight is a lightweight Windows tray application that applies a red filter to your display. This application operates from the system tray, allowing users to easily toggle the red filter on and off with one click.

Features

  • Toggle Red Filter: Quickly enable or disable the red filter directly from the system tray.
  • Minimal Resource Usage: Runs quietly in the background with essentially no impact on system performance.

Installation

To install RedLight, follow these steps:

  1. Download the latest release from the Releases page.
  2. Run RedLight.exe to start the application.

Usage

After starting RedLight, an icon will appear in the system tray.

  • Left-click on the icon to toggle between red mode and normal mode.
  • Right-click the icon to access the following options:
    • Toggle ON/off: Enable or disable the red light filter.
    • About: Display information about the application.
    • Exit: Quit the application.

Important Notes

  • This application will conflict with other apps/features that change your screen color temperature, such as f.lux or the Windows Night Light feature. If you want to use RedLight, you should close or disable any other similar apps to avoid unexpected behavior.
  • RedLight is provided as-is and without any warranty of any kind. Although the code is simple and straightforward, you are still advised to use at your own risk!

Building from Source

You can compile this C++ code using any modern C++ compiler such as MSVC or g++, as long as the standard is C++11 or newer. This repository provides a basic CMake configuration that can be used to build RedLight.exe from source using MSVC. To use the provided CMake configuration, Ensure you have CMake installed and configured on your system. Follow these steps to build RedLight from source:

Prerequisites

  • Windows OS
  • CMake 3.20 or higher
  • Visual Studio 2019 or later (with C++ toolchain)

Build Instructions

  1. Clone the repository:
    git clone https://github.com/michaelmawhinney/RedLight.git
    cd RedLight
    
  2. Run CMake to generate the build configuration:
    cmake -S . -B build
    
  3. Build the project:
    cmake --build build --config Release
    
  4. You will find the application built in Release\RedLight.exe

Contributing

Contributions are welcome! Feel free to open pull requests or issues to suggest improvements or add new features.

License

RedLight is open source software licensed as GPLv3.

Acknowledgments

  • Gamma ramp manipulation uses system APIs for color adjustment on Windows.
  • Icon and design resources were custom made for this project using Adobe Photoshop and ImageMagick.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.