News for hackers. Stuff that matters.
Re:Mycoria is an open and secure overlay network that connec... by dhaavi on Thursday May 08, 2025 @03:21AM (#43923910)
Interesting, did not expect that question.

I would have thought libp2p is library enough to not be comparable. Am I wrong?

Mycoria is a ready-to-run software.

Re:Mycoria is an open and secure overlay network that connec... by sibellavia on Thursday May 08, 2025 @05:34AM (#43924568)
that's correct. libp2p is designed as an agnostic library that could be used in projects similar to Mycoria. it offers the building blocks to build a p2p network. as a side-note, I've tried to use libp2p in the past, but ended up writing transports, NAT traversal, and fundamental structs for my p2p network from scratch, ditching libp2p.
Re:Mycoria is an open and secure overlay network that connec... by rixed on Thursday May 08, 2025 @08:02AM (#43925312)
Did you eventually made your work available somewhere?
Re:Mycoria is an open and secure overlay network that connec... by jonathanstrange on Thursday May 08, 2025 @06:04AM (#43924726)
IMHO, libp2p has the worst API and project structure I've ever seen in an open source project. The project almost feels like sabotage. For example, I once asked whether there is an example of using libp2p to send one file from an endpoint to another one. Someone answered a year later and explained that there was no such functionality. They were really surprised someone might want to use libp2p to send a file from A to B.

I eventually figured out how to do it but decided not to use the library. However, there is still a real need for an easy to use p2p library for Go that can do some NAT traversal. It's a real pity that the developer of github.com/perlin-network/noise stopped working on it.