| Crates.io | stregsystemet-tui |
| lib.rs | stregsystemet-tui |
| version | 1.1.0 |
| created_at | 2025-09-07 15:04:53.645512+00 |
| updated_at | 2025-09-19 14:25:16.918791+00 |
| description | A TUI for Stregsystemet |
| homepage | |
| repository | https://github.com/Many5900/stregsystemet-tui |
| max_upload_size | |
| id | 1828214 |
| size | 245,141 |
A modern, feature-rich Terminal User Interface (TUI) for the Stregsystemet beverage purchasing system.
This TUI application provides an efficient way to interact with the Stregsystemet beverage purchasing system, without having to leave your terminal 😉. It offers vim-like navigation, search capabilities, and integrated parking registration for parking at AAU (Aalborg University) Zone 4688. (You might also find AAU Parking Scheduler interesting)
ALWAYS verify your parking registrations!
The author takes no responsibility for:
Before setting up the application, make sure you have the following installed:
Rust: Installation instructions can be found at https://rustup.rs/
Cargo: Comes with Rust installation
Install the latest version:
# Install the latest version
cargo install stregsystemet-tui
# The binary will be available as 'stui' in your PATH
stui
Update to latest version:
cargo install stregsystemet-tui --force
Uninstall:
cargo uninstall stregsystemet-tui
Once installed, start the application by typing stui in your terminal:
stui
The application automatically creates a configuration file at ~/.config/.stregsystemet.toml when you first run it. You don't need to worry about this file, the application works perfectly without any manual configuration.
However, if you want to customize settings, you can edit the file:
username = "your_username"
room_id = 10
phone_number = "12345678" # Optional: saved from parking registration
license_plate = "AB12345" # Optional: saved from parking registration
The application displays helpful key bindings throughout the interface. These hints indicate which keys are available based on your current mode and context.
The following are the primary key bindings:
| Key | Action |
|---|---|
j/k or ↓/↑ |
Navigate up/down |
gg |
Go to top |
G |
Go to bottom |
[num]j/k |
Jump N lines (vim-style) |
Enter |
Purchase selected product |
/ or s |
Search products |
| Key | Action |
|---|---|
Enter |
Open purchase modal |
+/- or ←/→ |
Adjust quantity |
y |
Confirm purchase |
n/Esc |
Cancel |
| Key | Action |
|---|---|
/ or s |
Open search modal |
Ctrl+n/p |
Navigate results |
Enter |
Select product |
Esc |
Close search |
| Key | Action |
|---|---|
p |
Open parking modal |
Tab |
Switch between fields |
Enter |
Confirm details |
y |
Register parking |
n |
Cancel |
| Key | Action |
|---|---|
u |
Change username |
q |
Quit application |
This project is licensed under the MIT License - see the LICENSE file for details.
Made with ❤️ in Rust