Private alarm clock, world clock, timer and stopwatch with widgets
  • Kotlin 94.1%
  • HTML 5.9%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-21 14:03:45 +01:00
app Releasing v0.3.3. 2026-11-21 14:03:45 +01:00
gradle Raised Gradle to 9.9.2, AGP to 9.5.2, Compose BOM to 2026.11.01, material3 to 1.5.0, lifecycle, Navigation 3 and kotlinx.serialization, and compiled against Android 37.2 as Compose 1.13 needs. 2026-11-21 13:59:17 +01:00
metadata Releasing v0.3.3. 2026-11-21 14:03:45 +01:00
.gitignore Added the project skeleton, the app shell with four destinations, settings, backup and the first-run wizard. 2026-11-11 19:20:02 +01:00
build.gradle.kts Fixed alarms after the clock is set back, silencing of vibrating timers and returning missed-alarm notifications, and removed the unused Room dependency. 2026-11-12 01:11:45 +01:00
gradle.properties Added the project skeleton, the app shell with four destinations, settings, backup and the first-run wizard. 2026-11-11 19:20:02 +01:00
gradlew Added the project skeleton, the app shell with four destinations, settings, backup and the first-run wizard. 2026-11-11 19:20:02 +01:00
gradlew.bat Added the project skeleton, the app shell with four destinations, settings, backup and the first-run wizard. 2026-11-11 19:20:02 +01:00
LICENSE Added the project skeleton, the app shell with four destinations, settings, backup and the first-run wizard. 2026-11-11 19:20:02 +01:00
README.md Releasing v0.3.3. 2026-11-21 14:03:45 +01:00
settings.gradle.kts Added the project skeleton, the app shell with four destinations, settings, backup and the first-run wizard. 2026-11-11 19:20:02 +01:00

Clock

A private, offline clock for Android: alarms, world clock, timer and stopwatch.

Current version: v0.3.3

Source code and releases: git.hnet.sh/hkr/clock

Bug reports and feature requests: github.com/legal-hkr/clock

Overview

Clock is an alarm clock, world clock, timer and stopwatch with home-screen widgets. It has no Internet permission, doesn’t ask for your location, storage or media, and keeps nothing about you: alarms and settings stay on the device.

Screenshots

Features

Alarms

  • Repeating or one-time: Every day, weekdays, weekends or the days you pick, or once on a date; each alarm has its own label and sound
  • Skip the next one: Leave out a single occurrence of a repeating alarm without switching it off
  • Ringing: Full-screen alarm with slide to stop, snooze of the length you set, automatic silencing and gradually increasing volume
  • Before and after: A notification ahead of an upcoming alarm, and one for an alarm you missed
  • Reliability check: Clock warns when notifications, full-screen alarms, Do Not Disturb, battery restrictions or a zero alarm volume could keep an alarm from ringing

World clock

  • Cities: From the phone’s list of time zones, in the order you choose, each with its difference from local time
  • Home clock: Shows the time at home while you’re in another time zone

Timer

  • Several timers at once, each with a label, and one more minute when you need it
  • Presets: Start a timer with one tap, also from the home screen

Stopwatch

  • Laps with the fastest and slowest marked, ready to share

Widgets

  • Digital clock with the date and the next alarm, round digital clock and analog clock, both with an optional see-through shape
  • World clock with a floating pill for each city
  • Clocks without a background: digital, small digital, analog and world clock, directly on the wallpaper
  • Timer without a background: the running timer with its controls, and your presets
  • Stopwatch without a background: the time with its controls, the current lap and the last two

Settings

  • Backup and restore of alarms, cities, timer presets and settings to a file you choose, also offered on the first start
  • Language: English or Polish, independent of the system language
  • Formats: Time and date formats and the first day of the week follow the phone’s settings

Requirements

  • Android 14 (API level 34) or higher

Building

git clone https://git.hnet.sh/hkr/clock.git
cd clock
./gradlew assembleDebug

Set the Android SDK path in local.properties (sdk.dir=…) first. Unit tests run with ./gradlew test.

Contributing

Development happens on git.hnet.sh, where the releases are published too. The GitHub repository is a read-only mirror, updated on every push, and the place to report problems:

  • Issues: Open them on GitHub, with the app version and your Android version
  • Pull requests: Welcome on GitHub as well, but they can’t be merged there – accepted changes are applied on git.hnet.sh and reach the mirror from there, so the pull request itself ends up closed rather than merged

Tech stack

  • Language: Kotlin
  • Min SDK: Android 14 (API 34), target SDK: API 37
  • UI: Jetpack Compose with Material 3 Expressive

License

GPL-3.0

Acknowledgments

  • Claude by Anthropic – AI assistant that provided valuable support during the development process, helping with code implementation, architecture decisions, and documentation