Just published a massive refactoring on the road to full IG support: https://git.sr.ht/~cloutier/bird.makeup/commit/b6f7dd61b8f970f0b9af0f6b51771fb6e7852add
-
@silverpill I have done a little patch to do that: https://git.sr.ht/~cloutier/bird.makeup/commit/d50e4fa7672c4a0887d25ed00995b80948c491f8
The outbox does resolve to an empty collection though, just in case.
I have deployed this on kilogram.makeup, and if we find no federation problems introduced by this change, I will deploy it to bird.makeup too this weekend.
Can you check if there are other problems with federating dotmakeup <> @mitra ?
-
Vincent Cloutierreplied to Vincent Cloutier last edited by
@silverpill also I'm very interested by @mitra 's ipfs integration.
IPFS is a solution I'm considering to fix IG image download link expiry problem. It would be amazing if mitra instances could pin IG content! I'd much prefer that to something based on S3.
I haven't seen a IPFS AP extension yet, maybe we can collaborate on that?
-
@vincent There was a problem with
image
property of dotmakeup actor. Theurl
attribute ofImage
is set to null:"image": { "type": "Image", "mediaType": "image/jpeg", "url": null },
I changed my validator to be more lenient, but such representation doesn't feel right. I think it would be better to not add
image
at all ifurl
is not known.After fixing this issue I was able to resolve actor. Then I sent a Follow activity and dotmakeup sent Accept activity back to me. However, my server failed to verify the HTTP signature.
I'm not 100% sure but it looks likekeyId
parameter is incorrect, its value ishttps://kilogram.makeup/users/instagram
(actor ID) when it should behttps://kilogram.makeup/users/instagram#main-key
(key ID). -
@vincent IPFS support in Mitra is rudimentary, it can save an ActivityPub representation of a post to IPFS but not much else.
During my experiments I found that IPFS node consumes too much resources and started to look for a more lightweight solution. Many ActivityPub servers already work as media caches, so in theory we can just use CIDs without the p2p network.
-
"CID-based storage without the P2P" seems to be what https://docs.sfive.net/ attempts to do.
-
Lutin Discretreplied to Raphael Lullis last edited by
> During my experiments I found that IPFS node consumes too much resources and started to look for a more lightweight solution.
I guess you have considered @n0iroh?
-
@lutindiscret @raphael @n0iroh @vincent Not really, I'd prefer to just put a hash into URL in a standardized way and use it to verify the integrity of a resource:
Fediverse can be its own data storage network.
-
@silverpill as for the signature, I have published some tweaks for the id on kilogram.makeup. Can you try again?
-
@vincent It's working, thanks a lot!
-
@silverpill @lutindiscret @raphael @n0iroh Have you tried using IPFS just for media? I've found that it works better for a few large objects than many small ones
-
@vincent @lutindiscret @raphael @n0iroh Yes, but I'm not satisfied with its speed and memory consumption.
By the way, Pleroma supports uploading media to IPFS since version 2.7.0: https://pleroma.social/announcements/2024/07/17/pleroma-major-release-2.7.0/#added