C++20 · Mac app · offline
Cycle
A period tracker for macOS that never touches the internet. No account, no cloud, no analytics. Your cycle data is plain text files on your own Mac, because health data shouldn't have to go anywhere else.
try it
Log a few periods, watch the prediction learn
There's some sample history already (use ‹ to see earlier months). Click days up to today to log or un-log them, and change the setup answers on the right. The prediction starts from what you told it and moves toward what you actually log.
Same prediction rules as the app, ported to JavaScript. In keeping with the app, this demo doesn't save or send anything. Close the tab and it's gone.
how it works
Your data is just files
Everything lives in ~/Library/Application Support/PeriodTracker/: log.csv is one date per line, symptoms.csv holds flow, symptoms and mood, and profile.txt keeps your setup answers. You can read them, back them up, or edit them by hand.
Useful from day one
The first time it opens, it asks a few questions: usual cycle length, period length, how regular you are, your age, when your last period started. Every one is optional. Those answers give it something to predict from before you've logged a single cycle.
Setup answers fade out
The setup answer counts like a few "pretend" cycles. The more regular you said you are, the more it counts. Every real cycle you log takes one away, until the prediction is purely your own data. Without that decay, the setup answer would pull on the average forever.
Only the recent past
Averages use your last 6 cycles, since bodies change. It ignores cycle lengths that can't be right (under 15 or over 60 days), and it doesn't count a period you might still be logging, so a half-finished one doesn't drag the average down.
Honest error bars
Every prediction comes with a ± margin. It starts from how regular you said you were and converges on how much your logged cycles actually vary.
Fertile window
Ovulation is counted back 14 days from the next period rather than forward from the last one, since the phase after ovulation is the more consistent one. The fertile window runs from 5 days before to 1 day after.
Symptoms without guesswork
Any day can hold flow, symptoms and mood. A summary screen shows where each symptom tends to fall in your cycle ("typically day 12"). It's read-only on purpose: guessing cycle timing from symptoms would be guesswork, and it has no business quietly moving the dates the app shows you.
the tricky parts
A real, self-contained app
The build produces Period Tracker.app that opens from the Dock like anything else. It's compiled against Homebrew libraries, so a script walks the dependency tree after each build, copies every non-system library into the bundle, rewrites their paths, and re-signs everything. That's 10 libraries, about 5 MB.
The library that wasn't there
Homebrew's "SDL2" turned out to be SDL2 implemented on top of SDL3, which loads libSDL3 at runtime with dlopen. It never shows up in the dependency list, so the bundled app broke until I copied it in by hand.