Resource budget enforcement for my Linux desktop.
  • Go 99.5%
  • Shell 0.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-10-05 19:19:05 +09:00
cmd/budget Add systemd resource budgets with TOML profiles 2026-10-05 19:19:05 +09:00
internal/budget Add systemd resource budgets with TOML profiles 2026-10-05 19:19:05 +09:00
.gitignore Add systemd resource budgets with TOML profiles 2026-10-05 19:19:05 +09:00
go.mod Add systemd resource budgets with TOML profiles 2026-10-05 19:19:05 +09:00
go.sum Add systemd resource budgets with TOML profiles 2026-10-05 19:19:05 +09:00
install.sh Add user installer and CLI usage instructions 2026-10-05 19:19:05 +09:00
LICENSE Add systemd resource budgets with TOML profiles 2026-10-05 19:19:05 +09:00
profiles.example.toml Add systemd resource budgets with TOML profiles 2026-10-05 19:19:05 +09:00
README.md Add user installer and CLI usage instructions 2026-10-05 19:19:05 +09:00

budget

Resource limits for desktop apps and terminal workloads. Requires Linux, cgroup v2, a systemd user session, and Go 1.26+.

Copy profiles.example.toml to ~/.config/budget/profiles.toml and edit limits, app IDs, and terminal prefixes.

Action Command
Install and apply ./install.sh
Apply configuration edits budget apply
Show configuration budget status
Launch with a profile budget run compute -- COMMAND
Override a running app or unit budget set unrestricted TARGET
Test go test -race ./...
Lint golangci-lint run