dd33333649
And also add support for likes and follows |
||
---|---|---|
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
Configuration
-
Copy
.env.example
into.env
and set up the environment variables within:PUBLISHER_BLUESKY_HANDLE
to your Bluesky handlePUBLISHER_BLUESKY_PASSWORD
to Bluesky app password that you created in settingsCHAT_GPT_API_KEY
for your ChatGPT keyDATABASE_URL
for PostgreSQL credentialsFEED_GENERATOR_HOSTNAME
to the hostname of where you intend to host the feed
-
Determine your own DID and put it in
PUBLISHER_DID
env variable in.env
:cargo run --bin who_am_i
Running
Populate and serve the feed
cargo run
Determine your own did for publishing
cargo run --bin who_am_i
Publish the feed
cargo run --bin publish_feed -- --help