Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Android screen filter app for night time phone use.

License

NotificationsYou must be signed in to change notification settings

LibreShift/red-moon

Repository files navigation

Red Moon is currently maintained to the level of "works on my device". Pull Requests are still accepted and if you're interested in becoming a co-maintainer, I'm willing to spend time walking you through the code base.Read More


Red Moon Icon

Red Moon
Translation statusLicenseCommits (since latest release)

Blue light may suppress the production of melatonin, the sleep hormone. Red Moonfilters out blue light and dims your screen below the normal minimum, so you canuse 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-DroidDirect download

Do your part — participate in the community

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

  • Read through theissues and give a 👍 to the ones you care about most.
  • Opennew issues with feedback, feature requests, or bug reports.
  • Help translate usingWeblate.
  • Come chat atMatrix,IRC,orGitter
Translation status

Screenshots

Screenshots are slightly out of date.

Privacy Policy

Red Moon collects dataonly when it is necessary for functionality. These features are alldisabled by default. If you enable them, the datanever leaves your device. Specifically:

  • If you use the "Sunrise to Sunset" feature, Red Moon will store your location (lattitude & longitude, you can see them in the preference). Used in order to calculate sunrise and sunset times.
  • If you use the excluded apps feature, then while Red Moon is running, it will monitor what app is in the foreground and which screen of that app is open (currently it polls once per second). This is checked against the list of excluded apps to determine whether Red Moon should pause, and then is immediately discarded.
    • If you choose to exclude an app, then it's stored to the list of excluded apps, until you remove it.
    • In the debug version of the app, these are logged to the Android system log ("logcat"). These logs are not accessible to other apps on the device. On most versions of android, they're cleared after 1-7 days.

DevelopmentBuild Status

Building

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'reinterested before you implement it.
  • Please keep code and translations in separate PRs.

Style

Prioritize legibility over dogmatism. That said, consistency is nice, sohere'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 andENUMS use all caps,variableNames use camelCase.
  • Form suggests function: Group and align similar actions, anddon't align dissimilar ones, even if you could.
  • Good comments explainwhy something is done; if you find yourself describingwhat 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 withif (except short val/var one-liners:val x = if (a) b else c)

License

GNU GPLv3 Image

Red Moon is licensed under theGNU General Public License version 3 or (at your option) any later version bythe contributors. It is a derivative ofShades byChris Nguyen, used under theMIT License.

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


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


[8]ページ先頭

©2009-2025 Movatter.jp