{
  "name": "KeyBridge recipe library",
  "updated": "2026-10-11T12:09:03.267Z",
  "recipes": [
    {
      "id": "squadrats",
      "version": 1,
      "name": "Squadrats",
      "keyLabel": "Personal tiles token",
      "description": "The private token in your Squadrats map tile URLs. Apps like Navibirx use it to show your collected squares.",
      "site": "https://squadrats.com/",
      "matches": [
        "https://squadrats.com/*",
        "https://*.squadrats.com/*"
      ],
      "instructions": "Log in to squadrats.com and open your map with your squares visible, then press Grab.",
      "strategies": [
        {
          "type": "resource",
          "pattern": "tiles-beta\\.squadrats\\.com/([A-Za-z0-9_-]{8,})/trophies"
        },
        {
          "type": "request",
          "urls": [
            "https://tiles-beta.squadrats.com/*"
          ],
          "pattern": "tiles-beta\\.squadrats\\.com/([A-Za-z0-9_-]{8,})/trophies"
        },
        {
          "type": "indexedDB",
          "db": "firebaseLocalStorageDb",
          "store": "firebaseLocalStorage",
          "path": "value.uid"
        }
      ],
      "keyPattern": "^[A-Za-z0-9_-]{8,64}$",
      "validate": {
        "url": "https://tiles-beta.squadrats.com/{key}/trophies-earth/0/0/0/0.pbf",
        "okStatus": [
          200,
          204
        ]
      },
      "targets": [
        {
          "name": "Navibirx",
          "url": "https://navibirx.kuld.dev/#sq={key}",
          "qr": true
        }
      ]
    },
    {
      "id": "keybridge-demo",
      "version": 1,
      "name": "KeyBridge demo",
      "keyLabel": "Demo API key",
      "description": "Try KeyBridge without an account: a demo site holds a made-up key, and a demo app receives it.",
      "site": "https://keybridge.kuld.dev/demo/site",
      "matches": [
        "https://keybridge.kuld.dev/demo/site*"
      ],
      "instructions": "This demo site stores a made-up key. Press Grab, then send it to the demo app.",
      "strategies": [
        {
          "type": "localStorage",
          "key": "^keybridge-demo-key$"
        },
        {
          "type": "dom",
          "selector": "[data-demo-key]",
          "attribute": "data-demo-key"
        }
      ],
      "keyPattern": "^demo_[A-Za-z0-9]{24}$",
      "targets": [
        {
          "name": "Demo app",
          "url": "https://keybridge.kuld.dev/demo/app#key={key}",
          "qr": true
        }
      ]
    }
  ]
}