3 ms·
I have my own statically generated website/blog. I won't switch to Wordpress. How can I integrate ActivityPup into my blog in the same way? Edit: I am fine wit
by abdullahkhalids 3y ago
I have my own statically generated website/blog. I won't switch to Wordpress. How can I integrate ActivityPup into my blog in the same way?
Edit: I am fine with adding dynamic features to the site. I see there are implementations [1], which kind of are in the ballpark.
[1] https://github.com/toddsundsted/ktistec https://github.com/toddsundsted/ktistec https://github.com/davecheney/pub https://github.com/davecheney/pub
- CitrusFruits 3y agoYou probably can't easily integrate "in the same way"; I suspect this was a large engineering effort. However, you could do a barebones cross-post to Mastadon using something like IFTT: https://ifttt.com/explore/how-to-crosspost-mastodon-twitter https://ifttt.com/explore/how-to-crosspost-mastodon-twitter.
- AndrewStephens 3y agoWhen I looked into do exactly this a while ago I quickly realized that it would be a lot of work to do properly. There is no such thing as a static ActivityPub service by design. However, there are premade services that will take an RSS feed and do all the work to allow subscriptions, etc.
- xd1936 3y agoHere's a novel solution to use Mastodon/Fediverse replies as a comment section on a statically-generated blog. https://cassidyjames.com/blog/fediverse-blog-comments-mastodon/ https://cassidyjames.com/blog/fediverse-blog-comments-mastod...
- tuukkah 3y agoThere is a bridge from any blog to Fediverse called Bridgy Fed that you can use: https://fed.brid.gy/web-site https://fed.brid.gy/web-site
- grishka 3y agoYou would need a server application of some kind for two things: sending your new posts out as activities to your followers, and accepting activities (at least Follow) from the outside world. That application would also need somewhere to store the list of followers and their inboxes (endpoints where you send activities). That's basically it. The actor object itself can be a static file, just don't change its URL. I encourage you to try building your own minimal ActivityPub server — here's a tutorial to get you started: https://blog.joinmastodon.org/2018/06/how-to-implement-a-basic-activitypub-server/ https://blog.joinmastodon.org/2018/06/how-to-implement-a-bas... The sending and receiving parts aren't required to run on the same machine. You can send activities from your laptop, but the receiving side needs to be on a server with a public IP, a domain, HTTPS and all that.