Add NetBird plugin - #300
Open
ENjxzlt wants to merge 1 commit into
Open
Conversation
Toggles a machine's NetBird connection from one key and shows the state on it: the NetBird logo in color when connected, grey when disconnected.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds NetBird — one key that toggles the machine's NetBird connection (
netbird up/netbird down) and shows the daemon state on that same key: the NetBird logo in brand orange when connected, greyscale when disconnected, half-desaturated while connecting. Login states (NeedsLogin,LoginFailed,SessionExpired) get a red background, since pressing the key starts an SSO login rather than fixing anything by itself.Works on Flatpak installs by routing every
netbirdcall throughflatpak-spawn --host. No API key and nosudo— the NetBird daemon exposes its control socket to regular users, the same path the official tray app takes.Tested on StreamController 1.5.0-beta.15 (Flathub) with NetBird 0.77.0 on Linux.
Attribution: the key icons are recolors of NetBird's own tray logo from netbirdio/netbird (BSD-3-Clause), documented in the plugin's
attribution.json. NetBird is a trademark of NetBird GmbH and is used only to identify the software the plugin controls; the plugin is not affiliated with or endorsed by NetBird.Checks