mirror of
https://github.com/anotherhadi/usbguard-tui.git
synced 2026-05-11 22:02:34 +02:00
09b054cc5c
Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
1.6 KiB
1.6 KiB
▖▖▄▖▄ ▄▖ ▌ ▄▖▖▖▄▖
▌▌▚ ▙▘▌ ▌▌▀▌▛▘▛▌ ▐ ▌▌▐
▙▌▄▌▙▘▙▌▙▌█▌▌ ▙▌ ▐ ▙▌▟▖
USBGuard TUI
A terminal UI for managing USB devices via usbguard. Built with bubbletea & Goland!
Requirements
- usbguard installed and the daemon running
- Sufficient privileges to communicate with the usbguard daemon socket
Installation
Go install
go install github.com/anotherhadi/usbguard-tui@latest
Build from source
git clone https://github.com/anotherhadi/usbguard-tui
cd usbguard-tui
go build -o usbguard-tui .
Nix run
nix run github:anotherhadi/usbguard-tui
NixOS: system installation
Add the flake input and include the package in your configuration:
# flake.nix
inputs.usbguard-tui.url = "github:anotherhadi/usbguard-tui";
# configuration.nix / home.nix
environment.systemPackages = [ inputs.usbguard-tui.packages.${system}.default ];
Usage
usbguard-tui
The device list refreshes automatically every 2 seconds.