{
  "manifest": {
    "spekkr": 1,
    "id": "dwrtz/linked-notes",
    "name": "Linked notes",
    "summary": "A Markdown notes app on Cloudflare Workers, D1 and R2: wikilinks, backlinks, live preview, search, graph, daily notes, sync.",
    "keywords": [
      "notes",
      "markdown",
      "wikilinks",
      "backlinks",
      "graph view",
      "daily notes",
      "full-text search",
      "react",
      "codemirror",
      "cloudflare workers",
      "d1",
      "r2"
    ],
    "kind": "web app",
    "version": "0.1.0",
    "author": {
      "id": "dwrtz",
      "name": "David Wurtz"
    },
    "targets": {
      "platforms": [
        "web",
        "backend"
      ],
      "stack": [
        "TypeScript",
        "Cloudflare Workers",
        "Cloudflare D1",
        "Cloudflare R2",
        "Wrangler",
        "React",
        "Vite",
        "CodeMirror 6",
        "markdown-it",
        "d3-force",
        "Vitest",
        "Playwright"
      ]
    },
    "customize": {
      "settings": [
        {
          "key": "app_name",
          "label": "Product name",
          "default": "Notes",
          "help": "Shown as the page title, on the sign-in page and in Settings > About."
        },
        {
          "key": "accent_color",
          "label": "Accent colour",
          "default": "#7c5cff",
          "help": "As #rrggbb. Links, the active item, selection, switches and focus rings."
        }
      ],
      "options": [
        {
          "key": "seed_demo",
          "label": "Demo data",
          "default": true,
          "help": "On an empty database, adds a demo account with a linked demo vault."
        },
        {
          "key": "cloudflare_access",
          "label": "Cloudflare Access in front",
          "default": false,
          "help": "Adds the Cloudflare Access deploy steps (self-hosted app, allowed emails, one-time PIN) and turns off workers.dev and preview URLs."
        }
      ],
      "swaps": [
        {
          "key": "access",
          "label": "Who can sign up",
          "choices": [
            "only_me",
            "invite_only",
            "open"
          ],
          "default": "only_me",
          "help": "only_me: the first account is the owner, then sign-up closes. invite_only: the owner invites people by email with one-time links. open: anyone can sign up."
        }
      ]
    },
    "files": [
      {
        "path": "spec.md",
        "about": "Requirements R1–R24 with acceptance checks, including who can sign up."
      },
      {
        "path": "design.md",
        "about": "Stack, Cloudflare config, deploy and Cloudflare Access steps, schema, sign-up policy, parsing and link rules, search grammar, sync, API, commands, demo data, unit tests, screens, look."
      },
      {
        "path": "tasks.md",
        "about": "Build tasks in order, each with a check."
      },
      {
        "path": "research.md",
        "about": "Provenance only, not needed to build: what the design was modelled on, sources, and where it differs."
      }
    ],
    "needs": {
      "permissions": [
        "shell",
        "network"
      ]
    },
    "demo": {
      "screenshots": [
        "shots/live-preview-backlinks.png",
        "shots/reading-view.png",
        "shots/graph.png",
        "shots/search.png",
        "shots/quick-switcher.png",
        "shots/dark-split.png",
        "shots/settings-hotkeys.png",
        "shots/mobile.png",
        "shots/settings-people.png"
      ]
    },
    "safety": {
      "commands": [
        "npm install",
        "npx wrangler d1 migrations apply DB --local",
        "npx wrangler dev",
        "npx playwright install chromium"
      ]
    },
    "lineage": {},
    "changelog": [
      {
        "version": "0.1.0",
        "date": "2026-11-16",
        "note": "First version."
      }
    ]
  },
  "links": {
    "page": "./",
    "bundle": "bundle.tar.gz",
    "files": {
      "design.md": "files/design.md",
      "research.md": "files/research.md",
      "shots/dark-split.png": "files/shots/dark-split.png",
      "shots/graph.png": "files/shots/graph.png",
      "shots/live-preview-backlinks.png": "files/shots/live-preview-backlinks.png",
      "shots/mobile.png": "files/shots/mobile.png",
      "shots/quick-switcher.png": "files/shots/quick-switcher.png",
      "shots/reading-view.png": "files/shots/reading-view.png",
      "shots/search.png": "files/shots/search.png",
      "shots/settings-hotkeys.png": "files/shots/settings-hotkeys.png",
      "shots/settings-people.png": "files/shots/settings-people.png",
      "spec.md": "files/spec.md",
      "tasks.md": "files/tasks.md"
    }
  },
  "publishedBy": "dwrtz",
  "uploaded": {
    "shots/dark-split.png": {
      "bytes": 155722,
      "type": "image/png"
    },
    "shots/graph.png": {
      "bytes": 98954,
      "type": "image/png"
    },
    "shots/live-preview-backlinks.png": {
      "bytes": 99975,
      "type": "image/png"
    },
    "shots/mobile.png": {
      "bytes": 58650,
      "type": "image/png"
    },
    "shots/quick-switcher.png": {
      "bytes": 97489,
      "type": "image/png"
    },
    "shots/reading-view.png": {
      "bytes": 76886,
      "type": "image/png"
    },
    "shots/search.png": {
      "bytes": 96104,
      "type": "image/png"
    },
    "shots/settings-hotkeys.png": {
      "bytes": 125984,
      "type": "image/png"
    },
    "shots/settings-people.png": {
      "bytes": 75242,
      "type": "image/png"
    }
  }
}
