C++ peer-to-peer

Open-source C++ projects categorized as peer-to-peer

Top 17 C++ peer-to-peer Projects

  • ZeroTier

    A Smart Ethernet Switch for Earth

    Project mention: ZeroTier VS husarnet - a user suggested alternative | libhunt.com/r/ZeroTierOne | 2023-01-23
  • GameNetworkingSockets

    Reliable & unreliable messages over UDP. Robust message fragmentation & reassembly. P2P networking / NAT traversal. Encryption.

    Project mention: Multiplayer game packaging | reddit.com/r/gamedev | 2023-01-16

    If you want to go the route of using a raw protocol and packing your messages yourself, I suggest to at least have a look at Valve's GameNetworkingSockets either for inspiration of what you might need or even to just use the library: https://github.com/ValveSoftware/GameNetworkingSockets

  • Sonar

    Write Clean C++ Code. Always.. Sonar helps you commit clean C++ code every time. With over 550 unique rules to find C++ bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • sonobus

    Source code for SonoBus, a real-time network audio streaming collaboration tool.

    Project mention: Hi guys and gals, does anyone in the group play music? I’m a guitarist that likes to play online on the NINJAM and Sonobus platforms. If you have a rudimentary studio setup, not even anything fancy, it sounds like we’re in the same room. Sonobus is even more conversational like voice chat. | reddit.com/r/Clarksville | 2023-01-20
  • libdatachannel

    C/C++ WebRTC network library featuring Data Channels, Media Transport, and WebSockets

    Project mention: Who uses node executable without using npm? | reddit.com/r/node | 2022-08-21

    Node.js node JavaScript runtime itself provides a means to interface with native applications. Plenty of people write their own WebSocket or WebRTC data channel libraries https://github.com/paullouisageneau/libdatachannel.

  • Speek

    Privacy focused messenger that doesn't trust anyone with your identity, your contact list, or your communications

    Project mention: Speek! - anonymous and decentralized messenger allowing anonymous p2p filesharing written in C++/QT | reddit.com/r/programming | 2022-05-24
  • husarnet

    Husarnet is a Peer-to-Peer VPN to connect your laptops, servers and microcontrollers over the Internet with zero configuration.

    Project mention: ZeroTier VS husarnet - a user suggested alternative | libhunt.com/r/ZeroTierOne | 2023-01-23
  • trango-self-hosted

    Host trango and communicate with those around you without the internet!

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

  • node-datachannel

    Easy to use WebRTC data channels and media transport. libdatachannel node bindings.

    Project mention: WebTorrent | news.ycombinator.com | 2022-11-29
  • ParsecSoda

    Parsec Soda is a custom open-source game streaming app that integrates with Parsec API and is focused in Host experience.

    Project mention: Is there a way to keep a remote play together group together | reddit.com/r/Steam | 2022-09-13
  • libtorrent4j

    libtorrent for java, a swig Java interface for libtorrent

  • QuantumGate

    QuantumGate is a peer-to-peer (P2P) communications protocol, library and API written in C++.

    Project mention: Linux Kernel MultiPath TCP Project | news.ycombinator.com | 2022-10-16
  • conceal-desktop

    Conceal Desktop (GUI)

    Project mention: Anyone? :) | reddit.com/r/ConcealNetwork | 2022-04-01

    We're glad that you are looking into Conceal. And thank you for trying our Conceal Cloud. You may want to check our Desktop Wallet (https://github.com/ConcealNetwork/conceal-desktop/releases) and Conceal App (https://github.com/ConcealNetwork/conceal-app/releases) as well. You might like the desktop wallet because of its beautiful UI, and if you run a local node, you'd be getting the highest level of security and privacy.

  • openwebtorrent-tracker

    Fast and simple Webtorrent tracker implementation in C++

    Project mention: aquatic_ws (WebTorrent tracker) rewritten with glommio, achieves up to 1.6 million responses a second in load tests | reddit.com/r/rust | 2022-04-06

    openwebtorrent-tracker (C++, single-threaded) reached 9 thousand responses a second

  • Envy

    Envy. Multi P2P Filesharing+Bittorrent, Shareaza Legacy. (by GetEnvy)

    Project mention: Modern shareaza for linux and general purpose wiki | reddit.com/r/programmingrequests | 2022-07-11

    Shareaza is a multi-protocol p2p file sharing program made in C++. envy was following it's legacy. But both are dead now.

  • i2pchat

    Secure, anonymous peer-to-peer chat

    Project mention: Scaling a I2P Messenger Service like Telegram | reddit.com/r/i2p | 2022-12-29

    Hello I'm creating a service like telegram over i2p. I'm basing my api off of https://github.com/vituperative/i2pchat

  • turbo-beep

    Peer to peer file sharing and messaging between different networks including server acting as a mediator (TCP hole punching).

  • libzt

    Encrypted P2P sockets over ZeroTier

    Project mention: "Jellyfin remote" with zerotier? | reddit.com/r/jellyfin | 2022-04-05

    It would be great if that functionality could be integrated directly into the jellyfin server and apps. libzt has good support for all the languages that jellyfin and it's clients use.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-01-23.

C++ peer-to-peer related posts


What are some of the best open-source peer-to-peer projects in C++? This list will help you:

Project Stars
1 ZeroTier 10,240
2 GameNetworkingSockets 6,418
3 sonobus 1,066
4 libdatachannel 1,011
5 Speek 585
6 husarnet 186
7 trango-self-hosted 175
8 node-datachannel 163
9 ParsecSoda 140
10 libtorrent4j 138
11 QuantumGate 96
12 conceal-desktop 65
13 openwebtorrent-tracker 61
14 Envy 46
15 i2pchat 13
16 turbo-beep 10
17 libzt 8
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives