Skip to content

feat(source): add netbird source - #85

Open
adinhodovic wants to merge 1 commit into
mainfrom
feat/netbird-source
Open

adinhodovic wants to merge 1 commit into
mainfrom
feat/netbird-source

Conversation

@adinhodovic

@adinhodovic adinhodovic commented Oct 23, 2026 •

Copy link
Copy Markdown
Owner

Adds a netbird source that lists peers from a NetBird management server (Cloud or self-hosted). The generic api source can read peers too, but it can't tag disconnected peers offline or show peer metadata. NetBird groups become tags.

The dev stack gets a NetBird server, an init sidecar that creates a PAT and setup key, and two demo peers. Tested against NetBird v0.81.3 in that stack: both peers appear, and a stopped peer gets offline.

@github-actions github-actions Bot added the feat label Oct 23, 2026
@adinhodovic
adinhodovic force-pushed the feat/netbird-source branch 2 times, most recently from 70c88c8 to 0ea6eb1 Compare October 23, 2026 12:34
The generic api source can list NetBird peers, but it cannot tag
disconnected peers or expose peer metadata on the detail page, which
the tailscale and headscale sources both do.

The netbird source reads GET /api/peers from a NetBird management
server (Cloud or self-hosted). NetBird groups become tags, except the
built-in "All" group, and disconnected peers are tagged `offline`. Each
peer's public connection IP, location, and serial number are left out
of metadata.

The dev stack adds a NetBird combined server, an init sidecar that gets
an owner PAT and a setup key from /api/setup (NB_SETUP_PAT_ENABLED),
and two userspace demo peers.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant