wireguard_tunnel 1.0.0
wireguard_tunnel: ^1.0.0 copied to clipboard
A fully OS-agnostic Dart package to easily establish and manage local WireGuard VPN tunnels using the native OS CLI, with seamless auto-installation and privilege escalation on Windows, macOS, and Linux.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add wireguard_tunnelWith Flutter:
$ flutter pub add wireguard_tunnelThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
wireguard_tunnel: ^1.0.0Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:wireguard_tunnel/wireguard_tunnel.dart';