mirror of
https://github.com/anotherhadi/usbguard-tui.git
synced 2026-05-20 09:12:34 +02:00
Compare commits
5 Commits
v1.0.1
...
abe6b5dde5
| Author | SHA1 | Date | |
|---|---|---|---|
| abe6b5dde5 | |||
| c7f42c1a12 | |||
| 3731160024 | |||
| 62cba43e15 | |||
| f1dd37cfc6 |
Binary file not shown.
|
After Width: | Height: | Size: 295 KiB |
@@ -0,0 +1,27 @@
|
||||
Output ./assets/demo.gif
|
||||
Require usbguard-tui
|
||||
|
||||
Set Shell "zsh"
|
||||
Set FontSize 32
|
||||
Set Width 1500
|
||||
Set Height 1000
|
||||
|
||||
Type "usbguard-tui"
|
||||
Sleep 500ms
|
||||
Enter
|
||||
Sleep 1s
|
||||
|
||||
Down
|
||||
Sleep 200ms
|
||||
Down
|
||||
Sleep 200ms
|
||||
Enter
|
||||
Sleep 1s
|
||||
|
||||
Down Sleep 200ms
|
||||
Down Sleep 200ms
|
||||
Sleep 1s
|
||||
Enter
|
||||
Sleep 1s
|
||||
|
||||
Type "Q"
|
||||
@@ -15,7 +15,9 @@ A terminal UI for managing USB devices via [usbguard](https://usbguard.github.io
|
||||
|
||||
USBGuard is a software framework for implementing a USB device authorization policy (allowlisting/blocklisting). It protects your system against rogue USB devices by scanning them and checking their parameters against a set of rules.
|
||||
|
||||
Built with [bubbletea](https://github.com/charmbracelet/bubbletea) & Goland!
|
||||
<img alt="USBGuard-tui demo" src="./.github/assets/demo.gif" width="600" />
|
||||
|
||||
Built with [bubbletea](https://github.com/charmbracelet/bubbletea) & Golang!
|
||||
|
||||
## Requirements
|
||||
|
||||
|
||||
@@ -14,12 +14,12 @@
|
||||
(system: f system (import nixpkgs {inherit system;}));
|
||||
|
||||
pname = "usbguard-tui";
|
||||
version = "1.0.0";
|
||||
version = "1.0.1";
|
||||
|
||||
ldflags = ["-s" "-w" "-X main.version=${version}"];
|
||||
in {
|
||||
packages = forAllSystems (system: pkgs: {
|
||||
"${pname}" = pkgs.buildGoModule {
|
||||
packages = forAllSystems (system: pkgs: let
|
||||
pkg = pkgs.buildGoModule {
|
||||
inherit pname version ldflags;
|
||||
|
||||
src = ./.;
|
||||
@@ -33,9 +33,9 @@
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
};
|
||||
in {
|
||||
"${pname}" = pkg;
|
||||
default = pkg;
|
||||
});
|
||||
|
||||
defaultPackage =
|
||||
forAllSystems (system: pkgs: self.packages.${system}.${pname});
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user