Has anyone built an #ActivityPub server using just Postgrest? I don't think it'd be easy but it could be very fun. The tricky part would be making the delivery job queues work; don't think Postgrest has them built in.
@evan maybe with the LISTEN / NOTIFY and triggers setup. But exposing your database directly to the internet still sounds like a bad idea to me
@thisismissem
Somehow to me the question reads: which is the minimum viable shim to plug on top of a networked state store & RPC/query engine that gives an AP-compatible endpoint?
@evan
@evan If someone does give it a go, they might find this useful: https://adriano.fyi/posts/2023-09-24-choose-postgres-queue-technology/
'By combining `NOTIFY` and `LISTEN`, Postgres makes adding pub/sub to any application trivial.'
@OpinionatedGeek yes, I thought of that as well! I don't know if you can LISTEN with a stored procedure that runs inside the PostgreSQL server, though.