Skip to content

Latest commit

 

History

History
79 lines (58 loc) · 2.8 KB

README.md

File metadata and controls

79 lines (58 loc) · 2.8 KB

Stir

Offline Android clock with alarms, world clock, timer, and stopwatch.

Dependencies

  • JDK 17 or 21
  • Android SDK with platform 36
  • Android 8.0 (API 26) or newer on the target device

Gradle is provided by the wrapper. Library versions are listed in gradle/libs.versions.toml.

Build

./gradlew assembleDebug

The debug APK lands in app/build/outputs/apk/debug/.

Release builds and signing

Release builds are unsigned by default. To sign locally, create a keystore.properties file at the repo root (gitignored, never commit it):

storeFile=/absolute/path/to/release.keystore
storePassword=...
keyAlias=...
keyPassword=...

Then run ./gradlew assembleRelease. Without this file, assembleRelease still succeeds and produces an unsigned APK.

CI release workflow

.github/workflows/release.yml builds a release APK and AAB on every vX.Y.Z tag push (or manual dispatch) and attaches them to a GitHub Release. To have it produce a signed build, add these repository secrets:

  • KEYSTORE_BASE64: your keystore file, base64-encoded (base64 -w0 release.keystore)
  • KEYSTORE_PASSWORD, KEY_ALIAS, KEY_PASSWORD

Without those secrets the workflow still runs and publishes an unsigned build.

Screenshots

Alarm list New alarm editor with the wheel time picker
Alarm list New alarm, wheel time picker and repeat presets

Known tradeoffs

  • World clock search covers only cities that appear in system time zone IDs.
  • Timers ring with the default sound, volume, and vibration from the new alarm settings.
  • The ring timeout still ends an alarm that has a task to stop, if nobody completes the task. Snoozing does not require the task.
  • The sunrise screen is opened by a full screen notification. When the phone is in use, Android shows a heads-up notification instead.
  • The home screen widget shows the first three world clock cities.
  • A timer that ends while an alarm is ringing waits in the same queue until the alarm session ends.
  • Only one alarm rings at a time; if a second alarm (typically a group sibling) fires while one is already ringing, it queues behind the current session instead of ringing concurrently.
  • Aggressive OEM battery managers (MIUI, EMUI, etc.) are known to kill background work regardless of correct AOSP-level foreground service usage; this is outside what an app can fully control.
  • USE_EXACT_ALARM auto-grant depends on the OS recognizing Stir as an alarm-clock-category app; SCHEDULE_EXACT_ALARM with a Settings redirect is the fallback when it isn't.

License

GNU General Public License v3.0.