No description
  • Go 40.3%
  • Svelte 39.4%
  • TypeScript 12.4%
  • Shell 5.2%
  • CSS 2.1%
  • Other 0.6%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Razvan M. a4d008a750
All checks were successful
Build worker image / build (push) Successful in 3m34s
Build hub image / build (push) Successful in 3m48s
update readme
2026-11-27 20:38:33 +02:00
.forgejo/workflows stuff 2026-11-26 23:31:32 +02:00
cmd make snapshot size and backup runs be on the same row instead of 2 different ones 2026-11-27 19:55:44 +02:00
internal stff 2026-11-27 13:07:15 +02:00
migrations stff 2026-11-27 13:07:15 +02:00
scripts stff 2026-11-27 13:07:15 +02:00
.dockerignore Add Dockerfile, Forgejo image workflow and MIT license 2026-11-26 20:25:34 +02:00
.gitignore Add compose.yaml with hub and worker 2026-11-26 20:32:40 +02:00
compose.yaml stff 2026-11-27 13:07:15 +02:00
Dockerfile stff 2026-11-27 13:07:15 +02:00
go.mod Initial commit: nuggets as of the audit 2026-11-26 18:40:51 +02:00
go.sum Initial commit: nuggets as of the audit 2026-11-26 18:40:51 +02:00
LICENSE Add Dockerfile, Forgejo image workflow and MIT license 2026-11-26 20:25:34 +02:00
mise.toml Runs view, file browser, admin API and worker relay 2026-11-26 20:25:12 +02:00
README.md update readme 2026-11-27 20:38:33 +02:00

Nuggets

Nuggets dashboard

Nuggets is a lightweight backup manager powered by kopia. Its architecture is inspired by Beszel.

It's composed of a hub (PocketBase + web dashboard) holds repositories and backup plans and a worker runs on each machine you back up, picks up its plans from the hub, and runs kopia. Workers do not require a port to be opened.

Run

  1. Start the hub with compose.yaml and open http://localhost:8090.
  2. Add an instance in the dashboard; and it will show the HUB_URL and TOKEN for that worker.
  3. Put them in the worker's env and start it.

Worker env:

Variable
HUB_URL Hub address
TOKEN Instance token from the dashboard
ALLOW_COMMANDS true lets plans run before/after commands
RESTORE_DIR Where dashboard restores are written

The worker sees the host at /host (read-only), so plan paths look like /host/etc.

Develop

Needs mise: mise run dev, mise run dev:worker, mise run build, mise run test:e2e.

License

See LICENSE.