A Bluesky feed generator written in Rust, serving posts written in Russian by people living in Netherlands
Go to file
Aleksei Voronov 14b9f846da Refactor things
Make the overall design a little more flexible if one wants
to easily implement multiple feeds, and also kinda closer to
the original template provided by Bluesky devs
2023-09-16 21:07:00 +02:00
sql Detect profiles' likely country of residence through chatgpt 2023-09-06 08:26:03 +02:00
src Refactor things 2023-09-16 21:07:00 +02:00
.env.example Serve the feed, according to all the Atproto endpoints 2023-09-16 17:13:57 +02:00
.gitignore Read chatgpt and postgresql credentials from .env 2023-09-07 19:20:38 +02:00
Cargo.lock Refactor things 2023-09-16 21:07:00 +02:00
Cargo.toml Refactor things 2023-09-16 21:07:00 +02:00
README.md Serve the feed, according to all the Atproto endpoints 2023-09-16 17:13:57 +02:00

README.md

nederlandskie

Potentially, a Bluesky feed of people speaking some language while living in some other country (for example, Russian-speaking people living in Netherlands).

Heavily WIP. Doesn't work yet at all, but does read the stream of posts as they are created on Bluesky.

Roadmap

  • Read stream of posts from Bluesky
  • Store posts in the database
  • Store user profiles in the database
  • Detect the country of residence from profile information
  • Keep subscription state to not lose messages
  • Serve the feed
  • Publish the feed
  • Handle deleting of posts

Initial setup

Copy .env.example into .env and set up the environment variables within:

  • CHAT_GPT_API_KEY for your ChatGPT key
  • DATABASE_URL for PostgreSQL credentials
  • HOSTNAME to the hostname of where you intend to host the feed

Running

cargo run