Prism#
Prism is a simple ATProto Relay filtering service. Point it to a relay, give it some NSID, partial NSID, or domain authority, and it'll filter relay events for you and store/cache them for future retrieval if you want to.
For example, if you want to only filter all events relating to sh.tangled.*, simply configure your .env file with FILTER_BY="sh.tangled" and it'll monitor the relay for those records.
Other services may subscribe to a Prism instance as though it is a relay itself and receive the filtered events as they are played from the parent relay.
Prism also implements a very minimal cache (24h, configurable). Endpoints for accessing the cache are xrpc compatible and the lexicons can be found in lexicons/
Backfill coming soon (if you're crazy ig).