DailyTxT logo

DailyTxT

Encrypted diary and journal web app with markdown support

Alternative to: day one, journey

DailyTxT screenshot

About

DailyTxT is an encrypted diary and journal web application, written in Svelte and Go, that lets you write daily entries with a live Markdown preview. Every entry and uploaded file is encrypted before it is stored, so not even the server admin can read your private data. It includes tagging, full-text search, and an image gallery viewer for attachments, and runs anywhere via Docker.

DailyTxT Docker Compose example

Self-host DailyTxT on your own server, homelab, or VPS starting from this Docker Compose example. It runs DailyTxT in Docker containers using the official phitux/dailytxt:latest image, with persistent volumes and automatic restarts preconfigured. Review the environment variables and adjust them to your setup, save the file as compose.yml (or docker-compose.yml), and start the stack with docker compose up -d.

services:
  dailytxt:
    image: phitux/dailytxt:latest
    restart: unless-stopped
    volumes:
      - data:/data
    environment:
      # Secret token used to sign login sessions. Generate one with: openssl rand -base64 32
      SECRET_TOKEN: "changeme"
      # Password for the admin panel.
      ADMIN_PASSWORD: "changeme"
      # Allow new user registrations. Keep enabled to create the first account, then disable it in the admin panel.
      ALLOW_REGISTRATION: "true"
      # Indentation used when pretty-printing the stored JSON files. Set to 0 to disable.
      INDENT: "4"
      # Number of days before the login cookie expires.
      LOGOUT_AFTER_DAYS: "40"

volumes:
  data:

Values set to changeme are required — replace them with your own values before starting DailyTxT.

Prefer a managed setup? WinterFlow installs, configures, and updates DailyTxT for you using this same Docker Compose configuration.