social.coop is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Fediverse instance for people interested in cooperative and collective projects. If you are interested in joining our community, please apply at https://join.social.coop/registration-form.html.

Administered by:

Server stats:

489
active users

Can somebody point me to some link, tutorial, example code, etc... for a #p2p application? I roughly understand how do they work, but I would prefer to see some basic code because some parts are like magic for me. What I plan to build is similar to a torrent client, but I don't understand how clients search each other and how do they connect to each other.

If you can point to some Python or C/C++ code, that would be awesome.

@joxean

@n0iroh at iroh.computer may be an interesting case study for you. is in turn used by @delta for instance.

You can read more on how use iroh in their blog post at: delta.chat/en/2024-11-20-webxd

Iroh's programming language used is though, but via the support it may be usable in the languages you mention, but I am not sure.

iroh. less net work for networks
iroh.computerirohless net work for networks
small circle 🕊 in calmness

@joxean @n0iroh @delta

willowprotocol.org

There is also github.com/n0-computer/iroh-wi which is under construction and based on the protocol. This is also a foundational technology, which received funding by @nlnet under the EU Horizons programs, to evolve their specifications.

Willow contains among others a specification for support of object capabilities, called Meadowcap, which is very interesting.

willowprotocol.org/specs/meado

willowprotocol.orgWillow Specifications - WillowProtocols for synchronisable data stores. The best parts? Fine-grained permissions, a keen approach to privacy, destructive edits, and a dainty bandwidth and memory footprint.