Hi HN, I'm Tony, founder of Cosmic (a headless CMS). We just open-sourced a CLI that covers the full lifecycle of a content-driven app from creating the content model to deploying to production to updating the codebase all without leaving the terminal. Here's what the full workflow looks like:
That's the part I think is interesting: it's not just one step, it's the full loop. Create content, build the app, ship it, iterate on it, merge and redeploy. Each step is a single command.A few of the more technically interesting pieces: AI agents. You can create three types: content agents (CMS operations), repository agents (code changes on branches), and computer use agents (browser automation via Puppeteer with AI vision). Chain them into multi-step workflows with scheduling. Interactive shell. "cosmic shell" drops into a REPL where you navigate workspaces and projects like a filesystem: cd, ls, pwd. System commands with ! prefix. No cosmic prefix needed. Multi-model. Supports Claude Opus/Sonnet/Haiku, GPT-5/5.2/5-mini/4o, and Gemini 3 Pro. Set a default or specify per-command. It also handles the day-to-day stuff you'd normally do in a dashboard: billing, team roles, webhooks, domain/DNS config, environment variables. Built with TypeScript and Commander.js. MIT licensed. Install: npm install -g @cosmicjs/cli GitHub: https://github.com/cosmicjs/cli Docs: https://www.cosmicjs.com/docs/cli Happy to answer questions. |