tailscale 0.1.0
tailscale: ^0.1.0 copied to clipboard
Embed Tailscale userspace networking in any Dart or Flutter app. Join a tailnet, discover peers, and communicate over encrypted WireGuard tunnels — no Tailscale app required.
0.1.0 #
- Initial release.
- Embed a Tailscale node directly in any Dart or Flutter application.
Tailscale.init()— configure once at startup with state directory and log level.up()— start the embedded node and connect to a Tailscale or Headscale network.http— a standardhttp.Clientthat routes requests through the WireGuard tunnel.listen()— accept incoming traffic from the tailnet, forwarded to a local port.status()— typedTailscaleStatuswithNodeStateenum, local IPs, and health.peers()— typedPeerStatussnapshots, separate from status for lightweight polling.onStateChange/onError— real-time streams pushed from Go via NativePort (no polling).down()— disconnect, preserving state for reconnection.logout()— disconnect and clear persisted state.NodeStateenum:noState,needsLogin,needsMachineAuth,starting,running,stopped.- Automatic native Go compilation via Dart build hook — no manual build steps.
- Zero main-isolate jank: all FFI calls run on a background isolate.
- Supports iOS, Android, macOS, Linux, and Windows.
- Works with Tailscale and self-hosted Headscale control servers.
- Full test suite: unit, FFI integration, and E2E against Headscale in Docker.