Step 2 of 3 · Local on 127.0.0.1 · Free · No Docker or account
Show me both versions of my app
Try a change in a running preview while your usual app stays untouched, and reopen that preview tomorrow from a fresh chat. Production waits for your approval. No Docker and no account.
Can I see the change before I keep it?
Pick the example that fits your app. A local preview runs your app the way it already runs: npm run dev, npm start, a Procfile, or a command you give. Next.js, Vite and Python apps work this way. When you ask to keep it, the plugin offers local setup.
Keep a preview running for tomorrow
Show me my app as it is and a local preview with the heading "Evening collection." Give me both links and keep the preview running for tomorrow.Observed result: Both URLs ran side by side. A fresh chat in the same folder found the running preview and read its response. Run a preview
Open Friday’s production settings as a preview
Open Friday’s production settings as a new preview.ConfigHub runs today’s code using the settings this hub held at the end of the last completed Friday in your time zone. If the app joined later, its history starts then.
In our local test, the web and Daytona starters supplied the settings. We dated the older revision Friday. Its preview queued the sample job after three attempts. Production kept delivering on attempt four. A new chat in each client found its original preview without the address. Archived run (mini.29) · Current release (0.11.24-mini.53)
Throw away the sandbox. Keep what you learned.
The queue spiked. In a disposable Daytona sandbox, run the same jobs at 120 and 240 per batch. Show me the difference and save the change and its reason for review before you delete the sandbox.Observed result: In the Daytona walkthrough, tuned settings and written reasons survive container deletion in Staging while Production holds pending review (Daytona walkthrough · Daytona quick guide).
How one app lives in a local hub
Connecting an app does not modify your tracked app files (local setup writes only .claude/settings.local.json and .git/info/exclude; running /confighub:staging also sets autoAllowBashIfSandboxed: true in .claude/settings.local.json unless CUB_MINI_MODE=team). ConfigHub creates three copies of its settings (base, staging, and production, named live in the CLI) and an optional isolated preview, plus a scoped key for the agent.
app-base
Shared settings and starter defaults, each with a written reason. Changes start here once.
preview
A running local copy on its own port that survives across chats while leaving your usual app alone.
app-staging
Takes base changes right away so your agent can verify behavior before proposing to production.
app-live (production)
Agent proposes a change order on its scoped key; the hub refuses self-approval until you approve.
Two ways to start using a local hub
You do not have to pre-install a server. Ask for a durable preview in your app folder, or download the standalone package directly.
Ask for a preview you can reopen tomorrow
In a local Node app reading .env, ask in plain words:
Try "Evening collection" as the heading. Keep the usual app as it is. I'd like to open the preview again tomorrow.Say yes when the plugin offers to attach the app. First use downloads the package for your machine and starts the local hub on 127.0.0.1. Existing app preview guide.
Attach any repo or run in CI and sandboxes
Works with .env, Compose, Terraform, and Kustomize repos, or inside a disposable CI job with one hub per run. If the local hub is not downloaded yet, run ~/.claude/plugins/marketplaces/confighub/plugins/confighub/bin/confighub mini get (Claude Code) or ~/.codex/confighub/bin/confighub mini get (Codex), or run cub mini install to start an already-downloaded hub.
cub mini install
cub mini adopt . --name myapp
cub mini require-approval myapp --variant live --agent myapp-agent
cub mini waitingReview, approve, refuse, or roll back
The agent proposes changes using its own scoped key. You inspect and decide in your own terminal using the order IDs shown below.
cub mini waitingReview the proposed values. To approve one, run cub mini approve BASE/ORDER with the exact ID shown. To decline it, run cub mini refuse BASE/ORDER --reason "Why". You can leave it pending and come back later.
To undo an approved change, run cub mini rollback APP-live --change-order BASE/ORDER --reason "Why" with your app and order. Review the new proposal before production changes.
Ready to share history, approvals, and starters across a team?
Step 3 moves the exact same app and cub commands to a shared hub.