this post was submitted on 09 Mar 2024
46 points (100.0% liked)

Programming

19300 readers
41 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS
top 7 comments
sorted by: hot top controversial new old
[โ€“] syd@lemy.lol 22 points 1 year ago (2 children)

There is a crate which maintained by @nutomic@lemmy.ml: https://crates.io/crates/activitypub_federation

I believe it should be compatible with other projects ๐Ÿค”

๐Ÿ‘† It's literally what Lemmy is built upon @Asudox@lemmy.world

CC BY-NC-SA 4.0

[โ€“] Asudox@lemmy.world 5 points 1 year ago

Thanks. Will check it out.

[โ€“] key@lemmy.keychat.org 17 points 1 year ago* (last edited 1 year ago) (2 children)

Harder than implementing RSS. Less hard than writing Linux from scratch. Where it lays in the middle depends a shitload on your requirements. How much you want to federate (a blog post VS conversations for instance), do you try for exact compatibility with existing services VS using a different activity type, is it one way or bidirectional, how does it need to scale, etc. ~~I don't know of a generic library you can use so you'd need to read and understand the spec.~~

[โ€“] abhibeckert@lemmy.world 4 points 1 year ago* (last edited 1 year ago)

Harder than implementing RSS.

I wouldn't be so sure about that. RSS is a ridiculously complex standard and almost nobody gets it right. Good chance you'll be back over and over to fix bugs and then, when you have more data in your database, you'll be doing it all over again after refactoring things to improve performance and causing more bugs.

[โ€“] Asudox@lemmy.world 1 points 1 year ago* (last edited 1 year ago)

Bidirectional.

It probably will only federate:

  • Communities that are created
  • Posts that are created
  • Comments that are created
  • Deletion of posts, users and comments
  • Modlog for the action mentioned above
[โ€“] rimu@piefed.social 1 points 1 year ago