Go to file
smichel17 73a46d7060
Remove Google Play badge from README
Red Moon is no longer on the Play Store, so it doesn't make sense to link there.

Fixes #274
2021-09-13 13:26:38 +00:00
.github Use GitHub Action 2020-03-17 20:15:26 +01:00
app Fix EventBus refactor 2021-09-09 18:52:34 -04:00
art Add F-Droid/Play Store metadata & new banner image 2019-02-02 20:30:08 -05:00
gradle/wrapper Update gradle to v6.7.1 2020-12-19 00:08:01 -05:00
timepickerpreference Fix new lint errors 2020-12-19 00:19:51 -05:00
.gitignore Clean up .gitignore 2019-01-29 16:10:53 -05:00
LICENSE.md Remove MIT license for clarity 2020-03-02 07:34:56 -05:00
LICENSE.spdx Update spdx identifier. Closes #239 2020-03-04 13:05:24 -05:00
README.md Remove Google Play badge from README 2021-09-13 13:26:38 +00:00
build.gradle Add usable root mode 2021-04-06 17:17:03 -07:00
gradle.properties Android Studio refactor to API 28 and AndroidX 2019-11-07 20:54:54 -05:00
gradlew Update gradle to v6.7.1 2020-12-19 00:08:01 -05:00
gradlew.bat Update gradle to v6.7.1 2020-12-19 00:08:01 -05:00
settings.gradle Add new library module with Android studio 2020-03-08 22:21:45 -04:00


Red Moon Icon

Red Moon
Translation status License Commits (since latest release)

Blue light may suppress the production of melatonin, the sleep hormone. Red Moon filters out blue light and dims your screen below the normal minimum, so you can use your phone comfortably at night.

  • Schedule Red Moon to run from sunset to sunrise, or at custom times.
  • Use the default color profiles, or set custom color, intensity, and dim levels.
  • Automatically pause in apps secured against overlays, or those you choose.
  • Quickly start, stop, and switch profiles via notification, tile (Android 7.0+), or widget.

Get it on F-Droid Direct download

Do your part — participate in the community

Communities keep software projects alive. Without them, projects usually fade into obscurity when the primary developer loses interest or becomes busy in other parts of their life. That's where you come in! You can:

  • Read through the issues and give a 👍 to the ones you care about most.
  • Open new issues with feedback, feature requests, or bug reports.
  • Help translate using Weblate.
  • Come chat at Matrix, IRC, or Gitter
Translation status

Looking for co-maintainers

Red Moon is still maintained, and I have no plans to change that. I would actually like to do more development and get Red Moon feature-complete. However, it is hard for me to get motivated to do that when I'm the only developer (especially when there are other projects I'm involved in that do have others working on them).

If you're interested in becoming a co-maintainer, I'm willing to spend time walking you through the code base.


Screenshots are slightly out of date.

Development Build Status


To build the app on GNU+Linux, clone the repository, then, from the root directory, run

./gradlew build

To install the app on a connected device or running emulator, run

./gradlew installDebug

Pull requests

  • We're happy to answer questions if you reach out via an issue, the chat room(s), or email.
  • If your change makes the UI more complicated, we suggest checking if we're interested before you implement it.
  • Please keep code and translations in separate PRs.


Prioritize legibility over dogmatism. That said, consistency is nice, so here's a short list of what I've been doing.

  • 100 characters per line; 80 if you can.
  • Indent 4 spaces, or 8 spaces if the previous line ends with =.
  • CONSTANTS and ENUMS use all caps, variableNames use camelCase.
  • Form suggests function: Group and align similar actions, and don't align dissimilar ones, even if you could.
  • Good comments explain why something is done; if you find yourself describing what the code does, consider:
    • Refactoring into smaller functions with descriptive names
    • Converting comments to logs. Code that requires comments probably also requires good logs to debug.
  • Always use curly braces with if (except short val/var one-liners: val x = if (a) b else c)


GNU GPLv3 Image

Red Moon is licensed under the GNU General Public License version 3 or (at your option) any later version by the contributors. It is a derivative of Shades by Chris Nguyen, used under the MIT License.

All used artwork is released into the public domain. Some of the icons use clip art from openclipart.org, which are all released in the public domain, namely:

* Google Play and the Google Play logo are trademarks of Google Inc.