-
-
Notifications
You must be signed in to change notification settings - Fork 85
Implemet Mastodon Relay protocol for @fedify/relay
#459
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
What's changed since the last attempt to land this in hollo or fedify? |
|
Also, is there an FEP describing this protocol? |
|
This is the first attempt as far as I know. |
Ah, I confused this with Hollo: fedify-dev/hollo#109 |
dahlia
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
- 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 <[email protected]>
Implemet Mastodon Relay protocol for `@fedify/relay`
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: