A recurring challenge when connecting websites to the Fediverse is implementing the inbox and providing moderation tools. Therefore, I was wondering whether it would be possible to develop a kind of inbox server. That server would receive activities from the Fediverse and offer a simple API for the website. This API could even be accessed via JavaScript on static webpages. First, I would like to create a way to share and comment on content.
Let’s say I have a website showing particularly beautiful specimens from my stamp collection. The view for humans would be accessible at https://example.org/stamps/000342. It would contain a link to the ActivityPub version via
<link rel="alternate"
type="application/activity+json"
href="https://example.org/stamps/000342.json" />
Perhaps content negotiation could also be used at this point.
The challenge is to handle incoming activities for this object. A single server component for a websites of an organization could be listed as inbox and receive these incoming activities. It could provide a web interface to review and approve incoming comments. The website could query the server component via API for stats and comments. For example https://apserver.example.org/api/stats?uri=https://example.org/stamps/000342 or https://apserver.example.org/api/comments?uri=https://example.org/stamps/000342 If you do this with JavaScript, you only need to make a few adjustments to the individual web pages.
Does such software already exist? If not, would anyone be interested in working on it with me?