relay filter/appview bootstrap
Nix 69.4%
TypeScript 30.6%
1 1 0

Clone this repository

https://tangled.org/gmstn.systems/prism
git@knot.gmstn.systems:gmstn.systems/prism

For self-hosted knots, clone URLs may differ based on your setup.

README.md

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.

appview-prism-pinkfloyd

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).