The only downside of a fully static site as a blog is not being able to make it a first-class citizen on fedi.
I kinda feel there has to be a way, without running a full-blown fedi instance just for that though. But I don't have the time to see if I can figure out how to abuse ActivityPub this way. 🤔
@rysiek Yeah, I also considered trying to find around some way to pass a regular Atom feed as a fedi account, but in most likelihood it’s fedi servers the ones which should support Atom as additional sources
What would the interaction be?
I know you can add Worpress sites to the fediverse: https://wordpress.org/plugins/activitypub/
But the thing that is visible on fedi is the blog content, like an RSS feed.
With a truly static site, what would you want the interaction to be?
@bearwalker Here's a sample - I hooked my old website (now offline) up to the fediverse and wrote a blog.
My wordpress account was the poster, the text of my blog was the post, my featured picture became an attached picture, and the post included a hyperlink to the original blog. Replies to the blog would show up as comments on wordpress.
It was pretty nifty!
@Argus the interaction I am interested in is "follow". Such that if some people "follow" my blog on fedi, they get my posts in their timeline whenever I post on my blog.
use reverse proxy magic to serve static files on everywhere except /.well-known/webfinger and some /ap endpoint, and redirect both to a stripped-down activitypub server, something like gotosocial but even less
on the client side you either use JS to pull in the replies or use a proxy (maybe a lua-enabled version of nginx) to rewrite content on the way
the mastodon blog had something about activitypub with static files but your thing would effectively be read only if you did that (as far as i know, anyway)
@ecmel I don't even want to show content from fedi on my blog, but if I wanted to, there are ways to do this with static sites.
I would just love an AP site with *no* back-end running. It sounds like it should *just barely* be possible.
Well, maybe got you wrong but I don't know what you mean by “full-blown fedi instance” …
The idea of ActivityPub is that you can have only 1 server (“instance”) where you can post to with multiple clients.
Please don't be misled by mastodon just cause they do not support the Client2Server API part … In the meetings we had various nice demos with different clients posting to different servers.
Well, we even had a Social CG meeting where rhiaro client (sloph) posted to grishka server (smithereen) …
The minutes are here
Last demo I've seen was at Moers Hackathon 2 weeks ago with a mobile photo client to pleroma (enriched with a nice link which also showed a nice map ;) but we didn't record.
“people claim nobody uses” -
yeah, I've read it in the internets too :)
Pleroma is using C2S.
redaktor is using C2S – and I am currently working 10 hours/day for the client and committing per widget https://github.com/redaktor/widgets-preview/commits/master
For Android there is https://socialhub.activitypub.rocks/c/software/andstatus/51
At least not “nobody” …
If I would ever had get funding for the 8 people team anything would be ready now. I would never had to do anything closed-source then …
If there would be any funding for diverse clients, they would be there.
Thank you very much! Bookmarked for the next claim that nobody uses C2S!
After my reply (to late), I might have stumbled about the announcement you were referring to. It was a frustrating bummer.
Do not understand the criticism.
We have tackled point 2 of the announcement
[pleroma, redaktor, AndStatus and personal (indie) clients use C2S]
Then: Point 3 (webfinger) is clearly not a fault of ActivityPub but mastodon.
So, about Point 1
“Using JSON-LD as an RDF serialization is very complicated. It requires the usage of algorithms (e.g. the Expansion Algorithm or the Framing Algorithm) that are incomprehensible and just pure madness”
Indeed, we did not write usage of it by ourselves.
It is 1 of the few dependencies written by people we know. Here we use
and it is 1-5 lines to expand, frame or compact and feels easy …
What can we do to improve the C2S situation???
Personally would be keen to demo 1 widget/component each 2 weeks and show how it would interact C2S, how to theme or render statically etc.
We should get C2S people together.
@rysiek How are you hosting it? If using something like Netlify, you could implement something with lamdas/"serverless functions" and then part of the build process push to all the services registered
This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!