Repository navigation
v3.0.0: Zero-Config Automated Installation
🚀 Zero-Config Automated Installation
Secure Vibe Coding OS now installs itself. The new /install command and scripts/setup.mjs automate the entire 7-step manual setup process into a single guided flow — no Clerk account, no dashboard copy-pasting, no manual secret generation.
Major Features
/installSlash Command: Interactive guided installation that collects site name, admin email, and Clerk preference viaAskUserQuestion, then orchestrates the full setup automaticallyscripts/setup.mjsSetup Script: Deterministic Node.js script with subcommands:init— Creates Clerk accountless application, generates CSRF/session secrets, creates JWT template with properaud: "convex"claim, derives frontend API URL, writes all values to.env.localconvex-setup— Checks login status, parses teams, creates Convex project non-interactively via--configure=new --team --project --dev-deployment=cloudflagsconfigure— Exchanges Svix one-time token for API token (undocumented endpoint discovery), creates webhook endpoint with correct event filters, retrieves signing secret, sets all Convex environment variables via CLIdetect-port— Finds first available port from 3000 upward for accurate dev URL display
- Svix Token Exchange: Discovered and implemented programmatic webhook creation via Svix's
POST /api/v1/auth/one-time-token/endpoint, bypassing the browser-only dashboard limitation
Improvements
- Fully Automated Convex Setup: Non-interactive project creation using Convex CLI hidden flags (
--login-flow poll,--configure=new). Handles login, team selection, and project creation without requiring the user to run commands in a separate terminal - Billing Error Boundary:
CustomClerkPricingnow checksclerk.__unstable__environment.commerceSettings.billing.user.enabledbefore rendering<PricingTable/>, showing a clean "Pricing plans coming soon" fallback instead of a dev-mode error - Fresh Install Fix: Init script clears Convex placeholder values (
CONVEX_DEPLOYMENT,NEXT_PUBLIC_CONVEX_URL) from.env.examplesonpx convex devprompts for fresh project setup instead of failing withInvalidDeploymentName - Convex False-Failure Recovery:
convex-setupchecks.env.localafter non-zero CLI exit before reporting failure — the Convex CLI may exit non-zero due to warnings while still successfully creating the project - Email Validation: Admin email prompt explains importance for security dashboard access, keeps asking until a valid email is provided
- Smart Port Detection: Completion summary detects first available port from 3000 upward to show the correct dev URL
- Optional Billing Steps: Remaining manual steps (Clerk billing) shown as optional in completion summary
- Claim URL Clarity: Users directed to only click Claim button and skip remaining steps on the Clerk claim page
- Blog Banner Images: Generated missing AI banner images for all three blog posts via Gemini Pro
- Vulnerability Fixes: Bumped next to ^15.5.10, added overrides for lodash (>=4.17.22) and tar (>=7.5.7) to resolve all npm audit vulnerabilities
- README Quick Install Section: Added automated install instructions before the manual steps
- Self-Installer Skill: Updated to reference
/installas the preferred approach over Playwright-based browser automation
What's Included
This release includes 8 commits:
14ee0f8: Add blog banner images, detect-port subcommand, and dotenv dep3e4a4d6: Improve install flow: email validation, optional steps, port detection, vuln fixesa1ed979: Fix email prompt, claim URL timing, and Convex false-failureab308d8: Automate Convex project setup with non-interactive CLI flagsd201a68: Fix fresh install: clear Convex placeholders and handle non-interactive terminala055bd1: Add automated /install command and setup script0431ddd: bump convex versionf0b5cf5: updated CLAUDE.md to include convex check
Files Changed:
- ➕ Added:
.claude/commands/install.md,.claude/commands/create-blog.md,scripts/setup.mjs,scripts/generate-image.js,public/blog/images/*.png - ✏️ Updated:
README.md,components/custom-clerk-pricing.tsx,package.json,package-lock.json,public/sitemap.xml,.claude/skills/self-installer/SKILL.md,CLAUDE.md,.cursor/rules/convex_rules.mdc - 🔄 Auto-generated:
convex/_generated/*
📥 How to Update
For New Users
git clone https://github.com/harperaa/secure-vibe-coding-OS.git
cd secure-vibe-coding-OS
npm install
claude
# Then type: /installFor Existing Users
Option 1: Merge everything
git fetch origin --tags
git merge v3.0.0
npm installOption 2: Use pull commands
/pull-repo-safe
One command to rule them all. From git clone to a fully configured SaaS app with authentication, webhooks, and real-time database — in under 5 minutes.