A cli utility for interactively modifying wireguard servers.
Project description
wg-interactive
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.
wgconfig
- Copyright (c) 2020-2025 Dirk Henrici.
- AGPL3 license
netifaces-2
- Copyright (c) 2022 Samuel Yvon.
- MIT license
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wg_interactive-0.6.4.tar.gz.
File metadata
- Download URL: wg_interactive-0.6.4.tar.gz
- Upload date:
- Size: 26.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e86a9d41e2a760f96bb950a1aa7f977eea3bcd1c15dd5e6e7cd30ab0d44d5422
|
|
| MD5 |
b01fb373e879a4d7b6183cf75782efd6
|
|
| BLAKE2b-256 |
860fab0c87b67ed5ac316ab233b44a58a5d83fb050b4f27731c774d77c7c96d8
|
Provenance
The following attestation bundles were made for wg_interactive-0.6.4.tar.gz:
Publisher:
python-publish.yml on das-kaesebrot/wg-interactive
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
wg_interactive-0.6.4.tar.gz -
Subject digest:
e86a9d41e2a760f96bb950a1aa7f977eea3bcd1c15dd5e6e7cd30ab0d44d5422 - Sigstore transparency entry: 940486482
- Sigstore integration time:
-
Permalink:
das-kaesebrot/wg-interactive@b287528371e40c45be9e8587e8115cfa49df8e01 -
Branch / Tag:
refs/tags/v0.6.4-beta - Owner: https://github.com/das-kaesebrot
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@b287528371e40c45be9e8587e8115cfa49df8e01 -
Trigger Event:
push
-
Statement type:
File details
Details for the file wg_interactive-0.6.4-py3-none-any.whl.
File metadata
- Download URL: wg_interactive-0.6.4-py3-none-any.whl
- Upload date:
- Size: 30.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea5e15e35b3d66c62a29ef9564666f7db2c4db95117351b97a59d820ac9fa0a0
|
|
| MD5 |
fe8be3f4d3dec4da67a74901498392ad
|
|
| BLAKE2b-256 |
87eb9965ada081521f0f463fe06b6e5310f93cf25cb834ef3c6307fd4a9ae806
|
Provenance
The following attestation bundles were made for wg_interactive-0.6.4-py3-none-any.whl:
Publisher:
python-publish.yml on das-kaesebrot/wg-interactive
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
wg_interactive-0.6.4-py3-none-any.whl -
Subject digest:
ea5e15e35b3d66c62a29ef9564666f7db2c4db95117351b97a59d820ac9fa0a0 - Sigstore transparency entry: 940486496
- Sigstore integration time:
-
Permalink:
das-kaesebrot/wg-interactive@b287528371e40c45be9e8587e8115cfa49df8e01 -
Branch / Tag:
refs/tags/v0.6.4-beta - Owner: https://github.com/das-kaesebrot
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@b287528371e40c45be9e8587e8115cfa49df8e01 -
Trigger Event:
push
-
Statement type: