ATProto Browser

ATProto Browser

Experimental browser for the Atmosphere

Post

If you want XSS protection, the only way is to use a session cookie. This will only work if you also setup a backend. The way we recommend doing this is by handling session mgt from a backend, and proxy calls to the PDS through that backend github.com/bluesky-soci...

Nov 17, 2024, 6:58 PM

Record data

{
  "uri": "at://did:plc:linrigsaay5zenhg756ca6tg/app.bsky.feed.post/3lb63lxdfcs2i",
  "cid": "bafyreihxrqjsbxrf5ws3f66x2zso6rcn7dgtqpvltdqfmsinenkzjvbfla",
  "value": {
    "text": "If you want XSS protection, the only way is to use a session cookie. This will only work if you also setup a backend. The way we recommend doing this is by handling session mgt from a backend, and proxy calls to the PDS through that backend\ngithub.com/bluesky-soci...",
    "$type": "app.bsky.feed.post",
    "embed": {
      "$type": "app.bsky.embed.external",
      "external": {
        "uri": "https://github.com/bluesky-social/statusphere-example-app",
        "thumb": {
          "$type": "blob",
          "ref": {
            "$link": "bafkreihpa6a2ul74gqe5j72stceyx37dlpay43no6jejo4eepdfh5tjvzi"
          },
          "mimeType": "image/jpeg",
          "size": 114644
        },
        "title": "GitHub - bluesky-social/statusphere-example-app: An example atproto application using ExpressJS and Typescript.",
        "description": "An example atproto application using ExpressJS and Typescript. - bluesky-social/statusphere-example-app"
      }
    },
    "langs": [
      "en"
    ],
    "reply": {
      "root": {
        "cid": "bafyreidyqxizsuw7algjls6q5qj5zhjkx2cv2cpikk5qqfrirqg2w43tfu",
        "uri": "at://did:plc:nzrozayxq764zbgl4qtp5ald/app.bsky.feed.post/3lb5s5tmxq22q"
      },
      "parent": {
        "cid": "bafyreiarquyiwogvpv2vbf7vbkg5l4oeevsigjy2zq77d2kjyqwhcf33gm",
        "uri": "at://did:plc:nzrozayxq764zbgl4qtp5ald/app.bsky.feed.post/3lb5sniqx3s2c"
      }
    },
    "facets": [
      {
        "index": {
          "byteEnd": 267,
          "byteStart": 241
        },
        "features": [
          {
            "uri": "https://github.com/bluesky-social/statusphere-example-app",
            "$type": "app.bsky.richtext.facet#link"
          }
        ]
      }
    ],
    "createdAt": "2024-11-17T18:58:47.584Z"
  }
}