molly / static-timeline-generator

Create static timeline webpages.
https://molly.github.io/static-timeline-generator/
MIT License
444 stars 58 forks source link

ActivityPub support #12

Open Freeplayg opened 1 year ago

Freeplayg commented 1 year ago

Honestly I'm not sure how easy it would be to implement this, so if this is something that isn't feasible then feel free to close this

This would allow for people to follow the page from ActivityPub supported sites like Mastodon, Pixelfed, Akkoma, Calckey, etc. And new posts would show up in their timeline

Useful if you wanted to keep up with for example https://twitterisgoinggreat.com/ in your timeline

chrysn commented 6 months ago

There is a fork at https://github.com/Wisdom-Chicken/Fediverse-Report that clearly aims at this, but I can't assess how far that is in achieving this goal.

molly commented 6 months ago

ActivityPub is not something that can be trivially tacked onto static sites, because you need some kind of server to send out POST requests to followers, to respond to various requests, etc. Adding ActivityPub to this would require shipping some kind of small server along with it.

I'm not necessarily opposed to it, though I think it ought to be an optional configuration so that people who want just the static site don't have to figure out how to run and administer a webserver.

chrysn commented 6 months ago

One option there might be to not actively participate in ActivityPub but to rely on a fediverse server for help (might then be Masodon's client side protocol then or still AP, not sure).

Whenever the site is updated, the builder would talk to the home server as the account to show (or even just access some followdng server as a follower), and get the same data any app fetches when loading recent posts.