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.
Conversation
Notices
-
Embed this notice
Evan Prodromou (evan@cosocial.ca)'s status on Thursday, 17-Oct-2024 19:53:30 JST Evan Prodromou -
Embed this notice
Geoff (opinionatedgeek@mastodon.social)'s status on Thursday, 17-Oct-2024 20:44:51 JST Geoff @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.'
-
Embed this notice
Evan Prodromou (evan@cosocial.ca)'s status on Thursday, 17-Oct-2024 20:44:51 JST Evan Prodromou @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.
In conversation permalink -
Embed this notice
Aslak Raanes (aslakr@mastodon.social)'s status on Thursday, 17-Oct-2024 20:47:58 JST Aslak Raanes @evan Maybe @lovasoa's https://sql.datapage.app is better suited?
In conversation permalink Attachments
-
Embed this notice
Evan Prodromou (evan@cosocial.ca)'s status on Thursday, 17-Oct-2024 20:47:58 JST Evan Prodromou @aslakr @lovasoa it doesn't seem to be oriented towards APIs, so: no, I don't think so.
In conversation permalink -
Embed this notice
Evan Prodromou (evan@cosocial.ca)'s status on Thursday, 17-Oct-2024 22:07:22 JST Evan Prodromou @achim "Has anyone built an #ActivityPub server using just Postgrest? [...] https://postgrest.org/"
I'm talking about using Postgrest.
In conversation permalink Attachments
-
Embed this notice
Achim Domma (achim@social.saarland)'s status on Thursday, 17-Oct-2024 22:07:23 JST Achim Domma @evan Just out of curiosity: Are you talking about using Postgres as the only database or implementing it directly in Postgres using something similar to https://github.com/PostgREST/postgrest ?
In conversation permalink Attachments
-
Embed this notice
Evan Prodromou (evan@cosocial.ca)'s status on Thursday, 17-Oct-2024 22:14:33 JST Evan Prodromou @achim no big deal! It just took me a few reads to understand what you were asking!
In conversation permalink -
Embed this notice
Achim Domma (achim@social.saarland)'s status on Thursday, 17-Oct-2024 22:14:34 JST Achim Domma @evan Argh, sorry. Stupid me! The preview was somehow not displayed properly for me and I misread the url.
In conversation permalink
-
Embed this notice