Megrim: Migraine Log

Private, offline migraine log with automatic on-device pattern insights.
Repo:F-Droid.Org
AppID:org.maegley.megrim
Author:Steve Maegley
License:GPL-3.0-or-later
Donation:Webpage
InRepoSince:2026-08-26
LastRepoUpdate:2026-11-13
LastAppUpdate:Unknown
LastVersion:1.0.9
Categories:Sports & Health
APK source:
icon 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.
* Clear days count too — tap "No migraine today" to record a good day, and Megrim compares your sleep, stress, triggers and foods on migraine days against clear days.
* Fast logging — one tap starts a migraine, or long-press the app icon and choose "Log migraine". Record symptoms, how much it affected your day, attacks without headache, medications and non-drug relief.
* Medications — classes for acute medications with a monthly medication-days count and a medication-overuse notice, preventives with start and stop dates, and what helped.
* Optional reminders — a daily reminder to log, and a "Migraine in progress" notification with an End button. Off until you turn them on (the notification permission is asked for only then), and never shown on a secure lock screen.
* 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.

WhatsNew:

• Dates and times follow your phone's region and its 12/24-hour setting; the calendar starts on Monday where that's the custom.
• Ready for translation: volunteers can now translate Megrim on Hosted Weblate. The app stays in English until a language is complete.
• Fixed: sleep hours accept a decimal comma ("7,5").
• No new permissions, no database change.

Download Source Issues ChangeLog
01-log.png 02-analytics-overview.png 02-analytics-summary.png 03-analytics-charts.png 03-suspected-factors.png 04-clear-days.png 04-event-medications.png 05-history-list.png 06-history-calendar.png 07-entry-detail.png 07-settings.png 08-onboarding-weather.png 08-settings-privacy.png 09-analytics-charts-dark.png 09-analytics-dark.png 10-analytics-summary-dark.png 10-log-dark.png
While you can download the APKs here directly, you should preferably use an F-Droid client so the app stays up-to-date on your device.

Packages

Version 1.0.9 (2026-11-13) no RB details available help icon

Android Versions:
  • Target: 16.0
  • MinVer: 8.0
  • ABIs: x86_64

Download (26.9 M)

Version 1.0.9 (2026-11-13) no RB details available help icon

Version 1.0.9 (2026-11-13) no RB details available help icon

Version 1.0.8 (2026-11-04) no RB details available help icon

Version 1.0.8 (2026-11-04) no RB details available help icon

Version 1.0.8 (2026-11-04) no RB details available help icon

Version 1.0.7 (2026-10-12) no RB details available help icon

Version 1.0.7 (2026-10-12) no RB details available help icon

Version 1.0.7 (2026-10-12) no RB details available help icon