Skip to content

admbeck/BeatTime

Repository files navigation

Beat Time

Beat Time is a small Android app that displays the current Swatch Internet Time in the app and in a silent, persistent notification.

This app was vibecoded in a day for personal use using ChatGPT 5.6 Sol Max.

Features

  • Three notification precision levels:
    • Whole beats, such as @583, updated every 86.4 seconds
    • Tenths, such as @583.4, updated every 8.64 seconds
    • Hundredths, such as @583.42, updated every 864 milliseconds
  • Battery-efficient whole beats are the default
  • Restarts the notification after reboot when enabled
  • Light and dark themes
  • No network permission, ads, analytics, or third-party runtime libraries
  • Supports Android 8.0 (API 26) and newer

Automatic GitHub build

Every push and pull request is tested and compiled by GitHub Actions. Successful builds on main publish a versioned APK under Releases. The release contains one universal, debug-signed APK for personal testing.

Build locally

Install JDK 17 and Android SDK Platform 35. Android Studio can install the SDK from Tools > SDK Manager.

If Gradle cannot find the Android SDK, create local.properties in the project root. On Windows it normally contains:

sdk.dir=C\:\\Users\\YOUR_NAME\\AppData\\Local\\Android\\Sdk

Build from PowerShell:

.\gradlew.bat test assembleDebug

Or from macOS/Linux:

./gradlew test assembleDebug

The APK is written to app/build/outputs/apk/debug/app-debug.apk.

Use

Choose the desired notification precision and enable Persistent notification. Android 13 and newer will request notification permission.

License

Licensed under the GNU General Public License v3.0 only. See LICENSE.

About

Small Android app that displays the current Swatch Internet Time in notifications

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages