{
  "manifest": {
    "spekkr": 1,
    "id": "kato/email-sign-in",
    "name": "Sign-in with email",
    "summary": "Sign-up, sign-in by password or emailed link, sessions and password reset, with a test for every way an account can be taken over.",
    "keywords": [
      "login",
      "log in",
      "signin",
      "auth",
      "authentication",
      "magic link",
      "passwordless",
      "register",
      "forgot password",
      "accounts"
    ],
    "kind": "app part",
    "version": "0.1.2",
    "author": {
      "id": "kato",
      "name": "Kato"
    },
    "targets": {
      "platforms": [
        "web",
        "backend"
      ]
    },
    "customize": {
      "settings": [
        {
          "key": "app_name",
          "label": "App name",
          "default": "Acme",
          "help": "Shown on the pages and in every email."
        },
        {
          "key": "session_days",
          "label": "Days a session lasts",
          "default": "30",
          "help": "A whole number of days."
        }
      ],
      "options": [
        {
          "key": "email_verification",
          "label": "Confirm email addresses",
          "default": true,
          "help": "A new account must open an emailed link before it can sign in."
        }
      ],
      "swaps": [
        {
          "key": "database",
          "label": "Database",
          "choices": [
            "postgres",
            "sqlite"
          ],
          "default": "postgres"
        },
        {
          "key": "method",
          "label": "How people sign in",
          "choices": [
            "password",
            "email_link",
            "both"
          ],
          "default": "password",
          "help": "A password, a link sent by email, or either."
        }
      ]
    },
    "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"
      ],
      "permissions": [
        "shell",
        "network"
      ]
    },
    "demo": {
      "screenshots": [
        "shots/signup_desktop.png",
        "shots/signup_error_360.png",
        "shots/check_email.png",
        "shots/account_security.png"
      ]
    },
    "safety": {
      "secrets": [
        "DATABASE_URL",
        "SESSION_SECRET",
        "EMAIL_API_KEY"
      ]
    },
    "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/email-sign-in."
      }
    ]
  },
  "links": {
    "page": "./",
    "bundle": "bundle.tar.gz",
    "files": {
      "design.md": "files/design.md",
      "shots/account_security.png": "files/shots/account_security.png",
      "shots/check_email.png": "files/shots/check_email.png",
      "shots/signup_desktop.png": "files/shots/signup_desktop.png",
      "shots/signup_error_360.png": "files/shots/signup_error_360.png",
      "spec.md": "files/spec.md",
      "tasks.md": "files/tasks.md"
    }
  },
  "publishedBy": "kato",
  "uploaded": {
    "shots/account_security.png": {
      "bytes": 48582,
      "type": "image/png"
    },
    "shots/check_email.png": {
      "bytes": 22762,
      "type": "image/png"
    },
    "shots/signup_desktop.png": {
      "bytes": 28102,
      "type": "image/png"
    },
    "shots/signup_error_360.png": {
      "bytes": 28243,
      "type": "image/png"
    }
  }
}
