frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Cosmic CLI – Build, deploy, and manage apps from your terminal with AI

https://github.com/cosmicjs/cli
1•tonyspiro•2h ago
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:

  # Create a project with an AI-generated content model
  cosmic projects create
  # → "A recipe blog with recipes, categories, and authors"

  # Generate content
  cosmic content -p "Create 5 recipes with images across different categories"

  # Build a full-stack app wired to your content
  cosmic build -p "A modern recipe blog with search and category filtering"
  # → Generates a Next.js app, pushes to GitHub

  # Deploy
  cosmic deploy start --watch
  # → Deployed to Vercel

  # Later: update the existing codebase with natural language
  cosmic update recipe-blog -p "Add dark mode and a favorites feature" -b feature-branch

  # Create a PR and merge
  cosmic repos pr create <repoId>
  cosmic repos pr merge <repoId> 1
  # → Auto-deploys to production
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.

Hands-Free Claude Code with the Agent SDK

https://yberreby.com/posts/hands-free-claude-code/
1•yberreby•32s ago•0 comments

Show HN: Cube – The Agentic Analytics Platform [video]

https://www.youtube.com/watch?v=f9RMT6WMAlc
1•micrum•39s ago•0 comments

Why Modern Systems Keep Functioning After They Stop Making Sense [pdf]

https://offbrandguy.com/wp-content/uploads/2026/02/reality-drift-visual-frameworks.pdf
1•realitydrift•1m ago•1 comments

FAW installs semi-solid-state battery in an EV, promising 1,000+ km range

https://electrek.co/2026/02/10/faw-installs-first-semi-solid-state-ev-battery-with-1000-km-range/
1•breve•3m ago•0 comments

Cysqlite – A New SQLite Driver

https://charlesleifer.com/blog/cysqlite---a-new-sqlite-driver/
1•todsacerdoti•3m ago•0 comments

Cursor switches pay-per-token when your plan limit end. Calls "On-Demand usage"

1•hardwellvibe•4m ago•0 comments

Add-MCP CLI: npx skills but for installing MCP servers

https://github.com/neondatabase/add-mcp
1•andrelandgraf•7m ago•0 comments

Pyrefly IDE extension now 18x faster

https://pyrefly.org/blog/2026/02/06/performance-improvements/
1•javabster•9m ago•0 comments

Men getting twice as much plastic surgery, new data shows

https://lifestyle.inquirer.net/562688/men-getting-twice-as-much-plastic-surgery-new-data-shows/
2•PaulHoule•10m ago•0 comments

Show HN: HN Digest – AI Summaries and Insights for Hacker News Threads (BYOK)

https://github.com/davkap92/hn-digest
1•davkap92•11m ago•0 comments

Bobby's Rules for Brainstorming

https://bobbylox.com/blog/bobbys-rules-for-brainstorming/
2•bobbylox•11m ago•1 comments

Deep research in ChatGPT is now powered by GPT-5.2

https://twitter.com/OpenAI/status/2021299935678026168
1•simianwords•13m ago•0 comments

AI in China and the United States

https://www.oreilly.com/radar/ai-in-china-and-the-united-states/
1•only_in_america•13m ago•0 comments

Code has _always_ been the easy part

https://laughingmeme.org//2026/02/09/code-has-always-been-the-easy-part.html
1•rmason•13m ago•0 comments

I built a complete suite of 22 MCP servers to boost developer productivity

https://github.com/fedcal/Tech-MCP
1•federicocalo98•14m ago•1 comments

What the philosophy of biology was [pdf]

https://gbragafibra.github.io/papers/Nicholson2015_organicism.pdf
1•Fibra•15m ago•0 comments

Show HN: Aps – pull and sync AGENTS.md and Agent Skills across codebases

https://github.com/westonplatter/agentic-prompt-sync
1•westonplatter0•15m ago•0 comments

Show HN:Collection of handy online tools for developers, with improved UX

https://devtoys.pages.dev/
1•alexander2002•15m ago•0 comments

What makes biological organisation teleological? [pdf]

https://gbragafibra.github.io/papers/Mossio_Bich2014_teleology_bioorganization.pdf
2•Fibra•16m ago•0 comments

The Missing GitHub Status Page

https://mrshu.github.io/github-statuses/
2•todsacerdoti•18m ago•0 comments

Biological organisation as closure of constraints [pdf]

https://gbragafibra.github.io/papers/Mont%C3%A9vil_Mossio_2015_closure.pdf
2•Fibra•19m ago•0 comments

Show HN: AI Flag Bot: Community-driven tool to detect and block AI accounts on X

https://aiflagbot.com
1•lifesaverluke•22m ago•0 comments

Jekyll – a brilliant engine for your blog

https://blog.tomaszdunia.pl/blog-jekyll-github-eng/
1•to3k•25m ago•1 comments

The Falkirk Wheel [the only rotating boat lift]

https://www.scottishcanals.co.uk/visit/canals/visit-the-forth-clyde-canal/attractions/the-falkirk...
2•scapecast•25m ago•1 comments

Unlock the power of real time Google searches and trends

https://daily-trending.org
1•azamsayeedit•26m ago•1 comments

Ask HN: Is there a "canon" of great CLI typography?

2•joshuawheelock•29m ago•0 comments

Rust engineer – low-latency browser and agent infra – €100K–€170K and equity

https://twin.so/
1•gregherbelux•29m ago•1 comments

Archive.today CAPTCHA page executes DDoS; Wikipedia considers banning site

https://arstechnica.com/tech-policy/2026/02/wikipedia-might-blacklist-archive-today-after-site-ma...
3•gyrovague-com•30m ago•1 comments

Show HN: Niko Table – Composition-based table built on Shadcn/UI and TanStack

https://niko-table.com/
1•xcution•30m ago•1 comments

I Just Returned from China. We Are Not Winning

https://www.nytimes.com/2026/02/10/opinion/china-ai-ev-trump.html
6•sizzle•30m ago•1 comments