Skip to content

SMAPPNYU/bluesky-feed-ts

 
 

Repository files navigation

Feed generator for Bluesky

This repository is a customized fork of https://github.com/bluesky-social/feed-generator

Implementation details

Content collection

The FirehoseSubscription.ts is a class that collects selected messages in the database. It also removes them from the feed if they are removed upstream.

Content filtering

The isPolitical function defined in src/bridging/index.ts decides if content should be saved to database.

Feed generation algorithm

You can find the algorithm generating the feed in src/algos/bridging-feed.ts. It simply fetches all known records from database sorted by indexing time, there's no sophisticated logic involved.

About

Bluesky feed template

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 99.8%
  • Other 0.2%