rimu,
@rimu@mastodon.nzoss.nz avatar

It took 4 months and 50 code commits, but my federated version of reddit (written in ) can now follow and be followed by instances of and !

Getting working has been ... a journey.

Screenshot of a federated reddit clone

gnu2,

but does it federate with GNU Social (which neither of those do for some reason)

rimu,
@rimu@mastodon.nzoss.nz avatar

@gnu2 No.

I'm going to need to to prioritise interoperability based on ROI (effort to code vs amount of users reached) so Lemmy/Kbin will be first, followed by Mastodon, Pixelfed and Peertube. Then we'll see.

kopper,

@rimu considering i've attempted this exact same thing for a brief moment (though mine was significantly more incomplete than yours) i'm really curious about how you're doing things, do you have any more details written up?

rimu,
@rimu@mastodon.nzoss.nz avatar

@kopper I've started to write a few things at https://join.piefed.social/blog/ about weird little corners of ActivityPub. Is that what you mean?

Or are you more into the software architecture of the code base in general?

kopper,

@rimu both, really :p

i'm just curious about how different our approaches are, especially considering you're also working in python

i'll keep an eye on the blog, currently working on yet another ap project that's smaller in scope just to get the hang of the protocol and build the parts i can repurpose if i need to later on (heck, i'm still copy pasting parts from my initial attempt that didn't end up panning out)

rimu,
@rimu@mastodon.nzoss.nz avatar

@kopper Cool! I'll be putting together a developer-oriented code walkthrough screencast pretty soon, to make onboarding new contributors easier. You'll find that interesting.

Lots of loose ends to tidy up first though.

ari,
@ari@wetdry.world avatar

@rimu federated reddit sounds awesome!! surprised i've never heard talk of a project like this before- congrats on the milestone!!

sneexy,

@ari @rimu it already exists (see: lemmy and kbin) but in my opinion with both there is still a long way before its really decent. hopefully this project sees much better

rimu,
@rimu@mastodon.nzoss.nz avatar

@sneexy @ari Hopefully, yes.

I believe that by making different technology choices and a simpler software architecture I'll enable many more developers to contribute, resulting in a more vibrant dev community and getting a better result.

ApisNecros,
@ApisNecros@ioc.exchange avatar

@rimu Only 50 commits? That's either impressive or concerning! 😅

rimu,
@rimu@mastodon.nzoss.nz avatar

@ApisNecros Haha not really - it's nowhere near complete. The UI is about 50% done. The hard bits of federation are done but after Follow I still need to do content posting (+ editing, deleting), likes, dislikes, blocking, etc etc etc.

Long road ahead.

mariusor,
@mariusor@metalhead.club avatar

@rimu that's great progress. :)

I've been working on my federated version of reddit for about 4 years and it still doesn't federate. :D

rimu,
@rimu@mastodon.nzoss.nz avatar

@mariusor It's possible that some of the hacky shortcuts I've taken will come back to bite me and in 4 years I'll be doing a rewrite in Go ;-)

mariusor,
@mariusor@metalhead.club avatar

@rimu fingers crossed then. It means that someone will finally use my libraries. :D

rimu,
@rimu@mastodon.nzoss.nz avatar

Follow me for updates, I'll probably be exclusively posting about the progress of this project for the foreseeable.

derek,

@rimu Link to source? Excited to try it!

rimu,
@rimu@mastodon.nzoss.nz avatar

@derek I'm excited to share the code but it's too soon. I probably need another month to firm it up and document installation, dev environment creation, etc.

mikebabcock,
@mikebabcock@floss.social avatar

@rimu was just about to ask if you'll be blogging the experience long-form at some point, especially the federation APIs.

rimu,
@rimu@mastodon.nzoss.nz avatar

@mikebabcock Uhh yeah, I really should. There is a real need for documentation of ActivityPub-in-real-life (beyond what the spec says)!

At the moment I'm reverse engineering it by dipping into a stream of AP data going in and out of a running instance which is quite a painful way to do it.

Thanks for the suggestion.

Jenkwerx,

@rimu @mikebabcock

I'm really excited to hear more about this!

I've been cobbling together some python based ActivityPub software for a bit, and agree it can be an adventure!

"Real world" ActivityPub examples have been dicey to come by at best. The more open sourcing solutions (particularly in python) the better!

rimu,
@rimu@mastodon.nzoss.nz avatar

@Jenkwerx @mikebabcock I've started to write up some of my learnings at https://join.piefed.social/blog/ if you're interested :)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • python
  • GTA5RPClips
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • osvaldo12
  • ethstaker
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • ngwrru68w68
  • kavyap
  • modclub
  • cubers
  • provamag3
  • InstantRegret
  • khanakhh
  • tester
  • everett
  • Durango
  • tacticalgear
  • normalnudes
  • megavids
  • Leos
  • cisconetworking
  • anitta
  • JUstTest
  • lostlight
  • All magazines