Single-file HTML apps that run in a browser and, inside Kapsula, get real alarms and persistent storage. Copy the code into Kapsula, or give it to ChatGPT/Claude as a starting point.
25/5 cycles, count of completed sessions per day, alarm at the end of each phase.
notify · storage · sound3 or 5 minutes, countdown survives reopening, alarm rings with the app closed.
notify · storage · soundGlasses per day with a progress bar and optional reminders every 1–2 hours until 22:00.
notify · storage · hapticsA repeating routine: items persist, check marks reset every day.
storage · hapticsDaily reminders at fixed times; each entry re-arms its next alarm automatically.
notify · storageAll examples are public domain — use them however you like. Patterns they follow: state in kapsula.storage, absolute end times, notify.cancel() before rescheduling, graceful fallback in a plain browser. Details: bridge API.