ATProto Browser

ATProto Browser

Experimental browser for the Atmosphere

Post

Day 21 — hash-based routing for SvelteKit apps, for when you don't need (or can't run) a server. You can't use any server-side logic (including SSR), but other than, it's just like any other SvelteKit app šŸŽ docs svelte.dev/docs/kit/con... šŸŽ demo hash-based-routing.vercel.app

Dec 21, 2024, 6:41 PM

Record data

{
  "uri": "at://did:plc:b6gbde64ngpelprsvnphc2l2/app.bsky.feed.post/3ldtkhzy7bc2g",
  "cid": "bafyreif4trosmocmru556jhlh7uu7bg2nmygjbk4r5nfxulgoxqqymw7rm",
  "value": {
    "text": "Day 21 — hash-based routing for SvelteKit apps, for when you don't need (or can't run) a server. You can't use any server-side logic (including SSR), but other than, it's just like any other SvelteKit app\n\nšŸŽ docs svelte.dev/docs/kit/con...\nšŸŽ demo hash-based-routing.vercel.app",
    "$type": "app.bsky.feed.post",
    "embed": {
      "$type": "app.bsky.embed.external",
      "external": {
        "uri": "https://svelte.dev/docs/kit/configuration#router",
        "thumb": {
          "$type": "blob",
          "ref": {
            "$link": "bafkreigpjgdhn2endxp4ldokatjkw2a2liwocshohjueeckv34kdrmek6y"
          },
          "mimeType": "image/jpeg",
          "size": 334188
        },
        "title": "Configuration • Docs • Svelte",
        "description": "Configuration • Svelte documentation"
      }
    },
    "langs": [
      "en"
    ],
    "reply": {
      "root": {
        "cid": "bafyreieay7byr4wjm7fybgxcjbsa7b6v36dc3jmrv3gwtoxlffk3lh33ve",
        "uri": "at://did:plc:b6gbde64ngpelprsvnphc2l2/app.bsky.feed.post/3lcavobxn7c2k"
      },
      "parent": {
        "cid": "bafyreicw4cqpxfziikt3pce6zktzmbqdu3zpjibuxfnhk4ftfkgldl6xgm",
        "uri": "at://did:plc:b6gbde64ngpelprsvnphc2l2/app.bsky.feed.post/3ldqli3lk4k2g"
      }
    },
    "facets": [
      {
        "index": {
          "byteEnd": 244,
          "byteStart": 218
        },
        "features": [
          {
            "uri": "https://svelte.dev/docs/kit/configuration#router",
            "$type": "app.bsky.richtext.facet#link"
          }
        ]
      },
      {
        "index": {
          "byteEnd": 284,
          "byteStart": 255
        },
        "features": [
          {
            "uri": "https://hash-based-routing.vercel.app/",
            "$type": "app.bsky.richtext.facet#link"
          }
        ]
      }
    ],
    "createdAt": "2024-12-21T18:41:20.033Z"
  }
}