93c4979c71
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 |
||
---|---|---|
sql | ||
src | ||
.env.example | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
README.md |
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 keyDATABASE_URL
for PostgreSQL credentialsHOSTNAME
to the hostname of where you intend to host the feed
Running
cargo run