ATProto Browser

ATProto Browser

Experimental browser for the Atmosphere

Post

like what it's just kind of working???? i replaced the tokio net with a websockets asyncread + asyncwrite impl. even tokio tracing works logging to the console. i wonder if i'm going to manage to run my multi-threaded crate though. apparently wasm supports it now idk

Apr 12, 2025, 11:06 AM

Record data

{
  "uri": "at://did:web:falafel.blog/app.bsky.feed.post/3lmmfbdsrg226",
  "cid": "bafyreif7kpmtd3fwif6d64o4ljn3c6sdhm4iavjmp2zadss4u2fsdayaxu",
  "value": {
    "text": "like what it's just kind of working???? i replaced the tokio net with a websockets asyncread + asyncwrite impl. even tokio tracing works logging to the console. i wonder if i'm going to manage to run my multi-threaded crate though. apparently wasm supports it now idk",
    "$type": "app.bsky.feed.post",
    "embed": {
      "$type": "app.bsky.embed.images",
      "images": [
        {
          "alt": "chrome console logs (beware screenreader hell probably)\nGET chrome-extension://invalid/ net::ERR_FAILED\n(index):16 INFO /home/cel/.local/share/cargo/git/checkouts/peanuts-837b6c02de07c34d/c658ab4/src/writer.rs:82 wrote element start: <?xml version='1.0'?><stream:stream xmlns:stream=\"http://etherx.jabber.org/streams\" xmlns=\"jabber:client\" to=\"\" xml:to=\"en\" version=\"1.0\">\n(index):16 INFO /home/cel/.local/share/cargo/git/checkouts/peanuts-837b6c02de07c34d/c658ab4/src/reader.rs:100 read prolog: \n(index):16 panicked at luz/src/client.rs:53:14:\ncalled `Result::unwrap()` on an `Err` value: XML(ParseError(\"<close xmlns='urn:ietf:params:xml:ns:xmpp-framing'/>\", \"error Tag at: />\"))\n\nStack:\n\nError\n    at http://127.0.0.1:8000/wasm-bindgen-test:635:21\n    at logError (http://127.0.0.1:8000/wasm-bindgen-test:15:18)\n    at imports.wbg.__wbg_new_78093c5bd701d017 (http://127.0.0.1:8000/wasm-bindgen-test:634:66)\n    at luz-f4fb41cfdeb4c8a3.wasm.__wbg_new_78093c5bd701d017 externref shim (http://127.0.0.1:8000/wasm-bindgen-test_bg.wasm:wasm-function[25692]:0x80926e)\n    at luz-f4fb41cfdeb4c8a3.wasm.wasm_bindgen_test::__rt::Context::new::panic_handling::Error::new::hf0eeaa7cfb478124 (http://127.0.0.1:8000/wasm-bindgen-test_bg.wasm:wasm-function[15967]:0x77a867)",
          "image": {
            "$type": "blob",
            "ref": {
              "$link": "bafkreicptrkkbx23wfglyoldblfgla7hsb54c5wnmkxfzarn5wupyxxgam"
            },
            "mimeType": "image/jpeg",
            "size": 411723
          },
          "aspectRatio": {
            "width": 650,
            "height": 467
          }
        }
      ]
    },
    "langs": [
      "en"
    ],
    "reply": {
      "root": {
        "cid": "bafyreifh5luym2z4j2stnxv3x7fzlyb7w2rx23lgt6uutby44w4s7ckpt4",
        "uri": "at://did:web:falafel.blog/app.bsky.feed.post/3lmmexxlnok26"
      },
      "parent": {
        "cid": "bafyreidkya53fmr4auqc7qs2jxiyv4oxphdzxiyakriw7yrtwfwvv6e3r4",
        "uri": "at://did:web:falafel.blog/app.bsky.feed.post/3lmmeys3rdc26"
      }
    },
    "createdAt": "2025-04-12T11:06:13.231Z"
  }
}