Main features
- No-code app builder with an XForms form designer
- Display conditions, calculations and repeat groups
- Photo, audio, video, signature, GPS, barcode and document upload questions
- Offline-first Android app that syncs when back online
- Case management for follow-up visits over months or years
- Over-the-air restore of users and cases
- Mobile worker and user management across project spaces
- SMS reminders and two-way messaging
- Web and email reports with scheduled delivery
- Web apps in the browser through Formplayer
- Hosted data in the United States, the EU or India
What CommCare does
CommCare is a platform for building data collection apps for frontline workers, such as community health workers, who often work where connectivity is weak or missing. It is built by Dimagi, and the Android app’s README describes it as an open source mobile platform for low-resource settings that replaces paper forms. CommCare HQ, the repository listed here, is the server where you design apps, manage workers and see the data.
The difference from a survey tool is case management. Instead of collecting one-off responses, a CommCare app registers people, households or other things as cases and lets workers open, update and close them across many visits, with checklists, multimedia and SMS reminders. Forms are built in an OpenRosa-compliant XForms designer inside a no-code app builder, so program staff rather than developers can change them. Questions range from text, choices and dates to GPS, barcodes, photos, audio, video, signatures and document uploads, and display conditions, hidden calculated values and translations handle logic and several languages. The mobile app works offline first and syncs when it gets a signal, and users and cases are restored to the device over the air. The same apps can run in a browser through Formplayer, the bundled web app platform.
Data, reporting and integrations
CommCare HQ includes web and email reports that staff can build, save and schedule without a developer. On Dimagi’s hosted service, the more advanced connections depend on the plan: API access starts on Pro, while web apps, OData feeds to Power BI and Tableau, two-way SMS and data de-identification start on Advanced, and single sign-on is an Enterprise feature. Self-hosted, the code is the same BSD-licensed application with no license key.
Self-hosting CommCare
Self-hosting is a serious undertaking, and Dimagi says so plainly: its deployment guide warns that CommCare HQ is a distributed application with dozens of processes and several databases, built for scale rather than simplicity, and that it needs considerable system administration capacity. Deployment uses commcare-cloud, an Ansible-based toolkit, on Ubuntu 22.04. The quick single-server install expects at least 32 GB of RAM, a mid-range server CPU and a 2 TB SSD, and suits projects with fewer than 1,500 users and no need for redundancy. Larger programs move to two-server or five-server clusters. Docker images exist for development only, not for production. The stack includes PostgreSQL, CouchDB, Elasticsearch, Redis and Kafka behind Nginx, with optional email and SMS gateways, Sentry and Datadog or Prometheus.
Hosted version
Dimagi runs CommCare HQ as a hosted service. The Free Edition is described as for testing, with one project space and five mobile workers, and paid Standard, Pro, Advanced and Enterprise plans add workers and features. Every plan lets you host data in the United States, the European Union or India.
Limitations
CommCare is not a form builder for public web forms, lead capture or quick surveys sent by link. The free hosted plan is meant for trials, and self-hosting needs hardware and skills far beyond what any other app in this category asks for. Much of the documentation assumes Dimagi’s hosted service, so self-hosters should budget time for the deployment guides. For simpler offline surveys without case management, ODK Central runs on a 2 GB server and KoboToolbox has a free hosted plan.
Who it suits
CommCare suits NGOs, health ministries and research programs that follow the same people over time, such as health or social programs with workers on Android phones, and that want either a hosted service with a choice of US, EU or Indian data location or their own cluster under a permissive license.
License details
BSD-3-Clause. The repository shown is CommCare HQ, the server. The Android app and the Formplayer web app platform live in separate Dimagi repositories. Paid plans apply only to Dimagi's hosted service.
Technical details
Self-hosting needs
- PostgreSQL
- CouchDB
- Elasticsearch
- Redis
- Kafka
Built with
- Python
- Django
- JavaScript
GitHub topics
- commcare-hq
Reviewed by the OpenSourcePicks editors from the project's repository and documentation. Something out of date? Tell us.