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.

Diarum logo

Self-host Diarum

v0.9.12

Elegant self-hosted diary with AI-powered reflections

BetaOpen SourceApache-2.0
Updatedlast week
LanguageGo
Setup difficultyEasy
MobilePWA
ThemeDark mode
Stars
173
Port
8090 (HTTP web interface)
Docker
songtianlun/diarum
Install with Docker
Desktop light theme diary editorDesktop dark theme diary editorMobile light theme diary editorMobile dark theme diary editor

What is Diarum?

Diarum is a personal diary application designed for daily writing with zero friction — open it and you're on today's entry, auto-saved. It supports full Markdown formatting, image and file attachments including Live Photos and HEIC conversion, and offers three visual editor styles (classic, immersive book, retro Windows 95). The app runs as a single Go binary with an embedded Svelte frontend and SQLite database, making deployment trivial via Docker, Docker Compose, or bare metal. An integrated RAG-based AI assistant works with any OpenAI-compatible endpoint (including local Ollama or LM Studio) to generate weekly reports, year-end reviews, and reflections grounded in your own entries. A built-in MCP server and read-only REST API with OpenAPI docs let external AI agents like Claude, Cursor, or n8n workflows access your diary securely. Additional features include a Progressive Web App with offline support, one-click sharing, Memos webhook sync, multi-user support with an admin console, comprehensive audit logging, visitor statistics, and automated S3 backups. All data stays in a single directory you control.

Should you self-host Diarum?

Diarum scores 48/100 on selfhost.directory (how scoring works) and ranks #43 of 81 in Notes & Editors. It has 173 GitHub stars.

It shipped 10 stable releases in the past year. The latest, v0.9.12, came out on 19 October 2026. New versions land roughly every 1 days.

Setup is easy: most people get it running in one sitting. An official Docker image is available. It is Apache-2.0-licensed and written mostly in Go.

Its closest alternative on selfhost.directory is Memos (86/100, 64 136 stars). It scores higher overall, so compare the two before you pick. See Diarum vs Memos side by side.

Features

  • AI assistant with RAG
  • Audit Logging
  • Automated S3 backups
  • Daily diary with one entry per day
  • Markdown Support
  • Media upload with Live Photos and HEIC support
  • Memos webhook sync
  • Model Context Protocol (MCP) server
  • Multi-user with admin console
  • Offline writing with auto-sync
  • Progressive Web App (PWA)
  • REST API with OpenAPI docs
  • Three visual editor styles
  • Visitor statistics

Diarum README

How to install Diarum

Install Diarum with Docker

Docker Engine
Environment variables
DIARUM_DATA_PATH=/app/data, TZ

docker run -d
--name diarum
-p 8090:8090
-v /path/to/your/data:/app/data
songtianlun/diarum:latest

Mount data directory for persistence

How to configure Diarum

  • --data-dirCommand line flag for data directory (highest priority)

    Command line flag for data directory (highest priority)

    values: Any valid filesystem path

  • DIARUM_DATA_PATH/app/data (Docker) or ./diarum_data (binary)Data directory path for database, images, logs

    Data directory path for database, images, logs

    values: Any valid filesystem path

  • --http:8090Listen address and port

    Listen address and port

    values: Host:port format (e.g., 127.0.0.1:8090)

  • TZTime zone for scheduled jobs (backups, log cleanup)

    Time zone for scheduled jobs (backups, log cleanup)

    values: IANA time zone (e.g., Europe/London)

Diarum releases & version history

More in Personal Productivity

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…