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.
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.