Implemet Mastodon Relay protocol for @fedify/relay#459
Merged
dahlia merged 18 commits intofedify-dev:nextfrom Oct 13, 2025
Merged
Implemet Mastodon Relay protocol for @fedify/relay#459dahlia merged 18 commits intofedify-dev:nextfrom
@fedify/relay#459dahlia merged 18 commits intofedify-dev:nextfrom
Conversation
Contributor
|
What's changed since the last attempt to land this in hollo or fedify? |
Contributor
|
Also, is there an FEP describing this protocol? |
Contributor
Author
|
Contributor
Author
This is the first attempt as far as I know. |
Contributor
Ah, I confused this with Hollo: fedify-dev/hollo#109 |
dahlia
reviewed
Oct 11, 2025
Member
dahlia
left a comment
There was a problem hiding this comment.
Overall, there doesn't seem to be an issue with the code, but it looks like we need to verify if it actually works. We'll need to set up a real Mastodon server and check if it's functional. I'll help you with that.
dahlia
approved these changes
Oct 13, 2025
dahlia
added a commit
that referenced
this pull request
Oct 13, 2025
- Add comprehensive changelog entry for @fedify/relay package
- Enhance README.md with detailed documentation including:
- Introduction to ActivityPub relays and their purpose
- Explanation of Mastodon-style and LitePub-style protocols
- Installation instructions for multiple package managers
- Usage examples and code samples
- Architecture overview and workflow description
- Storage requirements and KvStore integration
- Complete API reference for MastodonRelay, RelayOptions,
and SubscriptionRequestHandler
- Integration examples with web frameworks
#459
Co-Authored-By: Claude <noreply@anthropic.com>
dahlia
added a commit
that referenced
this pull request
Oct 13, 2025
Implemet Mastodon Relay protocol for `@fedify/relay`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR introduces the new @fedify/relay package, providing a comprehensive implementation of ActivityPub relay functionality for the Fedify ecosystem. This implementation enables the
creation and management of relay servers that can forward activities between federated instances.
Related Issue
@fedify/relaypackage for ActivityPub relays #359Changes
Benefits
Checklist
Additional Notes
This is the initial implementation focusing on the Mastodon relay protocol. The LitePubRelay class is included as a skeleton for future development. The implementation follows Fedify's
existing patterns for federation handling, actor dispatchers, and inbox processing.
Key design decisions: