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

What if you only have a static website, HTML files only?



You can publish activitypub objects statically, but fundamentally it's a push model. You receive follow requests, then push new posts.


The objects are actually defined in the ActivityStreams spec, which is a prereq for ActivityPub. So, a purely static site can only meaningfully implement the former, not the latter. However implementing ActivityStreams object types would still be useful inasmuch as it might provide some limited interop with the Fediverse.

(Future server-side improvements might also allow for some kind of automated polling of statically-hosted ActivityStreams, outside of the standardized "push" model.)


i'm not sure why parent is downvoted. it is accurate.

this is the issue where mastodon devs were considering polling: https://github.com/tootsuite/mastodon/issues/34


AP also defines endpoints like outbox which you'd want for polling.


A pure HTML server won't work, of course. You need something that can execute code.




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

Search: