···32 run(main())
33```
3435+## development
36+37+You need to download the [`zstd_dictionary`][zstd_dictionary] file from the Jetstream repository.
38+A Make recipe is provided to do so:
39+40+```sh
41+make atproto_jetstream/zstd_dictionary
42+```
43+44[atproto]: https://atproto.com/
45[jetstream]: https://docs.bsky.app/blog/jetstream
46[pypi]: https://pypi.org/project/atproto_jetstream/
47+[zstd_dictionary]: https://github.com/bluesky-social/jetstream/tree/main/pkg/models
···1from asyncio import run
2-from atproto_jetstream import Jetstream
0345async def main():
6- async with Jetstream("jetstream1.us-east.bsky.network") as stream:
07 async for event in stream:
8 match event.kind:
9 case "account":
···1from asyncio import run
2+3+from atproto_jetstream import Jetstream, JetstreamOptions
456async def main():
7+ options = JetstreamOptions(compress=True)
8+ async with Jetstream("jetstream1.us-east.bsky.network", options=options) as stream:
9 async for event in stream:
10 match event.kind:
11 case "account":