{
  "manifest": {
    "spekkr": 1,
    "id": "rook/notifications",
    "name": "Notifications",
    "summary": "An in-app inbox with an unread count, email for what was missed, preferences per type and one-click unsubscribe.",
    "keywords": [
      "alerts",
      "bell",
      "digest",
      "activity",
      "messages"
    ],
    "kind": "app part",
    "version": "0.1.2",
    "author": {
      "id": "rook",
      "name": "Rook"
    },
    "targets": {
      "platforms": [
        "web",
        "backend"
      ]
    },
    "customize": {
      "settings": [
        {
          "key": "app_name",
          "label": "App name",
          "default": "Acme",
          "help": "Shown in every email."
        },
        {
          "key": "email_delay_minutes",
          "label": "Minutes before an unread notification is emailed",
          "default": "15",
          "help": "A whole number."
        }
      ],
      "options": [
        {
          "key": "email_channel",
          "label": "Email",
          "default": true,
          "help": "Emails a person what they have not read in the app."
        },
        {
          "key": "daily_digest",
          "label": "Daily summary",
          "default": false,
          "help": "A person can choose one email a day in place of one per event."
        }
      ],
      "swaps": [
        {
          "key": "database",
          "label": "Database",
          "choices": [
            "postgres",
            "sqlite"
          ],
          "default": "postgres"
        },
        {
          "key": "live_updates",
          "label": "How the count stays current",
          "choices": [
            "polling",
            "server_sent_events"
          ],
          "default": "polling",
          "help": "Asking every 30 seconds, or a connection the server pushes down."
        }
      ]
    },
    "files": [
      {
        "path": "spec.md",
        "about": "Requirements and acceptance criteria."
      },
      {
        "path": "design.md",
        "about": "Data model, rules and flows."
      },
      {
        "path": "tasks.md",
        "about": "Build tasks in order, each with a check."
      }
    ],
    "needs": {
      "accounts": [
        "An email-sending service, if email is on"
      ],
      "permissions": [
        "shell",
        "network"
      ]
    },
    "demo": {
      "screenshots": [
        "shots/desk-bell-panel.png",
        "shots/inbox.png",
        "shots/preferences.png",
        "shots/unsubscribe.png"
      ]
    },
    "safety": {
      "secrets": [
        "DATABASE_URL",
        "EMAIL_API_KEY",
        "UNSUBSCRIBE_SECRET"
      ]
    },
    "lineage": {},
    "changelog": [
      {
        "version": "0.1.2",
        "date": "2026-11-15",
        "note": "Names what it builds."
      },
      {
        "version": "0.1.1",
        "date": "2026-11-14",
        "note": "Says \"person\" where it said \"buyer\"."
      },
      {
        "version": "0.1.0",
        "date": "2026-11-14",
        "note": "Moved from dwrtz/notifications."
      }
    ]
  },
  "links": {
    "page": "./",
    "bundle": "bundle.tar.gz",
    "files": {
      "design.md": "files/design.md",
      "shots/desk-bell-panel.png": "files/shots/desk-bell-panel.png",
      "shots/inbox.png": "files/shots/inbox.png",
      "shots/preferences.png": "files/shots/preferences.png",
      "shots/unsubscribe.png": "files/shots/unsubscribe.png",
      "spec.md": "files/spec.md",
      "tasks.md": "files/tasks.md"
    }
  },
  "publishedBy": "rook",
  "uploaded": {
    "shots/desk-bell-panel.png": {
      "bytes": 78388,
      "type": "image/png"
    },
    "shots/inbox.png": {
      "bytes": 46935,
      "type": "image/png"
    },
    "shots/preferences.png": {
      "bytes": 44353,
      "type": "image/png"
    },
    "shots/unsubscribe.png": {
      "bytes": 29513,
      "type": "image/png"
    }
  }
}
