mirror of
https://github.com/harivansh-afk/betterNAS.git
synced 2026-04-15 05:02:07 +00:00
1.1 KiB
1.1 KiB
betterNAS
- control-plane owns policy and identity (decides)
- node-agent owns file serving (serves)
- web owns UX (consumer facing)
- nextcloud-app is optional adapter only for cloud storage in s3 n shit
Monorepo
apps/web: Next.js control-plane UIapps/control-plane: Go control-plane serviceapps/node-agent: Go NAS runtime / WebDAV nodeapps/nextcloud-app: optional Nextcloud adapterpackages/contracts: canonical shared contractspackages/ui: shared React UIinfra/docker: local Docker runtime
The root planning and delegation guide lives in skeleton.md.
Verify
Run the repo acceptance loop with:
pnpm verify
Runtime loop
Bootstrap clone-local runtime settings with:
pnpm agent:bootstrap
If .env.agent is missing, bootstrap writes clone-local defaults for this checkout.
Bring the stack up, verify it, and tear it down with:
pnpm stack:up
pnpm stack:verify
pnpm stack:down --volumes
Agent loop
Run the full static and integration loop with:
pnpm agent:verify
Create or refresh the sibling agent clones with:
pnpm clones:setup