Commit Graph

22 Commits

Author SHA1 Message Date
Aleksei Voronov 3f79bad38f Add some instructions about cross-compiling
The configs are included, so might as well mention what to do
2024-08-18 20:59:10 +02:00
Aleksei Voronov 77d2d90522 Acknowledge atrium-api in the README 2023-11-08 20:37:31 +01:00
Aleksei Voronov 87dfb24e1a Update setup instructions
Point to the entire sql directory, not just the first file,
now that there are multiple things there
2023-11-06 08:55:19 +01:00
Aleksei Voronov 25373561b4
Update README.md
Add some details about dependencies used
2023-10-09 09:31:26 +02:00
Aleksei Voronov 6608071ef5
Update README.md
Add more details about setup, remove the unnecessary roadmap, add links to production deployment.
2023-10-09 09:17:36 +02:00
Aleksei Voronov 1bd843a05a Fix publishing feeds
This basically required implementing authentication from ground up
because atrium-api is horribly deficient when it comes to it,
providing basically no real way to manage it, and what is provided
is actually broken anyway requiring additional hacks to get around

Ah well. This has been the story of using anything in Rust that's
related to Bluesky. Everything is broken.
2023-10-07 18:26:20 +02:00
Aleksei Voronov 2df16725bc Update README with some up-to-date info 2023-10-02 17:23:22 +02:00
Aleksei Voronov 4a08a283d2 Properly handle errors in post indexer and profile classifier
Reconnect to Bluesky in the indexer
Don't exit the classifier just because we couldn't fetch profiles
2023-10-02 16:34:22 +02:00
Aleksei Voronov 1ac405e5ee Add a way to manually mark a certain profile as being from a specific country 2023-09-27 13:22:26 +02:00
Aleksei Voronov 96480b6fb9 Add proper error handling to the web service
Return 500 when shit happens.
Return 404 when the feed is not found
2023-09-25 12:49:01 +02:00
Aleksei Voronov 0cd3202a9c Don't error out on profiles that don't exist anymore
Nice little match there, sigh.

Closes #1
2023-09-24 20:26:34 +02:00
Aleksei Voronov ffccdc40fe Update the roadmap a little bit to mention everything that's needed to get to v1 2023-09-23 20:42:35 +02:00
Aleksei Voronov 658996d5d5 Delete posts from the database when they are deleted from bluesky 2023-09-23 20:29:56 +02:00
Aleksei Voronov e95c4923d6 Add some untested version of publishing a feed
Also adjust names of different env vars, and also adjust setup instructions
2023-09-22 13:33:13 +02:00
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
Aleksei Voronov 9a2a88dc6b Mark serving feed as done 🎉 2023-09-16 21:08:32 +02:00
Aleksei Voronov b4250e12cd Serve the feed, according to all the Atproto endpoints 2023-09-16 17:13:57 +02:00
Aleksei Voronov c2899951f6 Read chatgpt and postgresql credentials from .env 2023-09-07 19:20:38 +02:00
Aleksei Voronov 46974a9d8c Detect profiles' likely country of residence through chatgpt
In a separate thread
2023-09-06 08:26:03 +02:00
Aleksei Voronov a18d448c38 Store profiles in the database as we see them
No processing yet, but it's coming soon I guess
2023-08-31 15:11:14 +02:00
Aleksei Voronov e68fa95b97 Update the README a little bit 2023-08-31 09:45:48 +02:00
Aleksei Voronov 1b80bf6ab5 Add a little readme explaining what this project does and what the status is 2023-08-26 18:15:18 +02:00