Connectivity as API. NetBird Embed lets you build peer-to-peer networking directly into your Go applications. No VPN client installation, no network configuration files, no daemon processes. Just import the library, pass a setup key, and your application joins a secure WireGuard-based mesh network programmatically.
- Connect: join a NetBird network with a few lines of Go (
netbird.New+client.Start) - Listen: accept TCP connections from other peers on the mesh (
client.ListenTCP) - Dial: open connections to any peer by address (
client.DialContext) - Discover: query the peer list and connection status in real time (
client.Status) - Expose: publish a local service to the public internet via NetBird's reverse proxy (
client.Expose)
All of this works with a single static binary. No sidecar, no agent, no iptables rules.
Distributed HTTPS proxy. A client routes requests through a dynamic pool of peers, each with its own public IP. Peers join and leave the rotation automatically as they connect or disconnect.
Expose a web application to the public internet from code. No localhost binding, no port forwarding. The app listens directly on the NetBird network and gets a public HTTPS URL.
Peer-to-peer browser chat over WebAssembly. Each browser tab joins the NetBird mesh as a full peer and exchanges messages directly. No server needed for chat traffic.