A Bluesky feed generator written in Rust, serving posts written in Russian by people living in Netherlands
Go to file
Aleksei Voronov f4ee482ce7 Use Arcs to pass stuff around to avoid dealing with lifetimes
And also implement proper language detection through lingua-rs,
because Bluesky's detection is really bad
2023-09-21 10:36:47 +02:00
sql Detect profiles' likely country of residence through chatgpt 2023-09-06 08:26:03 +02:00
src Use Arcs to pass stuff around to avoid dealing with lifetimes 2023-09-21 10:36:47 +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 Use Arcs to pass stuff around to avoid dealing with lifetimes 2023-09-21 10:36:47 +02:00
Cargo.toml Use Arcs to pass stuff around to avoid dealing with lifetimes 2023-09-21 10:36:47 +02:00
README.md Mark serving feed as done 🎉 2023-09-16 21:08:32 +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