ORIX Alarm
Wake smarter. Rise better.
Real system alarms, progressive wake, ten wake missions, Alarm Studio and honest statistics —
a native iPhone alarm with no account, no ads, no tracking and no network code.
Author: Simon-Pierre Boucher
All screenshots in this repository are captured from the running app (Scripts/screenshots.sh, demo data).
What it is
ORIX Alarm is an alarm clock built on AlarmKit: the alarm belongs to iOS, so it rings when the app is closed, the iPhone is locked, a Focus is on or the ring switch is silent. Around that reliable core:
- Alarms — one-time and weekly, each with its own sound, snooze policy and scenario; every alarm shows a verified status read back from the system, never an assumption.
- Wake missions — ten of them, chained into a "Morning Combo": Math Blitz, Memory Matrix, QR Escape, Step Challenge, Pattern Lock, Word Scramble (English and French), Logic Gates, Maze Escape, Color Sequence, and the combo itself. Fixed or adaptive difficulty.
- Progressive wake — Nightstand mode: a sunrise simulation and a soundscape that rise along a curve you choose (linear, exponential, smoothstep, multi-stage or drawn by hand).
- Smart snooze — fixed or decreasing durations, a maximum count, optional difficulty escalation.
- Alarm Studio — eight templates, a visual timeline of the whole morning, saved scenarios you can duplicate, reorder and apply.
- Sleep planner — bedtime, time in bed, wind-down reminders, evening routine checklist, weekly consistency.
- Insights — charts over 7 days, 30 days or a custom range, from recorded events only.
- Widgets, Live Activity, Shortcuts — five widgets, the snooze / focus-timer countdown on the Lock Screen and Dynamic Island, seven Siri shortcuts.
- Design — five animated clock faces, a midnight-to-sunrise identity, synthesised original sounds, Core Haptics.
What it does not pretend
- iOS always lets you stop or silence a system alarm. A mission is a commitment you set for yourself, not a lock; an emergency exit is always there and is recorded.
- The sunrise and the soundscape need the app open in Nightstand mode. iOS does not let an app start sound or light the screen on its own before the alarm. The alarm itself rings regardless.
- Stopping an alarm is not waking up. Only your "I'm up" confirmation counts as a wake-up in statistics.
- The app does not measure sleep and does not estimate sleep stages.
- Step counting is approximate.
Details: docs/ALARMKIT.md.
State of verification
| Logic (recurrence, DST, policies, puzzles, storage, statistics) | 100 unit tests, swift test |
| Alarm lifecycle against a fake system (create, modify, cancel, reconcile, relaunch, denial, snooze chain, missions, corrupted data) | 27 integration tests |
| Interface (onboarding, alarm creation, denial, tabs, full simulated wake, emergency exit, missions played to the end) | 17 UI tests on the iOS 26.5 simulator |
| Real AlarmKit on the simulator (2 opt-in probe tests) | permission prompt, scheduling, ringing with the app in the background, stop observed and recorded, mission presented |
| Real iPhone | nothing yet — lock screen, silent switch, Focus, restart, audio routes, camera, pedometer, haptics are unverified |
| Snooze button and stop-intent delivery from the system alert | not confirmed: the simulator's alert could not be driven reliably. See docs/TESTING.md |
Build
Requirements: Xcode 27 (iOS 26.1+ SDK), XcodeGen.
Scripts/build.sh build # generate the project and build for the simulator
(cd Packages/AlarmCore && swift test)
Scripts/build.sh test # integration tests
Scripts/build.sh uitest # interface tests
Scripts/probe-alarmkit.sh testObservedStopRetiresOneTimeAlarm # real AlarmKit on the simulator
Scripts/screenshots.sh # real screenshots into docs/screenshots
Scripts/release.sh archive | export | validate | uploadDocumentation
| ARCHITECTURE | modules, data flow, concurrency |
| ALARMKIT | scheduling, reconciliation, intents, limits |
| MISSIONS | the ten missions, difficulty, fallbacks |
| DESIGN_SYSTEM | palette, typography, components, sound, haptics |
| TESTING | what is tested, how, and what is not |
| PRIVACY | data, permissions |
| TESTFLIGHT | Apple identity, release procedure, current build |
| CHANGELOG | versions |
Privacy
No account, no server, no analytics, no advertising SDK, no network code. Camera frames and motion data are processed on the device and never stored. See docs/PRIVACY.md.
License
Copyright © 2026 Simon-Pierre Boucher. All rights reserved. The source is published for reading; see LICENSE.