{
  "name": "Rephrame — A Private CBT Journal",
  "short_name": "Rephrame",
  "id": "rephrame-cbt-journal",
  "description": "A private, offline-first cognitive behavioral therapy journal. Capture thoughts, identify distortions, and reframe them. All data stays on your device — no account, no server, no tracking.",
  "start_url": "./",
  "scope": "./",
  "display": "standalone",
  "display_override": ["window-controls-overlay", "standalone", "minimal-ui"],
  "orientation": "any",
  "background_color": "#1a1715",
  "theme_color": "#1a1715",
  "categories": ["health", "lifestyle", "productivity", "medical"],
  "launch_handler": {
    "client_mode": ["focus-existing", "auto"]
  },
  "icons": [
    { "src": "icons/icon-192.svg", "sizes": "192x192", "type": "image/svg+xml", "purpose": "any" },
    { "src": "icons/icon-512.svg", "sizes": "512x512", "type": "image/svg+xml", "purpose": "any" },
    { "src": "icons/icon-maskable-512.svg", "sizes": "512x512", "type": "image/svg+xml", "purpose": "maskable" },
    { "src": "icons/icon.svg", "sizes": "any", "type": "image/svg+xml", "purpose": "any" }
  ],
  "shortcuts": [
    {
      "name": "New Entry",
      "short_name": "Capture",
      "description": "Jump straight into capturing a thought",
      "url": "./?nav=capture",
      "icons": [{ "src": "icons/icon-192.svg", "sizes": "192x192", "type": "image/svg+xml" }]
    },
    {
      "name": "View Journal",
      "short_name": "Journal",
      "description": "Browse past entries",
      "url": "./?nav=journal",
      "icons": [{ "src": "icons/icon-192.svg", "sizes": "192x192", "type": "image/svg+xml" }]
    },
    {
      "name": "Patterns",
      "short_name": "Patterns",
      "description": "Review recurring thought patterns",
      "url": "./?nav=patterns",
      "icons": [{ "src": "icons/icon-192.svg", "sizes": "192x192", "type": "image/svg+xml" }]
    }
  ],
  "file_handlers": [
    {
      "action": "./?openfile=1",
      "accept": {
        "application/json": [".json"]
      }
    }
  ]
}
