Hacker News new | past | comments | ask | show | jobs | submit login

Is it possible to host ActivityPub protocol on a static site? I searched some comments saying one-direction publishing is possible, but federation with comments is surely impossible.



Short answer: no.

Longer answer: you need a server application of some sort in order to process the activities you receive in the inbox and send your activities out to your followers, and a database of some sort to store the follow relationships. One-direction federation is also not very feasible with static files because the follow flow involves sending activities in both directions. You receive a Follow activity in your inbox, which you must wrap into an Accept activity and send that back to the inbox of that follower as an acknowledgement.


Fully static no, though with a receiver somewhere that you inline the comments using JavaScript or something I guess you could.

You may want to check out epicyon or honk.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: