What is go-libp2p built with?

go-libp2p is a Go repo built with go.uber.org/fx. It is tested with github.com/stretchr/testify, github.com/benbjohnson/clock, Uber, and 2 more, runs in production with Prometheus and github.com/pion/logging, and uses sqlite, github.com/ipfs/go-datastore, HashiCorp, and 1 more. It has 115,762 written lines, with 233 test files.

Read on November 21, 2026, at commit 8582b88. Read it as markdown

The card says what it's built with. Its whole map opens it up: every part of the code and how it connects to the rest.

Backend

Data 4

  • github.com/ipfs/go-datastore7 files
  • HashiCorp2 files
  • github.com/hashicorp/golang-lru/arc/v21 file

Support

The base 1

  • go.uber.org/fx3 files

Testing 5

  • github.com/stretchr/testify131 files
  • Uber14 files
  • github.com/libp2p/go-libp2p-testing9 files
  • github.com/benbjohnson/clock
  • go.uber.org/goleak

Deploy 2

Tools 1

  • golang.org/x/tools

Other 33

  • github.com/multiformats/go-multiaddr118 files
  • github.com/quic-go/quic-go18 files
  • github.com/libp2p/go-buffer-pool12 files
  • github.com/multiformats/go-multihash10 files
  • github.com/pion/webrtc/v46 files
  • github.com/libp2p/go-netroute4 files
  • github.com/quic-go/webtransport-go4 files
  • github.com/gorilla/websocket3 files
  • github.com/libp2p/go-reuseport3 files
  • github.com/multiformats/go-multibase3 files
  • github.com/pion/datachannel3 files
  • IPFS3 files
9 more
  • github.com/decred/dcrd/dcrec/secp256k1/v42 files
  • github.com/flynn/noise2 files
  • github.com/libp2p/zeroconf/v21 file
  • github.com/multiformats/go-multiaddr-dns1 file
  • github.com/multiformats/go-multicodec1 file
  • github.com/pion/ice/v41 file
  • github.com/pion/sctp1 file
  • github.com/pion/stun/v31 file
  • go-libp2p
  • google.golang.org/protobuf
  • golang.org/x/crypto
  • golang.org/x/time
  • github.com/huin/goupnp
  • github.com/jackpal/go-nat-pmp
  • github.com/jbenet/go-temp-err-catcher
  • github.com/koron/go-ssdp
  • github.com/mr-tron/base58
  • github.com/pbnjay/memory
  • golang.org/x/net
  • golang.org/x/sync
  • golang.org/x/sys

Other repos with a similar stack

Ordered by how much of its stack they share with go-libp2p, then by stars.

Frequently asked questions

What language is go-libp2p written in?
go-libp2p is written in Go, with 115,762 written lines.
What framework does go-libp2p use?
go-libp2p is built with go.uber.org/fx.
What services does go-libp2p use?
go-libp2p uses sqlite, github.com/ipfs/go-datastore, HashiCorp, and github.com/hashicorp/golang-lru/arc/v2.
Does go-libp2p have tests?
Yes. go-libp2p has 233 test files and is tested with github.com/stretchr/testify, github.com/benbjohnson/clock, Uber, github.com/libp2p/go-libp2p-testing, and go.uber.org/goleak.
Which repos have a stack like go-libp2p's?
The ones that share most of its stack:syncthing/syncthingjuanfont/headscalebeego/beego

See inside your code, today.

Paste your repo and see it drawn, part by part: a medium one in under a minute.

Or look inside SeeRepo's own →

Is it your repo? Add its badge, keep it up to date or take it down →