Skip to content
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

[MastodonBridge] Add support for various platforms #3133

Merged
merged 2 commits into from
Nov 16, 2022

Conversation

austinhuang0131
Copy link
Contributor

@austinhuang0131 austinhuang0131 commented Nov 6, 2022

Add support to various platforms, within orthodox limits of ActivityPub.

The bridge is tested to fully support: Castopod (podcasts only), Friendica, GNU Social, Mastodon, Misskey, Mobilizon, Peertube, Pixelfed1, Pleroma, Plume, and WriteFreely.

The bridge should now partially support:

  • BookWyrm, only "finished reading" updates. Reviews could be supported but it'll require extensive formatting, so it may be preferable to just use the RSS provided by the instance.
  • diaspora, without boost filtering (since they're typed as Notes like everything else). I could filter the recycle symbol on the content if the maintainers wish.
  • Funkwhale, if the requests are sent without signature (see [bug] Unable to follow Funkwhale channel superseriousbusiness/gotosocial#538). As such nosig option is added.

The bridge does not support:

  • Hubzilla and Socialhome, since it does not seem to display outbox
  • Lemmy, because @username@instance could refer to both the user username and the community username
  • Nextcloud Social, since it did not implement webfinger

Footnotes

  1. If the instance allows outbox requests

@github-actions
Copy link

github-actions bot commented Nov 6, 2022

Pull request artifacts

file last change
MastodonBridge-current-context1 2022-11-06, 15:55:10
MastodonBridge-pr-context1 2022-11-06, 15:55:10

@dvikan
Copy link
Contributor

dvikan commented Nov 16, 2022

Haven't tested but trust that you have. Those comments about support of software should go in bridge description maybe? To help users.

@@ -214,6 +236,7 @@ protected function fetchAP($url)

// Exclude query string when parsing URL
'noquery' => '/https?:\/\/([a-z0-9-\.]{0,})(\/[^#?]+)/',
'nosig' => '/https?:\/\/([a-z0-9-\.]{0,})(\/[^#?]+)/',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you use # as seprator you dont have to escape slashes.

@dvikan dvikan merged commit e788e14 into RSS-Bridge:master Nov 16, 2022
@austinhuang0131 austinhuang0131 deleted the patch-2 branch November 16, 2022 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants