Skip to content

About

FOSS Android astronomical alarm clock. On-device NOAA/Meeus ephemeris, solar and lunar events, custom clock wheels, lockscreen math unlock, and a rotating day/night widget.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

122 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AstroAlarm

AstroAlarm

Wake with the sun, the moon, and your own clock.

Template MIT FOSS status CI OpenSSF Scorecard OpenSSF Best Practices Open in GitHub Codespaces AGENT HUMAN ADB AUTO android

Pitch

AstroAlarm is a FOSS Android astronomical alarm clock. It calculates sunrise, sunset, twilight, golden hour, moonrise, moon phases, solstices, and equinoxes on the device with Apache-2.0 commons-suncalc (sun and moon) and NOAA apparent longitude for seasons — no cloud, no Play Services, no trackers.

Set alarms for a solar or lunar event, offset them before or after, or pick a custom time on tactile hour and minute wheels. When the alarm rings it can speak the event, vibrate, and require a math puzzle before you can stop it.

In-app 2D and 3D clocks show the solar disk, Earth globe, and transit rings. Home widgets rotate through day and night. Location comes from an offline city list or the system location provider. MIT licensed. GitHub Releases only.

Demo

AstroAlarm app icon

AstroAlarm launch splash

App icon and launch splash

Features

  • On-device suncalc sun/moon ephemeris — no network required for calculations
  • Eighteen solar events and eleven lunar events, plus custom clock alarms
  • 2D 24-hour solar disk and 3D Earth-globe transit clocks (in-app and widgets)
  • Lockscreen snooze and stop with an optional math unlock challenge
  • Material You wheels for time and event offsets, with Spanish and French translations
  • 100% FOSS: no Google Play Services, Firebase, or proprietary telemetry

Quick start

  1. Install the APK from GitHub Releases (not listed on Play Store).
  2. Set a city from the offline list or tap Locate so sun and moon events can fire.
  3. Add a solar, lunar, or custom clock alarm. Choose tone, TTS, vibrate, math unlock, and snooze.
  4. Optional: pin the 2D clock, 3D globe, or upcoming-alarms widget to the home screen.

For humans

Start with this README, then CONTRIBUTING.md and docs/BEST_PRACTICES.md. The first-month playbook is docs/FIRST_30_DAYS.md.

For agents

Read docs/START_HERE.md and AGENTS.md. In Cursor type /tour or /bootstrap. Any other IDE: ask the agent to read docs/help/TOUR.md. /coach is the next recommended action.

flowchart TD
  Readme[README] --> Humans[CONTRIBUTING]
  Readme --> Agents[START_HERE]
  Agents --> Tour["/tour or TOUR.md"]
  Tour --> Coach["/coach"]

Loading

Install

Users: install the APK from GitHub Releases. Developers: JDK 17 and Android SDK (compile/target 37, min 26). Clone the repo, open examples/android/, and run ./gradlew assembleDebug (or gradlew.bat on Windows). No Play Services.

Usage

Open AstroAlarm, set a location, then add alarms under Solar, Lunar, or Custom Clock. Exact alarms use AlarmManager.setAlarmClock and survive reboot. Contributors work from BUILD_PLAN.md and docs/START_HERE.md.

Configuration

Copy .env.example to .env for local secrets (never commit .env). Stack-specific config lives in the active examples/ or app root after prune.

Contributing

See CONTRIBUTING.md. Prefer small PRs; follow Conventional Commits and the BUILD_PLAN labels (AGENT / HUMAN / ADB / AUTO). Status markers: 🔲 open · ✅ done · ❌ blocked.

Security

See SECURITY.md. Enable Dependabot alerts and follow docs/SECURITY_TRIAGE.md for weekly CVE triage.

License

MIT License — see the license file for terms.

Acknowledgments

Scaffolded with agent-project-bootstrap. Brand assets: branding/BRANDING.md. Design system: docs/DESIGN_GUIDE.md.

About

FOSS Android astronomical alarm clock. On-device NOAA/Meeus ephemeris, solar and lunar events, custom clock wheels, lockscreen math unlock, and a rotating day/night widget.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages