ATProto Browser

ATProto Browser

Experimental browser for the Atmosphere

Post

Yes, it is a major quality of life improvement! Ktor will also allow you to directly retrieve deserialised configuration from the Application 😍 The previous example uses Ktor's new DI module, but the snippet below is relying only on the ktor-server-core module.

Apr 18, 2025, 9:40 AM

Record data

{
  "uri": "at://did:plc:e66chf4auvpeahjkzeccs36t/app.bsky.feed.post/3ln3dbuzpgc2o",
  "cid": "bafyreiazjsp22dcdxapw5bwwqwfrvyrgmbdokz3bh4cjy4wimdzselawhe",
  "value": {
    "text": "Yes, it is a major quality of life improvement! Ktor will also allow you to directly retrieve deserialised configuration from the Application 😍\n\nThe previous example uses Ktor's new DI module, but the snippet below is relying only on the ktor-server-core module.",
    "$type": "app.bsky.feed.post",
    "embed": {
      "$type": "app.bsky.embed.images",
      "images": [
        {
          "alt": "Example snippet showcasing Ktor retrieving deserialised configuration directly from the Application class.",
          "image": {
            "$type": "blob",
            "ref": {
              "$link": "bafkreib72dq2pnkqydx4ircksdurg27uin4qorggdi7vthrzid7t7q55yy"
            },
            "mimeType": "image/jpeg",
            "size": 189343
          },
          "aspectRatio": {
            "width": 980,
            "height": 434
          }
        }
      ]
    },
    "langs": [
      "en"
    ],
    "reply": {
      "root": {
        "cid": "bafyreibcenajupgjoj4h2ryepbyhjat7midmmo7owtefvn4y5vbe3t27zi",
        "uri": "at://did:plc:e66chf4auvpeahjkzeccs36t/app.bsky.feed.post/3ln37aljfu22n"
      },
      "parent": {
        "cid": "bafyreifgyg2mvixtrex23wbreszra3s4p4ubygayx4wrl4ahbfayzakjyi",
        "uri": "at://did:plc:vb6kf6qq44tsmtrhipn27x5k/app.bsky.feed.post/3ln3bvf6muk2s"
      }
    },
    "createdAt": "2025-04-18T09:40:39.876Z"
  }
}