Plume-org / Plume

Federated blogging application, thanks to ActivityPub (now on https://git.joinplu.me/ — this is just a mirror)

Home Page:https://joinplu.me

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Federation with Lemmy

Nutomic opened this issue · comments

Hi, lemmy dev here. i saw your release announcement yesterday, and decided to have a look how Plume federation works. Turns out its very easy to make it compatible with Lemmy, as you also use groups. After a few changes its already working from the Lemmy side, you can fetch and view Plume users, groups and articles.

See here for an example: https://ds9.lemmy.ml/post/27751

PR in Lemmy repo: LemmyNet/lemmy#2258

But there is a problem with activities, the ones sent from Lemmy are rejected:

Job errored: Processing(Send https://voyager.lemmy.ml/activities/follow/d649b385-6ad9-415d-b010-ab547eb9fabd to https://fediverse.blog/~/PlumeDev/inbox failed with status 404 Not Found: <!DOCTYPE html>
lemmy_1     | <html class="default-light">
lemmy_1     |     <head>
lemmy_1     |         <meta charset="utf-8" />
lemmy_1     |         <title>Page not found ⋅ Plume</title>
...

It looks like the activity is not routed correctly, maybe because of the content-type header? In our case its application/activity+json.

Another problem, i noticed some groups like https://blogs.kitaitimakoto.net/~/ArticlesEssays/ have a nested object with type Image and no url. This might be happening because the user hasnt set any avatar. I think it is incorrect, and should instead be encoded by leaving the image field out, or setting it to null.

"image": {
    "type": "Image"
},

Btw i tried to open this issue on your gitea, but still didnt get any confirmation mail.

It's so nice if the federation is achieved!

But there is a problem with activities, the ones sent from Lemmy are rejected:

It's because currently blog's inbox is not implemented in spite of Group has inbox property. We need add it.

On image, you're right. We will fix it.

It would be great if you could implement the Group inbox and implement following for it. Lemmy cant follow Person accounts, so in the current state there would be very little interaction between both platforms.

Yup. I want to do so.