Skip to content

Repository files navigation

wg-interactive

Upload Python Package

wg-interactive is a command line tool for initializing WireGuard server configuration files as well as adding and deleting peers interactively.

Installation

Either run the module via uvx

uvx wg-interactive

or install from PyPI:

pip install wg-interactive

Usage

Launch wg-interactive via the included command wg-interactive.

usage: wg-interactive [-h] [-l {critical,fatal,error,warn,info,debug}] [-d DIRECTORY]

An interactive command line tool for modifying and initializing WireGuard server configuration files and adding/deleting peers.

options:
  -h, --help            show this help message and exit
  -l {critical,fatal,error,warn,info,debug}, --logging {critical,fatal,error,warn,info,debug}
                        Set the log level (default: info)
  -d DIRECTORY, --directory DIRECTORY
                        WireGuard config directory (default: /etc/wireguard)

Build and install

Initialize a local python virtual environment:

mkdir .venv
pipenv install

Then build the package:

pipenv shell
python -m build

License Attribution

This application uses Open Source components. You can find the source code of their open source projects along with license information below. We acknowledge and are grateful to these developers for their contributions to open source.

WireGuard is a registered trademark of Jason A. Donenfeld.

About

CLI tool for interactively modifying WireGuard server configuration files

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages