Skip to content

NexaFlowFrance/OpenCare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

OpenCare

OpenCare

The open-source, self-hosted care coordination app for family caregivers
Coordinate the circle around an elderly loved one. On your server, with your data.

πŸ‡¬πŸ‡§ English Β· πŸ‡«πŸ‡· FranΓ§ais

Release CI License: AGPL v3 PWA


OpenCare is a self-hosted alternative to caregiver apps like Jointly or CaringBridge: a care circle around each cared-for person, a real-time care journal, medications with reminders, a shared calendar, shared expenses between siblings, and tools nobody else offers: magic links so professionals can write without an account, a fridge QR emergency sheet, a wall tablet for the cared-for person. All on your server: the health data of a vulnerable person should not live on someone else's cloud.

✨ Features

The foundation

πŸ‘₯ Care circle One circle per cared-for person, invite by link, fine-grained roles (family, professional, neighbour, read-only). Multi-circle from day one: follow both parents
πŸ“” Care journal The digital liaison book: timestamped entries with photos, real time on every device (WebSocket). The heart of the app
πŸ’Š Medications Treatments and schedules, intake confirmation written to the journal, prescription renewal alerts
πŸ“… Shared calendar Visits, medical appointments, nurse rounds, recurrences, reminders, iCal export (.ics / webcal)
❀️ Health tracking Hand-entered vitals (weight, blood pressure, pain, mood, temperature, glucose), curves over time
βœ… Tasks and shopping Who does what this week, plus a shared shopping list the home aide can use too
πŸ’¬ Messages Circle thread and direct messages, attachments
πŸ“ Documents and contacts Prescriptions, reports, insurance, legal papers; the circle address book (GP, nurse, the neighbour who has the key)

Beyond the paid apps

πŸ’Ά Shared expenses A built-in Tricount: who advanced what, balances, suggested settlements, and tracking of French aids (APA, CESU, tax credit)
βš–οΈ Care load fairness "Marie covered 78% of the visits this month": objective stats to prevent burnout of the primary caregiver
πŸ”— Magic links The home aide or the nurse writes in the journal from a simple link (SMS/QR), no account, no app to install
🩺 Consultation prep One click: a printable summary for the doctor (key events, vitals trends, current treatments, the family's questions)
πŸ–₯️ Kiosk A wall tablet at your loved one's home: who is coming today (with photos), big medication reminders, weather, and two huge buttons: "All is well" / "I need help"
🚨 Emergency QR sheet A printed QR on the fridge: paramedics scan it and see the vital sheet (treatments, allergies, directives, contacts), always up to date
πŸ“– "Who I am" A life-story page (career, pride, habits, what soothes them) shown to every new caregiver, inspired by the Alzheimer's Society "This is me" document
🧳 Respite handover The primary caregiver leaves for a week: an auto-generated handover pack (schedule, medications, instructions, contacts) shared by link
🏠 Passive monitoring Home Assistant webhooks (door sensor, coffee-maker plug, motion): "normal activity this morning" on the family dashboard, alert cascade if no sign of life. No camera, no wristband
πŸŽ™οΈ Voice journal Dictate on your way out ("20 minute visit, all fine, get paracetamol"): your self-hosted Whisper transcribes, the AI files the journal entry and the shopping item
πŸ€– Weekly AI digest Every Sunday: "Calm week. 5 visits. Stable blood pressure. Attention: 2 missed doses on Tuesday and Thursday." With slow-trend detection (recurring low mood, gradual weight loss)

Built to be yours

  • Self-hosted: Docker, or a one-click Windows installer (Node.js and PostgreSQL bundled)
  • Offline-friendly PWA: works in a nursing-home room with poor signal
  • Local-first AI: Ollama on your machine, or your own Anthropic / OpenAI-compatible key, encrypted at rest
  • Full export of all circle data, AGPL-3.0 licensed
  • French and English interface

πŸš€ Quick start

πŸͺŸ Windows installer (.exe)

For Windows users, NexaFlow provides an all-in-one graphical installer: Node.js and PostgreSQL are bundled, no Docker and no configuration required.

Download OpenCare-Setup.exe from the latest release, run it, click Start: the app opens at http://localhost:3000. The window also shows your local network address so the rest of the family can open it from their phones on the same Wi-Fi.

🐳 Docker (recommended for a server)

cp .env.example .env   # set POSTGRES_PASSWORD and JWT_SECRET
docker-compose up -d --build

πŸ› οΈ Development

On Windows, the simplest path needs no Docker: the script starts the bundled PostgreSQL, writes a dev .env, and launches the app.

npm install
powershell -ExecutionPolicy Bypass -File scripts\dev-windows.ps1

On macOS or Linux (or Windows with Docker):

npm install
docker-compose up -d postgres   # or any PostgreSQL 14+
cp .env.example .env            # set JWT_SECRET (32+ chars) and POSTGRES_PASSWORD
npm run dev

The database schema bootstraps itself on first start: no manual SQL step. A .env at the project root is required for npm run dev (the script above creates one for you on Windows).

πŸ†š Why OpenCare?

OpenCare Jointly / CaringBridge
Your data on your server βœ… ❌
Open source (AGPL-3.0) βœ… ❌
Free, no subscription βœ… ⚠️
Caregivers write without an account (magic link) βœ… ❌
Shared expenses and care-load fairness βœ… ❌
Kiosk for the cared-for person βœ… ❌
Passive monitoring via Home Assistant βœ… ❌

🧰 Tech stack

Frontend: React 19 Β· TypeScript Β· Vite 7 Β· TailwindCSS Β· Radix UI Β· i18next Β· PWA (service worker, web push, offline) Backend: Node.js 20 Β· Express Β· PostgreSQL 14+ (self-bootstrapping schema) Β· WebSocket Β· Web Push (VAPID) Β· JWT + bcrypt 12 Β· helmet Β· rate limiting DevOps: Docker Compose Β· GitHub Actions Β· Inno Setup Windows installer

πŸ” Security

JWT auth (7 days) Β· passwords hashed with bcrypt (cost 12) Β· per-circle role checks on every request Β· secure HTTP headers via helmet Β· rate limiting on auth endpoints Β· strict configurable CORS Β· server-side input validation Β· AI keys encrypted at rest (AES-256-GCM) Β· structured logs.

🀝 Contributing

Contributions are welcome! The product spec lives in docs/SPEC.md. Open an issue or a pull request.

πŸ“„ License

GNU Affero General Public License v3.0 (AGPL-3.0-only), see licence.md.

πŸ™ Credits

Built and maintained by NexaFlow France, and offered to every family that takes care of someone.

About

Application open source et auto-hebergee de coordination des aidants familiaux autour d'un proche. Par NexaFlow, AGPL-3.0.

Resources

License

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors