Experimental browser for the Atmosphere
{ "uri": "at://did:plc:hsqwcidfez66lwm3gxhfv5in/link.pastesphere.snippet/3lcvvu2zelk2y", "cid": "bafyreigbcfdrwfesntip5ppykakkg6qz7nyosgm5rc6mjr5n4uyairmq3a", "value": { "body": "import asyncio\nfrom websockets.asyncio.client import connect\n\nbsky_jetstream=\"wss://jetstream1.us-west.bsky.network/subscribe?wantedCollections=blue.place.pixel\"\n\nasync def hello():\n async with connect(bsky_jetstream) as websocket:\n while True: \n message = await websocket.recv()\n print(message)\n\n\nif __name__ == \"__main__\":\n asyncio.run(hello())", "type": "Python", "$type": "link.pastesphere.snippet", "title": "Simple WS Script", "createdAt": "2024-12-09T23:45:02.782Z", "description": "am i crazy?? " } }