Starter kit for ATProto feed generators
Top 23.5% on sourcepulse
This starter kit provides a foundational framework for building custom AT Protocol Feed Generators. It's designed for developers and researchers looking to implement unique content aggregation and delivery algorithms within the AT Protocol ecosystem, enabling personalized user experiences.
How It Works
The feed generator acts as a service that receives getFeedSkeleton
requests from a user's Personal Data Server (PDS). It responds with a list of post URIs, optionally including metadata like repost reasons. The PDS then hydrates these URIs into full post views for the client. The core logic involves subscribing to the AT Protocol firehose (com.atproto.sync.subscribeRepos
), parsing and indexing events, and implementing feed generation algorithms in src/algos
.
Quick Start & Requirements
yarn
and run the server with yarn start
.yarn
.http://localhost:3000/xrpc/app.bsky.feed.getFeedSkeleton?feed=at://did:example:alice/app.bsky.feed.generator/whats-alf
.Highlighted Details
getFeedSkeleton
method for custom feed delivery.publishFeedGen
script for deploying and updating feed metadata.Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The project is described as a "starter kit" and "not feature complete." The provided PDS hydration logic is for development purposes, with future PDS hydration relying on an App View. The did:web
setup is suitable for initial deployment, but did:plc
is recommended for long-term stability.
6 months ago
1 week