privacy_html = r''' Sleepy — Privacy Policy

Privacy Policy

Last updated: April 2026

In short

Sleepy stores all your sleep data locally on your iPhone. Nothing is transmitted, no account is required, and no analytics or tracking is used. You are always in control of your data.

Data we collect

None. We do not collect, transmit, or have access to any personal information. Everything you record in the app — bedtimes, wake times, notes, mood, fatigue ratings — is stored locally on your device using Apple’s SwiftData framework.

Accounts and login

Sleepy does not require an account. There is no sign-up, no login, and no personal information collected. The app works entirely offline.

Apple Health (optional)

If you enable Apple Health integration, Sleepy writes each completed sleep session to the Health app on your device. This data is managed by Apple’s Health framework and remains on your device and iCloud (if you have Health sync enabled in your Apple ID). Sleepy never reads or transmits this data elsewhere. You can revoke this permission anytime in iOS Settings > Health > Data Access & Devices > Sleepy.

Notifications

Notifications (bedtime reminders, wake reminders, wind-down reminders, weekly summary) are scheduled locally by iOS using Apple’s UserNotifications framework. They are triggered entirely on your device based on the schedule you configure and never leave your phone.

Live Activities

If enabled, Live Activities display your current sleep session on the Lock Screen and Dynamic Island. They run locally on your device and are not transmitted anywhere.

Third-party services

Sleepy does not use any third-party analytics, crash reporting, advertising, or tracking SDK. The only external services used are first-party Apple frameworks (HealthKit, UserNotifications, ActivityKit), each of which requires your explicit permission and is governed by Apple’s own privacy policy.

Data retention and deletion

Your sleep sessions are stored on your device until you delete them. You can delete individual nights from the Journal at any time (swipe or use the delete button in the night detail screen). Deleting the app from your iPhone permanently removes all locally-stored sleep data. Data written to Apple Health remains in your Health app and must be deleted separately from there.

Children’s privacy

Sleepy is rated 4+ and does not knowingly target or collect data from children. Since no data is collected at all, no age-based restrictions apply to data processing.

Your rights

Because we do not collect or process your personal data, most data-protection rights (access, correction, deletion, portability under GDPR) are fulfilled directly by you on your device. You can export all your data at any time from Settings > Your data > Export as CSV or JSON.

Licensing

Use of Sleepy is governed by the Apple Standard End User License Agreement (EULA). Limitations of liability and warranties are as defined in that EULA.

Contact

For any question about this policy or the app, please contact: martin.lecue@icloud.com

If you are located in the EU and have concerns about how your data is handled, you also have the right to file a complaint with your national data protection authority (e.g. CNIL in France).

Changes to this policy

If this policy ever changes, the updated version will be available here and in the app. Significant changes will be announced in the app’s release notes on the App Store.

Effective: April 2026

''' with open("/tmp/privacy.html", "w", encoding="utf-8") as f: f.write(privacy_html) print("privacy.html written:", len(privacy_html), "bytes") print("\nBoth files ready for download.")