this post was submitted on 29 Oct 2024
34 points (100.0% liked)

Fediverse

28165 readers
536 users here now

A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).

If you wanted to get help with moderating your own community then head over to !moderators@lemmy.world!

Rules

Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration), Search Lemmy

founded 1 year ago
MODERATORS
 

How is the best way to get started building apps in the fediverse?

top 6 comments
sorted by: hot top controversial new old
[–] muntedcrocodile@lemm.ee 4 points 6 hours ago

Depends, there is some flask based lemmy server that was pretry easy to read. And u always have the activpub docs but nobody follows them to the t so making everything interoperate is going to be a mindfuck.

[–] ShittyKopper@lemmy.blahaj.zone 8 points 8 hours ago* (last edited 8 hours ago) (2 children)

not much beyond "look at what other apps you're trying to interoperate with output and try to reverse engineer your way through". reading through the sources of other apps may be a good idea.

some links that may get you started, picked from https://socialhub.activitypub.rocks/t/guide-for-new-activitypub-implementers/479 :

and depending on which ecosystem you're targeting:

counter intuitively, avoid reading the specs if you're looking to federate with existing software. the official specs are... extremely lacking beyond giving you the bullets to shoot yourself in the foot with (half of what little it defines goes unused in the real world, important things like "how do i know this activity is sent by the person it claims to be" is completely undefined (hint: everyone has more or less settled on http signatures).

once you get something federating, you can then look in the specs in an attempt to learn the concepts in depth, but writing code following the specs will result in code that simply won't federate.

[–] ElectroVagrant@lemmy.world 7 points 4 hours ago* (last edited 4 hours ago)

I think it may also be worthwhile to toss in Bonfire, if looking for some pieces designed to hack together into a fediverse app. As I was looking up software the other day, I also saw some developing their software with Fedify, so there may be some resources to pull from there.

Tossing a mention to ya OP so you may catch this as well: @sentient_loom@sh.itjust.works

[–] sentient_loom@sh.itjust.works 3 points 6 hours ago

Very nice, thank you.

[–] hendrik@palaver.p3x.de 8 points 9 hours ago* (last edited 9 hours ago) (1 children)

Read the ActivityPub protocol and a book on webdevelopment... Also have a look at existing projects and their codebase.

[–] shnizmuffin@lemmy.inbutts.lol -1 points 3 hours ago

lol yeah, that'll do it.