Health & Fitness · Open source
Megrim: Migraine Log
Steve Maegley
Private, offline migraine log with automatic on-device pattern insights.
Opens the official F-Droid page
About Megrim: Migraine Log
Smart migraine tracking that stays on your device.
Megrim is an open-source, offline-first migraine diary that helps you find your personal triggers. The app automatically adds time-of-day, season, daylight, and moon context to your entries — and, if you opt in, local weather and barometric pressure — calculating correlations entirely on your phone. With no accounts, no cloud servers, and zero tracking, your health data stays completely private and under your control.
What's inside:
* Automatic on-device enrichment — daylight hours, time of day, season, and moon phase computed locally; opt in to add local weather and barometric-pressure change (24h/48h). No manual entry.
* Real personal analytics — migraine days per month (the last 30 days, a 3-month average and a monthly chart), trends by day-of-week, time-of-day, season, daylight, pressure change, and moon phase, plus a "suspected factors" card that uses odds ratios over your own log.
* Fast logging — one tap starts a migraine, or long-press the app icon and choose "Log migraine".
* Your data stays yours — on-device storage only, with full export and import (JSON and CSV), a printable PDF report for your doctor, and an optional backup reminder.
* Optional app lock — open Megrim with your phone's own fingerprint, face or PIN, and hide it in the recent-apps switcher.
* No accounts, no servers, no telemetry — by default the app makes no automatic network requests (the only exception is the place-name search you type when setting your home location). Weather enrichment is opt-in; when enabled, the only network request is to Open-Meteo.com, to fetch weather for the approximate (~1 km rounded) location and date of the entries you create.
* Free and open source (GPL-3.0-or-later).
Megrim is a personal diary and is NOT a medical device. It does not diagnose, treat, cure, or prevent any condition. "Suspected factors" are statistical associations in your own log — association is not causation. Always consult a qualified healthcare professional.
Weather data by Open-Meteo.com.
What's new in 1.0.7
• New: optional app lock with your phone's fingerprint, face or PIN (Settings › Privacy). Adds two Android permissions, unused unless it's on. • New: migraine days per month, in Analytics and the PDF report. • New: long-press the icon → Log migraine. • Fixed: Android backup now includes your diary. • Suspected factors are more accurate: each migraine counts once, on its first day, and pressure is compared fairly. Your odds ratios will change.
How to install Megrim: Migraine Log
- Tap Download — the app's official page on F-Droid opens.
- Install it with the F-Droid app (recommended, for automatic updates), or use the download button on that page.
- If Android asks, allow the F-Droid app or your browser to install apps, then tap Install.
- Open Megrim: Migraine Log from your app drawer.





