a hybrid peer-to-peer networking library written in Go
About this project
Disclaimer I wrote this library for personal use, as a lot of my projects need it in one way or another, which means that I will still update this as I'm making my other project inshaa'allah, you are encouraged to contribute! just don't change the core systems Example Main Program (see [https://github.com/zaixrx/gop2p/blob/main/core/examples/main.go]): Broadcasting Server (see[https://github.com/zaixrx/gop2p/blob/main/broadcaster/examples/main.go]): Source Code br from p2p/main/broadcast: broadcasting handle: p2p handle: Resources p2p general idea: https://medium.com/@asafkozovsky/what-are-p2p-networks-exactly-77284fe3b8a3 https://www.geeksforgeeks.org/system-design/peer-to-peer-p2p-architecture/ https://en.wikipedia.org/wiki/Peer-to-peer#Seealso an overview of how bit torrent manages p2p: https://web.cs.ucla.edu/classes/cs217/05BitTorrent.pdf how stream based sockets are handled kernel level: https://dev.to/hgsgtk/how-go-handles-network-and-system-calls-when-tcp-server-1nbd concurrency & parallelism: https://edu.anarcho-copy.org/Programming%20Languages/Go/Concurrency%20in%20Go.pdf
From the project README on
GitHub
- Stars
- 10
- Forks
- 1
- License
- MIT
- Last push
- 22 Jun 2025
Add this badge to your README
Show that your project is listed on Made in Algeria.
[](https://www.madeinalgeria.dev/projects/gop2p)