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: Compiling zerotier-cli on Linux Mint 21 | /r/zerotier | 2023-10-26
  • GameNetworkingSockets

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

    Project mention: How are game servers financed | /r/gamedev | 2023-12-06

    Steam does have a NAT traversal/punchthrough service too. It's apparently usable without Steam according to their README on https://github.com/ValveSoftware/GameNetworkingSockets but honestly the only easy to use implementation I know is in Facepunch.Steamworks which requires a SteamID to initialize

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • libdatachannel

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

    Project mention: Simplicity of IRC | news.ycombinator.com | 2024-03-13

    You can use https://github.com/paullouisageneau/libdatachannel for your C/C++ integration needs. It's 10k lines. So the answer is 0. Its required dependencies (I assume this as they are git submodules in deps) are more than 100k lines, though, srtp support making the bulk of it. On my machine it took 11 seconds to compile it.

    Irssi is 64k lines (plus its dependencies), so I guess that makes WebRTC complicated.

    Can't argue that DCC isn't simple, but perhaps the protocol deviced decades ago is a bit too simple.

  • sonobus

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

    Project mention: Voicemeeter Banana Replacement in Linux | /r/linuxaudio | 2023-12-08

    Sounds like you could use https://sonobus.net/ and possibly https://vdo.ninja/ but you might have that already covered with jitsi.

  • Speek

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

  • husarnet

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

  • node-datachannel

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

    Project mention: PeerTube v6 is out, and powered by your ideas | news.ycombinator.com | 2023-11-28
  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • ParsecSoda

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

    Project mention: Hello, I wish to use Parsec to link to Visual Boy Advance Emulators together over the internet to play 4swords | /r/ParsecGaming | 2023-06-07
  • libtorrent4j

    libtorrent for java, a swig Java interface for libtorrent

  • trango-self-hosted

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

  • QuantumGate

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

  • openwebtorrent-tracker

    Fast and simple Webtorrent tracker implementation in C++

  • conceal-desktop

    Conceal Desktop (GUI)

  • Envy

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

  • qTox_enhanced

    qTox is a chat, voice, video, and file transfer IM client using the encrypted peer-to-peer Tox protocol.

    Project mention: Tox seems slowly dying (change my mind), what alternatives have you researched? | /r/projecttox | 2023-05-05
  • i2pchat

    Secure, anonymous peer-to-peer chat

  • turbo-beep

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

  • 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 2024-03-13.

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 13,282
2 GameNetworkingSockets 7,789
3 libdatachannel 1,521
4 sonobus 1,398
5 Speek 654
6 husarnet 276
7 node-datachannel 259
8 ParsecSoda 194
9 libtorrent4j 188
10 trango-self-hosted 178
11 QuantumGate 105
12 openwebtorrent-tracker 67
13 conceal-desktop 65
14 Envy 47
15 qTox_enhanced 41
16 i2pchat 22
17 turbo-beep 13
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives