I'm working on a P2P Reddit/Lemmy alternative using Iroh. Any interest? Thoughts?

Open link in next tab

Anyone interested in discussing a Lemmy/Reddit alternative? - Lemmy.World

https://lemmy.world/post/14060592

This is still very much early-days, but I’m thinking about building a distributed link aggregator. Some notes: - no servers (all P2P) except to connect peers - no “instances” so everything is in one namespace (so like reddit /r/community, not lemmy instance/c/community) - everyone is a moderator - moderation based on a web of trust type system - desktop first, mobile/web later - web would require servers, mobile may have platform-specific issues - no plans to integrate with fediverse, but could be possible - initial intent is to be text-only - file storage could be supported later in an opt-in basis (for now, just link to an external img host), but I’m worried about disk storage since there’s no central data lake and everyone needs to chip in some storage space Some technical details: - written in Rust and ReactJS - Tauri-based - uses Iroh [https://iroh.computer/] for data synchronization - looking into Appleseed [https://github.com/cblgh/appleseed-metric] and maybe TrustNet [https://github.com/cblgh/trustnet] for moderation Current status: - rewrote Appleseed and part of TrustNet to Rust for perf testing last weekend (Rust is waaay faster) - will probably rewrite again once I finish reading the paper (current code is a direct port) - have basic Tauri+Iroh app, but it’s a glorified chat app w/ no syncing between peers (a peer can join a chat, but will lose access if the host goes down) - reading source code for SimpleX [https://simplex.chat/] (re-learning Haskell too) - could be interesting for DMs or something I’m not sure how long I’ll work on this, but I’ll probably release some libraries under a relatively liberal license, so something like LGPL at the most stringent, but probably Apache/MIT (depends on if I need to clean-room the appleseed implementation). So, if there’s interest here, I’m happy to post updates for discussion periodically.

The link goes to a related post on another community so I don't have to duplicate it here.

Basically, I'd like to discuss tech options for a Reddit/Lemmy alternative. Here's what I've found:

  • Iroh - early days alternative to IPFS promising improved performance and application control
  • Appleseed - old-ish proposal for a distributed trust system - I'm thinking of using it for moderation (i.e. if you block/report similarly to someone else, that will get automated; you could also explicitly trust someone else [e.g. a CP-detector bot])
  • TrustNet - builds on Appleseed - still reading through the paper to know what it adds over Appleseed, if anything

Goals:

  • distributed storage - worried the fediverse will scale poorly (become too expensive)
  • distributed moderation - power-hungry mods suck
  • local-first - cache/host stuff you care about, reserve some space for preservation

Non-goals:

  • make money - it's a hobby for now, everything would be FOSS
  • image/video hosting - legal issues if you get random CP or something
  • preserve all data - I'd rather sacrifice older/less popular content than lose users - community can run caching servers
  • fediverse compat - P2P makes that difficult, but a bridge should be feasible

Thoughts? What am I missing?

Also, would anyone like me to post updates? It'll mostly be stuff from my research, if I post code, it won't be for a while (I have limited time).