ATProto Browser

ATProto Browser

Experimental browser for the Atmosphere

Post

Since there's a commotion about Ghostty, I wanna show my hack to get random images on Windows Terminal

Jan 4, 2025, 3:38 PM

Record data

{
  "uri": "at://did:plc:acru3aborkcc6esypwcstmwb/app.bsky.feed.post/3lewgrr7c422d",
  "cid": "bafyreigkrcudcvqnp3js4oqp35k4k2u7nqirjzr3nnamyf44zmdizxggkq",
  "value": {
    "text": "Since there's a commotion about Ghostty, I wanna show my hack to get random images on Windows Terminal",
    "$type": "app.bsky.feed.post",
    "embed": {
      "$type": "app.bsky.embed.images",
      "images": [
        {
          "alt": "randnum=$((1 + $RANDOM % 163))\ncat <<< $(jq '.profiles.defaults.backgroundImage = \"Path/To/LocalState/settings.json) >  Path/To/LocalState/settings.json\n",
          "image": {
            "$type": "blob",
            "ref": {
              "$link": "bafkreif5otffy6qjiipx6qj6rzq665ct5xyhct4ims4cvcfr2eaxrt5n2e"
            },
            "mimeType": "image/jpeg",
            "size": 287824
          },
          "aspectRatio": {
            "width": 2000,
            "height": 838
          }
        }
      ]
    },
    "langs": [
      "en"
    ],
    "createdAt": "2025-01-04T15:38:22.248Z"
  }
}