A Bluesky feed generator written in Rust, serving posts written in Russian by people living in Netherlands
Go to file
Aleksei Voronov 93c4979c71 Keep subscription state in order to not lose messages
This isn't a good way to do it though, because opreations processor is only called for each operation,
so we end up not updating the cursor as often as we realistically should be.

I'll refactor this slightly later
2023-09-21 12:33:17 +02:00
sql Keep subscription state in order to not lose messages 2023-09-21 12:33:17 +02:00
src Keep subscription state in order to not lose messages 2023-09-21 12:33:17 +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 Replace random print statements with proper logging setup 2023-09-21 11:22:18 +02:00
Cargo.toml Replace random print statements with proper logging setup 2023-09-21 11:22:18 +02:00
README.md Keep subscription state in order to not lose messages 2023-09-21 12:33:17 +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