Fediverse Plugin
Sync comments with ActivityPub platforms
The Mastodon plugin syncs comments between your AIGCS site and ActivityPub platforms.
Supported Platforms
| Platform | Protocol Notes |
|---|---|
| Mastodon | Full OAuth + API |
| GoToSocial | Mastodon-compatible API |
| Pleroma / Akkoma | Mastodon-compatible API |
| Misskey / Sharkey / Firefish | Misskey-compatible API |
| Loops | Mastodon API |
| WriteFreely | ActivityPub |
Setup
- Add Instance — enter your Mastodon instance URL
- OAuth Authorization — authorize AIGCS to access your account (popup flow)
- Bind a Status — link a Mastodon post to a page path on your site
Binding
A binding connects a Mastodon status to a page on your site:
Bindings can be:
- Created manually in the admin panel — enter either a Status ID or a full Status URL
- Auto-created when publishing a toot from the admin
- Synced from search results
Creating a binding (manually or via search) automatically creates a corresponding cache entry so comments appear immediately.
Fetching Comments
Once bound, AIGCS can automatically fetch and cache replies to the Mastodon status:
| Setting | Default | Description |
|---|---|---|
autoFetch | false | Automatically fetch new replies |
cacheTtl | — | Cache duration in minutes |
When autoFetch is enabled, cached replies are served on page load; when disabled, live data is fetched on every page visit.
Reverse Proxy & Graceful Fallback
The core role of the Fediverse plugin is to act as a reverse proxy. It proxies the fetching of replies from the authorized Mastodon instance account via the AIGCS backend, and then displays them on the frontend Widget. This design effectively solves network connectivity issues for some visitors who cannot directly access certain Mastodon instances.
Fetched Fediverse comments will be injected into the widget alongside AI-generated comments and native comments. Please Note: AIGCS features a highly decoupled design. If a network timeout or error occurs while fetching Fediverse data, the plugin will fail silently and gracefully degrade. This will never block or affect the normal display of AI comments or native visitor comments.
Splitting Domain and Account
The plugin supports split-domain configurations where the OAuth instance differs from the account's home instance.
Avatar Mode
| Mode | Description |
|---|---|
aigcs | AIGCS proxies and caches avatars |
mravatar | External Mravatar service |
off | No avatar proxy |