A Bluesky feed generator written in Rust, serving posts written in Russian by people living in Netherlands
Go to file
Aleksei Voronov 2fd1474647 Don't crash when unable to classify a profile due to some random problem
Random problems include: deleted profiles.

Also always wait 10 seconds between runs, we don't need to do it so often
2023-09-21 13:25:36 +02:00
sql Keep subscription state in order to not lose messages 2023-09-21 12:33:17 +02:00
src Don't crash when unable to classify a profile due to some random problem 2023-09-21 13:25:36 +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