Skip to main content

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 sudo password and configuration name in settings.json.
  • Colorful terminal output (via colorama).
  • Works on Linux only.

Installation

  1. Clone the repository:

    git clone https://github.com/nefr7t/wireguard-tui.git
    cd wireguard-tui
    
  2. Install dependencies:

    pip install -r requirements.txt
    
  3. 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.json file (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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wireguard_tui-0.1.0.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wireguard_tui-0.1.0-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

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

Hashes for wireguard_tui-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d4de1551ad3ba0d5207ead950764cf150006f386f90fb5f51ee9146ef16a4f82
MD5 bacc5fc933a1058bc5d250797b4f8af0
BLAKE2b-256 8c186d6ff957f82c3cb1ed867cadd5fe288a247f7506edb6117cd350d4692e09

See more details on using hashes here.

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

Hashes for wireguard_tui-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7a8247dba795fd03c1463c60181f1d931dfece5f923045046bf6a0afa761e7ab
MD5 ad847e4720f4609c17342231ea75668e
BLAKE2b-256 be503d09cecf213f2bf9e3533c4273178b878383bbba2eaa8ca7fcd4ca399a54

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page