Lunara is an unfinished open-source, local-first menstrual cycle, fertility, pregnancy, and perimenopause companion that you build from source and run on your own phone, with optional encrypted backup and bring-your-own-key AI features.

Stars

18

7-day growth

No data

Forks

9

Open issues

1

License

AGPL-3.0

Last updated

2026-07-27

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

It provides a privacy-focused, subscription-free alternative to commercial apps like Flo, giving full control over data through local storage and client-side encryption, while still offering optional AI insights that require no shared API key.

Who it is for

  • Privacy-conscious individuals who want to track health data without sending it to a cloud service
  • Developers willing to compile and install the app themselves
  • Users seeking an open-source alternative to paid fertility and cycle tracking apps
  • People who need offline pregnancy or perimenopause tracking without a paywall

Use cases

  • Tracking menstrual cycles, fertility windows, and symptoms without an internet connection
  • Using optional AI analysis with a personal API key from Anthropic or OpenAI
  • Building and installing the app on a personal iPhone or Android device for self-hosted health tracking
  • Running the browser-based version on Windows when an iPhone build is not feasible

Strengths

  • Local-first architecture ensures core tracking works entirely offline and data stays on the device
  • No subscription or paywall — all features are included in the open-source codebase
  • Optional AI is bring-your-own-key and uses platform keychain/keystore for credential storage
  • License is AGPL-3.0, promoting transparency and community contributions

Considerations

  • The app is a work in progress and not available on any app store; must be compiled from source
  • Building for iPhone requires a Mac; iPhone+Windows is not possible at all
  • Free Apple ID builds expire after 7 days, and the app is not a certified medical device

README quick start

Lunara

⚠️ Unfinished — this is a work in progress. Lunara is not on the App Store or Google Play, and there is no installer to double-click. You build it from this repository and run it on your own phone. Features are landing continuously and things will break. Do not rely on it as your only record of your health data.

An open-source, local-first cycle, fertility, pregnancy, and perimenopause companion.

Lunara ships through native iOS and Android shells powered by Capacitor. Core tracking works without an account or Lunara-hosted user database. Optional backup and AI features transmit data only after you enable them; their scope and security boundaries are documented in the repository.

Lunara is an open-source alternative to Flo®. It is not affiliated with, endorsed by, or connected to Flo Health Inc.

Why

  • No subscription gate. Tracking, pattern insights, reports, pregnancy guidance, and perimenopause tools are part of the open-source app.
  • Local first by architecture. Core logs live in the app's local storage. Optional backup stores a client-encrypted blob; optional AI shares only the categories you select for that request.
  • No 54-screen onboarding funnel. No paywall gauntlet. No nagging.

Getting Lunara onto your phone

There is no download. You compile the app on a computer and install it on your own phone over a cable. What you need depends on the phone you have:

Your phoneYour computerWorks?What you'll use
iPhoneMacXcode
AndroidMacAndroid Studio
AndroidWindowsAndroid Studio
iPhoneWindowsNot possible — see below

iPhone + Windows is not possible. Apple only allows iOS apps to be built and signed on macOS with Xcode; there is no supported Windows path, and no amount of setup works around it. Your options are to borrow a Mac, or run Lunara as a web app in your phone's browser (pnpm dev, then open the printed network URL on your phone) — the browser version keeps your data on the phone but has no widgets, notifications, or Health integration.

1. Install the shared prerequisites

You need Git, Node.js LTS, and pnpm. With Node installed:

npm install -g pnpm

2. Get the code and build the web bundle

git clo

Description

Open-source, local-first cycle, fertility, pregnancy and perimenopause companion. An alternative to Flo. AGPL-3.0.

Related repositories

Similar projects matched by category, topics, and programming language.

TanStack
Featured
TanStack GitHub avatar

router

TanStack Router is a type-safe, data-driven React router with built-in caching, prefetching, and nested layouts, while TanStack Start extends it into a full-stack SSR framework.

Web DevelopmentFrontend Frameworks
14,861
vercel-labs
Featured
vercel-labs GitHub avatar

scriptc

scriptc compiles ordinary TypeScript into small, fast native executables without needing Node.js, V8, or any JavaScript runtime in the binary.

Developer ToolsCode Quality & Build
1,985
Jakubantalik
Featured
Jakubantalik GitHub avatar

thinking-orbs

A React component library that renders six hand-tuned animated thought orb loading indicators on a plain 2D canvas, with two purpose-tuned sizes and automatic theme detection for AI and agent UIs.

AI & Machine LearningAI Agents
1,191