Skip to content

Latest commit

 

History

History
131 lines (104 loc) · 8.2 KB

README.md

File metadata and controls

131 lines (104 loc) · 8.2 KB

Clock

Clock is a privacy-conscious open-source clock, based on AOSP Clock.

Get it on GitHub Get it on F-Droid Get it on IzzyOnDroid

Table of Contents

Features

  • Flip and shake action to dismiss/postpone alarm;
  • Turn off/postpone the alarm with the power button or volume buttons;
  • For some Snapdragon devices only, the alarm is triggered when they are switched off;
    • Unfortunately, this feature may not work on some devices despite the presence of the “com.qualcomm.qti.poweroffalarm” system app. See the discussion here.
  • Swipe to delete an alarm;
  • Duplicate alarms;
  • Customizable alarm title;
  • Customizable ringtone;
  • Light, dark or system theme;
  • AMOLED mode for dark theme;
  • Digital or analog clock style;
  • Display home time when traveling;
  • Display the time in many cities around the world;
  • Timer, stopwatch and bedtime (experimental) included;
  • Possibility of sharing your stopwatch with your contacts;
  • Customizable interface;
  • Customizable screensaver;
  • Modern widgets;
  • Customizable widgets;
  • Backup and restore settings;
  • Material design;
  • Dynamic colors for Android 12+;
  • Support for Reproducible Builds. See the discussion here.

Common Issues

  • Problem encountered with bedtime mode as this is an experimental feature;
  • Maybe other things, but nothing about the alarm's functionality.

As I'm not an expert developer, some problems may unfortunately not be solved without help.

Contributing ❤

Reporting Issues

Whether you encountered a bug, or want to see a new feature in Clock, you can contribute to the project by opening a new issue here. Your help is always welcome!

Before opening a new issue, be sure to check the following:

  • Does the issue already exist? Make sure a similar issue has not been reported by browsing existing issues. Please search open and closed issues.
  • Is the issue still relevant? Make sure your issue is not already fixed in the latest version of Clock.
  • Did you use the issue template? It is important to make life of our kind contributors easier by avoiding issues that miss key information to their resolution. Note that issues that ignore part of the issue template will likely get treated with very low priority, as often they are needlessly hard to read or understand (e.g. huge screenshots, or addressing multiple topics).

Translation

Translations can be added using Weblate. You will need an account to update translations and add languages. Add the language you want to translate to in Languages -> Manage translated languages in the top menu bar. Updating translations in a PR will not be accepted, as it may cause conflicts with Weblate translations.

Click here to see the translation status

Translation status

Code Contribution

Getting Started

Clock project is based on Gradle and Android Gradle Plugin. To get started, you can install Android Studio, and import project 'from Version Control / Git / Github' by providing this git repository URL (or git SSH URL). Of course you can also use any other compatible IDE, or work with text editor and command line.

Once everything is up correctly, you're ready to go!

Guidelines

Clock is a complex application, when contributing, you must take a step back and make sure your contribution:

  • Is actually wanted. Best check related open issues before you start working on a PR. Issues with "help wanted" label are accepted, but still it would be good if you announced that you are working on it. If there is no issue related to your intended contribution, it's a good idea to open a new one to avoid disappointment of the contribution not being accepted. For small changes or fixing obvious bugs this step is not necessary.
  • Is only about a single thing. Mixing unrelated contributions into a single PR is hard to review and can get messy.
  • Has a proper description. What your contribution does is usually less obvious to reviewers than for yourself. A good description helps a lot for understanding what is going on, and for separating wanted from unintended changes in behavior.
  • Uses already in-place mechanism and take advantage of them. In other terms, does not reinvent the wheel or uses shortcuts that could alter the consistency of the existing code.
  • Has a low footprint. Some parts of the code are executed very frequently, and the keyboard should stay responsive even on older devices.
  • Does not bring any non-free code or proprietary binary blobs. This also applies to code/binaries with unknown licenses. Make sure you do not introduce any closed-source library from Google. If your contribution contains code that is not your own, provide a link to the source.
  • Complies with the user privacy principle Clock follows.

License

Clock is licensed under GNU General Public License v3.0.

Permissions of this strong copyleft license are conditioned on making available complete source code of licensed works and modifications, which include larger works using a licensed work, under the same license. Copyright and license notices must be preserved. Contributors provide an express grant of patent rights.

See repo's LICENSE file.

Since the app is based on Apache 2.0 licensed AOSP Clock, an Apache 2.0 license file is provided too.

Screenshots

Click here to see screenshots
Screenshot 01 Screenshot 02 Screenshot 03 Screenshot 04 Screenshot 05 Screenshot 06 Screenshot 07 Screenshot 08 Screenshot 09 Screenshot 10 Screenshot 11 Screenshot 12 Screenshot 13 Screenshot 14

Credits