A simple TUI for managing WireGuard VPN on Linux.
Project description
WireGuard TUI
WireGuard TUI is a simple terminal-based tool for managing WireGuard VPN on Linux. It allows you to easily enable or disable VPN via a user-friendly text menu.
Features
- Turn WireGuard VPN on and off.
- Save your
sudopassword and configuration name insettings.json. - Colorful terminal output (via
colorama). - Works on Linux only.
Installation
-
Clone the repository:
git clone https://github.com/nefr7t/wireguard-tui.git cd wireguard-tui
-
Install dependencies:
pip install -r requirements.txt
-
Run the program:
python3 wireguard_tui.py
Configuration
- On the first launch, the program will prompt you to enter your sudo password and WireGuard configuration name (e.g.,
wg0). - This information is saved in a
settings.jsonfile (created automatically).
Requirements
- Linux (uses
wg-quick). - Installed WireGuard.
- Python 3.7 or higher.
Contributions & Ideas
If you have suggestions or want to improve the project, contact me at io1n@proton.me or create a Pull Request.
License
MIT License – free to use, modify, and distribute.
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 wireguard_tui-0.1.0.tar.gz.
File metadata
- Download URL: wireguard_tui-0.1.0.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d4de1551ad3ba0d5207ead950764cf150006f386f90fb5f51ee9146ef16a4f82
|
|
| MD5 |
bacc5fc933a1058bc5d250797b4f8af0
|
|
| BLAKE2b-256 |
8c186d6ff957f82c3cb1ed867cadd5fe288a247f7506edb6117cd350d4692e09
|
File details
Details for the file wireguard_tui-0.1.0-py3-none-any.whl.
File metadata
- Download URL: wireguard_tui-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a8247dba795fd03c1463c60181f1d931dfece5f923045046bf6a0afa761e7ab
|
|
| MD5 |
ad847e4720f4609c17342231ea75668e
|
|
| BLAKE2b-256 |
be503d09cecf213f2bf9e3533c4273178b878383bbba2eaa8ca7fcd4ca399a54
|