App to track her period (ovulation calendar).
Find a file
Arnas Udovic 838a8996da fix savings
2026-02-05 16:24:28 +02:00
.gitignore Her Days working app waibcoded 2026-01-30 19:44:38 +02:00
export.go today color on top 2026-02-05 07:36:44 +02:00
go.mod Her Days working app waibcoded 2026-01-30 19:44:38 +02:00
go.sum Her Days working app waibcoded 2026-01-30 19:44:38 +02:00
history_export.go Her Days working app waibcoded 2026-01-30 19:44:38 +02:00
import.go Her Days working app waibcoded 2026-01-30 19:44:38 +02:00
LICENSE Initial commit 2026-01-30 09:26:35 +00:00
main.go fix savings 2026-02-05 16:24:28 +02:00
main_test.go fix savings 2026-02-05 16:24:28 +02:00
README.md make exports work without X11 2026-01-31 09:42:06 +02:00

her-days

App to track her period (ovulation calendar).

Calendar Legend

  • Red Background: Active period.
  • Light Red Background: Predicted next period.
  • Green Background: Predicted fertile window (5 days before ovulation + ovulation day).
  • Yellow Background: Extended fertile window.
  • Cyan Background: Today's date.
  • Solid Bullet (●): Sex activity (Gray: Failed, Yellow: Normal, Red: Good).
  • Circle around Bullet: Protection is used
  • Blue Square in corner: Note exists for that day.
  • Bold Day Number: Marked as "Start of Period".

Run Application

go run .

Import Data

To import historical data from a .myd file (default Default_User.myd), run: This is from MyDays Android app (https://play.google.com/store/apps/details?id=com.chris.mydays)

go run . --import-myd path_to_file.myd

Export to PNG (Cron)

To export the current month's calendar view to a high-resolution PNG file (suitable for mobile devices and automated reports). This operation is headless and does not require an X11 session:

go run . --export-png /path/to/save/image.png

Example cron job to export daily at 00:00:

0 0 * * * cd /path/to/her-days && go run . --export-png /path/to/save/calendar_$(date +\%Y-\%m-\%d).png

Export to TXT

To export the full history to a text file (newest dates on top):

go run . --export-txt /path/to/save/history.txt