Warning
This is an experiment, nothing more. It is not an official CARE release, not supported, and not ready for any use. Do not use it with real patient data or in clinical settings. It may change completely or be abandoned. For CARE itself, see ohcnetwork/care.
The experiment asks one question: can CARE be packaged as a lightweight, download-and-run desktop app for Windows, Linux and macOS, without Docker?
So far, yes: each OS gets one download containing a desktop launcher, Python, Postgres and CARE's backend and frontend. The launcher starts everything, shows each service's status, and opens CARE in your browser. CI builds and tests all three on every push.
![]() |
![]() |
| The launcher on Windows | The launcher on Linux (CI's virtual display has no window frame) |
![]() |
|
| CARE itself, served by the bundle on Windows |
Screenshots are taken by CI on GitHub's Linux, macOS and Windows runners (build workflow).
Builds of main are published as the
nightly pre-release:
| OS | File | Requirements |
|---|---|---|
| Windows 10/11, x64 | care-anywhere-windows-x64.zip |
WebView2 runtime (built into Windows 11 and most Windows 10) |
| macOS 12+, Apple silicon | care-anywhere-macos-arm64.dmg |
— |
| Linux, x64 | care-anywhere-linux-x64.tar.gz |
glibc; WebKitGTK 4.1 for the window (libwebkit2gtk-4.1-0) |
Each is about 190–210 MB to download.
- Extract the download anywhere (on macOS, open the
.dmgand drag CARE Anywhere to Applications). - Start the launcher:
-
Windows: run
care-anywhere.exe. The build is unsigned, so SmartScreen may warn: choose More info → Run anyway. -
macOS: the app is signed ad hoc but not notarized by Apple, so macOS blocks it the first time. Either open it, then go to System Settings → Privacy & Security and choose Open Anyway, or remove the download quarantine and open it:
xattr -dr com.apple.quarantine "/Applications/CARE Anywhere.app"open "/Applications/CARE Anywhere.app"Builds before this change weren't signed as a whole app, which macOS reports as "damaged"; the
xattrcommand above opens those too. -
Linux: run
./care-anywhere. Without a desktop, run./care-anywhere -headlessand open the dashboard athttp://127.0.0.1:27099.
-
- The first start takes 2–3 minutes while the database is created. When the window says
CARE is ready, choose Open CARE and sign in as
adminwith the password shown. - Optional, in the window's Settings:
- Network name: enter a name such as
clinicso phones, tablets and other computers on the same network can open CARE athttp://clinic.local(announced over mDNS). On Linux, which keeps port 80 for root, the address ishttp://clinic.local:27100. - Daily backup: choose a folder, for example on a USB drive. Once a day CARE's database,
uploaded files and keys are saved there as one encrypted file; the newest 14 are kept.
Backups open only with the backup key shown under the folder: keep a copy of it away
from this computer (printed, or in a password manager).
HOW-TO-RESTORE.txtin the backup folder explains how to open one. - Restore from a backup: choose a backup (and its key, if it came from another computer). CARE backs up the current data first, so a restore can be undone by restoring that backup.
- Network name: enter a name such as
- You can minimize the window; CARE keeps running. Closing it, or Stop CARE, stops everything.
CARE Anywhere uses ports 27099–27104. Without a network name everything listens on 127.0.0.1
only; with one, only the web app and file storage are reachable from the network, and file
storage accepts only signed upload and download links from other devices. Data is kept per
user, outside the app folder:
| Linux | macOS | Windows |
|---|---|---|
~/.local/share/care-anywhere |
~/Library/Application Support/CARE Anywhere |
%LOCALAPPDATA%\CARE Anywhere |
The macOS quarantine step and the SmartScreen prompt haven't been tried on a real download yet; CI runs the builds without them.
The launcher (launcher/, Go) runs Postgres, the CARE API (Django on Waitress), and the Celery
worker and scheduler as child processes. It runs the cache and task queue (Redis-compatible),
file storage (S3-compatible) and the web app inside itself, so only Postgres and Python ship as
separate programs. Its window shows the same dashboard page using the OS's built-in web view.
See docs/stack.md for the full stack, configuration, network name, backups, per-OS differences and known problems, such as the in-memory task queue and PDF fonts on macOS and Windows.
Core renders PDFs with WeasyPrint, which needs Pango/GTK libraries that are hard to bundle on Windows and macOS. CARE Anywhere uses the care_fullbleed_pdf plugin (Rust engine, pip wheels only) instead.
Core still imports WeasyPrint at startup, so a temporary core patch makes that import
optional: patches/core/0001-optional-weasyprint.patch.
It is applied to an exported copy of core, never to a core checkout. The matching upstream
issue is drafted, not filed: docs/issue-optional-weasyprint.md.
Builds run on GitHub Actions (.github/workflows/build.yml), one runner per OS. To build the
bundle for the OS you're on, you need git, uv, go, Node 24 and checkouts of
care and care_fe
next to this repo (or CARE_CORE_REPO / CARE_FE_REPO pointing at them):
scripts/build-frontend.shscripts/build-bundle.shscripts/smoke-test.sh "$(ls -d dist/care-anywhere-*/ | head -1)"On Linux, building the launcher needs libwebkit2gtk-4.1-dev and libgtk-3-dev.
| Path | Purpose |
|---|---|
launcher/ |
Go launcher: services, desktop window, dashboard (launcher/ui/) |
patches/core/REVISION, frontend/REVISION |
Core and frontend commits the build uses |
patches/core/*.patch |
Temporary core changes, applied in order |
scripts/prepare-core.sh |
Exports core, applies the patches, writes build/requirements.txt |
scripts/build-frontend.sh |
Builds care_fe into build/care_fe/build |
scripts/build-bundle.sh |
Assembles the bundle for this OS in dist/ |
scripts/smoke-test.sh |
Starts a bundle, checks sign-in and background tasks, takes screenshots, stops it |
scripts/window-screenshot.sh |
Captures the launcher window (CI) |
scripts/check-pdf-without-weasyprint.py |
Checks PDF rendering without WeasyPrint (check workflow) |
assets/icon.png |
App icon (CARE logo mark) |
docs/ |
Stack notes, issue draft, screenshots |
MIT. The core patch modifies CARE, which is also MIT-licensed. The launcher's dashboard uses CARE's logo from care_fe (MIT) and the Figtree font (SIL Open Font License 1.1).



