selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

Monica logo

Self-host Monica

v4.1.2

Open-source personal CRM for friends and family

ReleaseOpen SourceAGPL-3.0
docker run -d -p 8080:80 monica
Updated2 years ago
LanguagePHP
Setup difficultyModerate
Stars
25 738
Ports
80 (HTTP web UI in the apache image variant (mapped to host port 8080 in the examples)), 9000 (FastCGI listener of the fpm image variant, proxied by a separate web server)
Requires
MySQL / MariaDB
Docker
monica
Settings screen listing a user's notification channelsForm for adding a new email notification channel

What is Monica?

Monica alternatives

Should you self-host Monica?

Monica scores 78/100 on selfhost.directory (how scoring works) and ranks #2 of 21 in CRM. It has 25 738 GitHub stars, +315 in the last 30 days.

There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.

Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is AGPL-3.0-licensed and written mostly in PHP.

Its closest alternative on selfhost.directory is Twenty (83/100, 60 637 stars). It scores higher overall, so compare the two before you pick. See Monica vs Twenty side by side.

Features

  • Activity Log
  • Contact Management
  • Customizable record sections
  • Data Import/ExportIn 4.x; the 5.x beta cannot yet import data from an existing Monica account.
  • Document and photo uploads
  • Journal / diary
  • Labels
  • Multiple currencies
  • Multiple users and private vaults
  • Notes on contacts
  • Pet records
  • Relationship mapping
  • Reminders
  • REST APIPresent in 4.x; the 5.x beta instance says the API is still missing.
  • Task Management

Monica README

Monica’s Logo

Document your life

Docker pulls Lines of code Code coverage License

How to install Monica

Install Monica with Docker

mysql/mariadb only
Environment variables
APP_KEY, DB_HOST, DB_USERNAME, DB_PASSWORD, DB_DATABASE
docker run -d -p 8080:80 monica
docker run -d \
 -v monica_data:/var/www/html/storage
 monica

The apache tag runs a full install with an apache webserver; the fpm tag needs a proxying webserver. The beta version is published at ghcr.io/monicahq/monica-next.

How to configure Monica

  • APP_NAMEMonicaThe name of your application. This is used as the default title of the pages.
  • APP_ENVlocalTwo choices: local|production. Use local if you want to install Monica as a development version. Use production otherwise.
  • APP_KEYThe encryption key. This is the most important part of the application. Keep this secure otherwise, everyone will be able to access your application. Must be 32 characters long exactly. Use `php artisan key:generate` or `echo -n 'base64:'; openssl rand -base64 32` to generate a random key.
  • APP_DEBUGtruetrue if you want to show debug information on errors, or if you need to debug locally. For production, put this to false.
  • APP_URLhttp://localhost:8000The URL of your application.

Monica releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

FAQ

Does Monica do anything with AI?

Monica v3 will expose an MCP server so you can point your own assistant at your own data, but Monica does not send your relationships to a model on its own.

Is there a mobile application?

The web application already works on a phone; native iOS and Android apps are planned after v3.

What happens to my account when v3 arrives?

The plan is a clear migration path for existing accounts, including contacts, notes and reminders, with nothing deleted or forced overnight.

Can I import contacts I already have?

Yes, from vCard and CSV files, with duplicates shown to you before anything is merged.

Can I get my data out?

Yes, at any time and in full, including the custom structures you built.

Who can see my data on the hosted version?

Nobody browses it: support staff may access an account only with your explicit permission, and data is never sold or used for advertising or model training.

Do I need to be technical to use it?

Not for the hosted version; self-hosting needs Docker or a PHP environment you maintain, and the documentation covers both.

Is Monica really free?

The code is free and running it on your own server costs nothing; the hosted version is a paid subscription that funds development.

More in CRM

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…