Giter VIP home page Giter VIP logo

goodnight's Introduction

GoodNight

Project name thanks to @Emu4iOS.

Based off of Thomas Finch's GammaThingy.

GoodNight is an app that allows you to directly access the screen's gamma levels, and modify it using IOMobileFramebuffer. With this you can do any of the following:

  • Change the screen temperature
  • Put the brightness lower than iOS would normally allow you to
  • Adjust the RGB values of the framebuffer

This application uses dlsym, which loads in the private symbols at runtime, rather than using headers, so no additional setup is needed once you download the source.

Installing

See [here] (Help/README.md) for written instructions.
Click on [this link] (https://www.youtube.com/watch?v=Yu62IlaqPQM) to see the official install video.

Compatibility

I am certain that this app will run on any iOS device running iOS 7 or higher.

Widget

The widget's gamma toggle button just toggles between night gamma and gamma off (like the enable button in the temperature part of the app). It overrides the auto updates until the next cycle:

  • So if you enable gamma with the widget while auto is in day mode it will keep gamma enabled until auto will turn to day the next morning.
  • If you enable gamma and after that disable gamma with the widget, both during daytime, it will keep gamma deactivated until the next day sunset.
  • If you disable gamma with the widget while auto is in night mode it will keep gamma disables until auto will turn to day the next evening.
  • If you disable gamma and after that enable gamma with the widget, both during night time, it will keep gamma activated the complete next day until it reaches sunrise again.

Bedtime mode will only be activated if at that time the screen has active gamma. Else the bedtime mode will be skipped.

The darkroom button turns on darkroom mode and on deactivation of darkroom mode resumes to automatic mode immediately.

macOS Version

The macOS version of GoodNight is out! You can currently enter RGB values between 0 and 255 for red, green, and blue values, enable a darkroom mode, and adjust the color temperature of the display. It also has Touch Bar support! More features will be coming soon. You can download the always up-to-date binary distribution release from here.

Installing

It is crucial that you copy the application to the applications folder on your Mac. If you get an error while attempting to open the app, open up terminal, and type in this command:
sudo spctl --master-disable
Press return after you enter your password and try again. It should open successfully.

goodnight's People

Contributors

anthonya1999 avatar mariokorte avatar azdavis avatar ryunosuke avatar davidjb avatar milch avatar varju avatar yggdrasil avatar int3h avatar pyrofilmsfx avatar iostonykraft avatar

Watchers

James Cloos avatar zhangqiang avatar

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.