Skip to content

robin-thoene/wiretui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wiretui

Summary

A minimal keyboard-driven TUI to manage WireGuard VPN connections, heavily inspired by bluetui and impala.

⚠️Warning

This project is currently in development and is not yet stable nor meant to be used.

Prerequisites

You will need to use a Linux based operating system with the networkmanager.

Local development

CLI

Run the application

cargo run --bin wiretui-bin

Run the tests

cargo test

Check if you violated the hexagonal architecture dependency rules

./scripts/lint_architecture.sh

Check the workspace rules (using cargo-deny)

cargo deny check

Debugging

This project contains a debugger configuration using .vscode files. Those can be used in Neovim as well (see example here).

Logging

This application uses the log crate in combination with the env_logger crate to set the log level. By default the logs are written to a file, which is overridden every time you run the application.

You can see it's current content with

cat ~/.local/state/wiretui/log.txt

To override the log level when running the application use

RUST_LOG=debug cargo run

Valid log level are trace, debug, info, warn and error.

About

A minimal keyboard-driven TUI to manage WireGuard VPN connections

Resources

License

Stars

Watchers

Forks

Releases

No releases published