[Microblog] RE: example
submitted by
RE: example.viii.fi/posts/69b029a4
OK! Editing posts now works.
A fully complete #ActivityPub server in under 80KB of code.
gitlab.com/edent/activity-bot/
I think supporting polls will be too hard, so I'm declaring this feature complete (although not bug free) for now.
If you have any suggestions for how to improve it - let me know 🙂
#ActivityBot
Human Web Collective
@edent@mastodon.social is it fair to play ActivityPub code golf when nobody else can come close to competing? :stuck_out_tongue_closed_eyes:
Im scared of implementing polls because I would have to check the get post recursively function on wafrn and oh no
@gabboman@gabboman.xyz for polls? The post sends an update every time someone votes I think.
I mean reciving votes.
It is “here is a dm with the content being the same as one of the options on the poll”
@Edent PHP 8.5 might be diffcult on some classic webhosters, but that might change during the spring or autumn.
@aslakr yeah, it's a tough trade-off.
The new curl stuff in 8.5 looks essential for dealing with all the POSTing it has to do - and the new URl validation is very handy.
Happy for you to make an 8.3 fork if you think it is worth it.
@Edent There is also the html5 dom parser in 8.4, etc.
Nah, I suspect in Ubuntu 26.04 LTS version 8.5 will be available. For those simpler/cheaper webhosting with some oldstable Debian I suspect they use PHP packaged by SURY.
I just have to be patient.
@Edent - fun - just knowing this exists has me thinking of where to try it.