{
  "schema_version": 1,
  "generated_at": "2026-10-22T00:00:00.000Z",
  "canonical_url": "https://openlogs.fyi/tools/trilium",
  "slug": "trilium",
  "name": "Trilium",
  "tagline": "Hierarchical note-taking app that builds a personal knowledge base.",
  "replaces": {
    "summary": "Paid note-taking services, such as Evernote and Notion.",
    "products": [
      {
        "slug": "evernote",
        "name": "Evernote",
        "vendor": "Bending Spoons",
        "url": "https://openlogs.fyi/alternatives/evernote"
      },
      {
        "slug": "notion",
        "name": "Notion",
        "vendor": "Notion",
        "url": "https://openlogs.fyi/alternatives/notion"
      }
    ]
  },
  "stack": [
    {
      "kind": "language",
      "name": "TypeScript"
    }
  ],
  "deployment_methods": [
    "docker_compose"
  ],
  "requirements": {
    "min_ram_mb": null,
    "min_cpu_cores": null,
    "source_url": null
  },
  "license": {
    "spdx": "AGPL-3.0",
    "class": "osi",
    "source_url": "https://github.com/TriliumNext/Trilium/blob/1f26d8ccb09890113a7d6dd95417563732911e82/LICENSE"
  },
  "business_model": {
    "value": "unknown",
    "notes": "The README at the pinned commit does not state a business model, so it stays unknown.",
    "source_url": "https://github.com/TriliumNext/Trilium/blob/1f26d8ccb09890113a7d6dd95417563732911e82/README.md",
    "checked_at": "2026-10-22"
  },
  "difficulty": {
    "value": "easy",
    "reason": "1 service, 3 volume mounts, no env values to set, no elevated host access. Heuristic score 1 of 11: easy."
  },
  "repository": {
    "owner": "TriliumNext",
    "name": "Trilium",
    "url": "https://github.com/TriliumNext/Trilium"
  },
  "compose_check": {
    "status": "config_ok",
    "validated_at": "2026-10-22",
    "summary": "config_ok on 2026-10-22"
  },
  "recipe": {
    "version": 1,
    "source_path": "docker-compose.yml",
    "source_repo": "TriliumNext/Trilium",
    "source_commit_sha": "1f26d8ccb09890113a7d6dd95417563732911e82",
    "source_kind": "app_repo",
    "source_url": "https://github.com/TriliumNext/Trilium/blob/1f26d8ccb09890113a7d6dd95417563732911e82/docker-compose.yml"
  },
  "install_steps": [
    {
      "order": 1,
      "kind": "prerequisite",
      "language": "text",
      "label": "Docker with the Compose plugin",
      "body": "A host with Docker and the Docker Compose plugin. This entry runs from a compose file.",
      "source_url": "https://github.com/TriliumNext/Trilium/blob/1f26d8ccb09890113a7d6dd95417563732911e82/docker-compose.yml",
      "validation_status": "unvalidated"
    },
    {
      "order": 2,
      "kind": "compose",
      "language": "yaml",
      "label": "Save the compose file as docker-compose.yml",
      "body": "# Running `docker-compose up` will create/use the \"trilium-data\" directory next to this file\n# To run in the background, use `docker-compose up -d`\nservices:\n  trilium:\n    # Optionally, replace `latest` with a version tag like `v0.90.3`\n    # Using `latest` may cause unintended updates to the container\n    image: triliumnext/trilium:latest\n    # Restart the container unless it was stopped by the user\n    restart: unless-stopped\n    ports:\n      # By default, Trilium will be available at http://localhost:8080\n      # It will also be accessible at http://<host-ip>:8080\n      # You might want to limit this with something like Docker Networks, reverse proxies, or firewall rules,\n      # however be aware that using UFW is known to not work with default Docker installations, see:\n      # https://docs.docker.com/engine/network/packet-filtering-firewalls/#docker-and-ufw\n      - '8080:8080'\n    volumes:\n      # Trilium stores its data in `trilium-data` next to this file. To use another directory\n      # on the host, change the part before the colon only.\n      - ./trilium-data:/home/node/trilium-data\n      - /etc/timezone:/etc/timezone:ro\n      - /etc/localtime:/etc/localtime:ro\n",
      "source_url": "https://github.com/TriliumNext/Trilium/blob/1f26d8ccb09890113a7d6dd95417563732911e82/docker-compose.yml",
      "validation_status": "config_ok"
    },
    {
      "order": 3,
      "kind": "shell",
      "language": "bash",
      "label": "Start it",
      "body": "docker compose up -d",
      "source_url": "https://github.com/TriliumNext/Trilium/blob/1f26d8ccb09890113a7d6dd95417563732911e82/docker-compose.yml",
      "validation_status": "unvalidated"
    },
    {
      "order": 4,
      "kind": "verify",
      "language": "text",
      "label": "Open the app",
      "body": "Open http://localhost:8080. The compose file publishes host port 8080 for the trilium service.",
      "source_url": "https://github.com/TriliumNext/Trilium/blob/1f26d8ccb09890113a7d6dd95417563732911e82/docker-compose.yml",
      "validation_status": "unvalidated"
    }
  ],
  "notes": [
    {
      "kind": "gotcha",
      "title": "Some images use the latest tag or no tag",
      "body": "Images without a pinned version: trilium: triliumnext/trilium:latest. A later pull can get a different version.",
      "source_url": "https://github.com/TriliumNext/Trilium/blob/1f26d8ccb09890113a7d6dd95417563732911e82/docker-compose.yml",
      "checked_at": "2026-10-22"
    },
    {
      "kind": "gotcha",
      "title": "The compose file publishes host ports",
      "body": "Host ports: 8080 (trilium). A port without a host address listens on all host network interfaces.",
      "source_url": "https://github.com/TriliumNext/Trilium/blob/1f26d8ccb09890113a7d6dd95417563732911e82/docker-compose.yml",
      "checked_at": "2026-10-22"
    },
    {
      "kind": "gotcha",
      "title": "The compose file mounts host folders",
      "body": "Host paths mounted into containers: ./trilium-data at /home/node/trilium-data (trilium), /etc/timezone at /etc/timezone (trilium), /etc/localtime at /etc/localtime (trilium).",
      "source_url": "https://github.com/TriliumNext/Trilium/blob/1f26d8ccb09890113a7d6dd95417563732911e82/docker-compose.yml",
      "checked_at": "2026-10-22"
    }
  ],
  "signals": {
    "captured_at": "2026-10-22",
    "stars": 38437,
    "forks": 2593,
    "open_issues": 579,
    "last_push": "2026-10-22",
    "days_since_push": 0,
    "latest_release": "v0.106.0",
    "latest_release_date": "2026-09-25",
    "days_since_release": 26
  },
  "links": {
    "html": "https://openlogs.fyi/tools/trilium",
    "markdown": "https://openlogs.fyi/tools/trilium.md",
    "json": "https://openlogs.fyi/tools/trilium.json"
  },
  "updated_at": "2026-10-22"
}
