4 ms·
What if you only have a static website, HTML files only?
by benibela 6y ago
What if you only have a static website, HTML files only?
- tedunangst 6y agoYou can publish activitypub objects statically, but fundamentally it's a push model. You receive follow requests, then push new posts.
- zozbot234 6y agoThe 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.)
- tedunangst 6y agoAP also defines endpoints like outbox which you'd want for polling.
- khimaros 6y agoi'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 https://github.com/tootsuite/mastodon/issues/34
- sbierwagen 6y agoA pure HTML server won't work, of course. You need something that can execute code.