Constellation, Spacedust, Slingshot, UFOs: atproto crates and services for microcosm

more readme stuff

jestream lib, badges, intro with links etc

Changed files
+48 -20
+48 -20
readme.md
···
microcosm
=========
-
This repo contains APIs and libraries for [atproto](https://atproto.com/) services from [microcosm](https://microcosm.blue):
+
HTTP APIs and rust libraries for [atproto](https://atproto.com/) services from [microcosm](https://microcosm.blue).
+
+
[![@microcosm.blue: bluesky](https://img.shields.io/badge/@microcosm.blue-bluesky-blue)](https://bsky.app/profile/microcosm.blue)
+
[![microcosm discord: join](https://img.shields.io/badge/microcosm_discord-join-purple)](https://discord.gg/tcDfe4PGVB)
+
[![github sponsors: support](https://img.shields.io/badge/github_sponsors-support-pink)](https://github.com/sponsors/uniphil/)
+
[![ko-fi: support](https://img.shields.io/badge/ko--fi-support-pink)](https://ko-fi.com/bad_example)
+
+
Welcome!
+
+
The documentation for microcosm services is under active development. If you like reading API docs, you'll probably hit the ground running!
+
+
Tutorials, how-to guides, and client SDK libraries are all in the works for gentler on-ramps, but are not quite ready yet. But don't let that stop you! Hop in the [microcosm discord](https://img.shields.io/badge/microcosm_discord-join-purple), or post questions and tag [@bad-example.com](https://bsky.app/profile/bad-example.com) on Bluesky if you get stuck anywhere!
+
+
This repository's primary home is moving to tangled: [@microcosm.blue/microcosm-rs](https://tangled.sh/@microcosm.blue/microcosm-rs). It will continue to be mirrored on [github](https://github.com/at-microcosm/microcosm-rs) for the forseeable future, and it's fine to open issues or pulls in either place!
๐ŸŒŒ [Constellation](./constellation/)
···
A global atproto interactions backlink index as a simple JSON API. Works with every lexicon, runs on a raspberry pi, consumes less than 2GiB of disk per day. Handles record deletion, account de/re-activation, and account deletion, ensuring accurate link counts while respecting users' data choices.
-
- source: [./constellation/](./constellation/)
-
- [public instance + API docs](https://constellation.microcosm.blue/)
-
- status: used in production. APIs will change but backwards compatibility will be maintained as long as needed.
+
- Source: [./constellation/](./constellation/)
+
- [Public instance/API docs](https://constellation.microcosm.blue/)
+
- Status: used in production. APIs will change but backwards compatibility will be maintained as long as needed.
๐ŸŽ‡ [Spacedust](./spacedust/)
···
A global atproto interactions firehose. Extracts all at-uris, DIDs, and URLs from every lexicon in the firehose, and exposes them over a websocket modelled after [jetstream](github.com/bluesky-social/jetstream).
-
- source: [./spacedust/](./spacedust/)
-
- [public instance + API docs](https://spacedust.microcosm.blue/)
-
- status: v0: the basics work and the APIs are in place! missing cursor replay, forward link storage, and delete event link hydration.
+
- Source: [./spacedust/](./spacedust/)
+
- [Public instance/API docs](https://spacedust.microcosm.blue/)
+
- Status: v0: the basics work and the APIs are in place! missing cursor replay, forward link storage, and delete event link hydration.
-
Demos:
+
### Demos:
- [Spacedust notifications](https://notifications.microcosm.blue/): web push notifications for _every_ atproto app
- [Zero-Bluesky real-time interaction-updating post embed](https://bsky.bad-example.com/zero-bluesky-realtime-embed/)
···
A fast, eager, production-grade edge cache for atproto records and identities. Pre-caches all records from the firehose and maintains a longer-term cache of requested records on disk.
-
- source: [./slingshot/](./slingshot/)
-
- [public instance + API docs](https://slingshot.microcosm.blue/)
-
- status: v0: most XRPC APIs are working. cache storage is being reworked.
+
- Source: [./slingshot/](./slingshot/)
+
- [Public instance/API docs](https://slingshot.microcosm.blue/)
+
- Status: v0: most XRPC APIs are working. cache storage is being reworked.
๐Ÿ›ธ [UFOs API](./ufos)
···
Timeseries stats and sample records for every [collection](https://atproto.com/guides/glossary#collection) ever seen in the atproto firehose. Unique users are counted in hyperloglog sketches enabling arbitrary cardinality aggregation across time buckets and/or NSIDs.
-
- source: [./ufos/](./ufos/)
-
- [public instance + API docs](https://ufos-api.microcosm.blue/)
-
- status: Used in production. It has APIs and they work! Needs improvement on indexing; needs more indexes and some more APIs to the data exposed.
+
- Source: [./ufos/](./ufos/)
+
- [Public instance/API docs](https://ufos-api.microcosm.blue/)
+
- Status: Used in production. It has APIs and they work! Needs improvement on indexing; needs more indexes and some more APIs to the data exposed.
-
See also: [UFOs atproto explorer](https://ufos.microcosm.blue/) built on UFOs API. ([source](github.com/at-microcosm/spacedust-utils))
+
> [!info]
+
> See also: [UFOs atproto explorer](https://ufos.microcosm.blue/) built on UFOs API. ([source](github.com/at-microcosm/spacedust-utils))
๐Ÿ’ซ [Links](./links)
···
Rust library for parsing and extracting links (at-uris, DIDs, and URLs) from atproto records.
-
- source: [./links/](./links/)
-
- status: not yet published to crates.io; needs some rework
+
- Source: [./links/](./links/)
+
- Status: not yet published to crates.io; needs some rework
+
+
+
๐Ÿ›ฉ๏ธ [Jetstream](./jetstream)
+
---------------------------
+
+
A low-overhead jetstream client with cursor handling and automatic reconnect.
+
+
- Source: [./links/](./links/)
+
- Status: used in multiple apps in production, but not yet published to crates.io; some rework planned
+
+
> [!info]
+
> See also: [Rocketman](https://github.com/teal-fm/cadet/tree/main/rocketman), another excellent rust jetstream client which shares some lineage and _is_ published on crates.io.
+
๐Ÿ”ญ Deprecated: [Who am I](./who-am-i)
···
An identity bridge for microcosm demos, that kinda worked. Fixing its problems is about equivalent to reinventing a lot of OIDC, so it's being retired.
-
- source: [./who-am-i/](./who-am-i/)
-
- status: ready for retirement.
+
- Source: [./who-am-i/](./who-am-i/)
+
- Status: ready for retirement.
-
Still in use for the Spacedust Notifications demo, but that will hopefully be migrated to use atproto oauth directly instead.
+
> [!warning]
+
> Still in use for the Spacedust Notifications demo, but that will hopefully be migrated to use atproto oauth directly instead.