AI-Agent-First Ghost Theme Factory — from preset to production in seconds.
git clone https://github.com/XED-dev/Studio.git
cd Studio/infactory-cli && npm install
# Build a Ghost theme
node bin/infactory.js build --preset=blog --zip
# Deploy to Ghost
INFACTORY_GHOST_URL=https://your.ghost.site \
INFACTORY_GHOST_KEY=id:secret \
node bin/infactory.js deploy --preset=blog
Requires: Node.js 18+ · Ghost CMS 6.x
XED /Studio turns YAML preset files into production-ready Ghost themes. Define your design tokens (colors, fonts, spacing), pick sections from the library, and deploy — all from the terminal. Built for AI coding agents, not mouse clicks.
| Component | Purpose |
|---|---|
infactory-cli | Build Ghost themes from YAML presets. Scaffold, preview, deploy. |
infactory-server | Factory Floor Controller on your Ghost host. REST API for remote agents. |
AI Agent (terminal) Ghost Host
┌────────────────────┐ HTTPS ┌───────────────────────┐
│ Claude Code │ ─────→ │ inFactory Server │
│ Gemini CLI │ API-Key │ ├ Theme Build+Deploy │
│ any CLI agent │ │ ├ Content CRUD │
└────────────────────┘ │ ├ Image Migration │
│ └ Ghost Restart │
└───────────────────────┘
| Feature | XED /Studio | Others |
|---|---|---|
| CLI interface | ✅ | ❌ Elementor, v0, Lovable |
| Ghost CMS native | ✅ | ❌ WordPress or React only |
| AI agent as primary user | ✅ | ❌ GUI-first, human-first |
| Open source (MIT) | ✅ | ❌ Proprietary or GPL |
| Zero external deps for core | ✅ | ❌ Heavy dependency trees |
| Preset | Use case | Sections |
|---|---|---|
blog | Personal blog, newsletter | 4 |
agency | Digital agency, studio | 4 |
saas | B2B tool, startup | 5 |
studio | Portfolio, multi-use | 4 |
| Endpoint | What it does |
|---|---|
POST /api/theme/build | Build preset into Ghost theme ZIP |
POST /api/theme/deploy | Build + upload + activate on Ghost |
POST /api/ghost/pages | Create or update a Ghost page |
POST /api/ghost/images/migrate | Migrate all images of a page to Ghost |
POST /api/system/restart | Restart Ghost CMS |
GET /api/health | Server + Ghost status |
17 endpoints total. See full API reference.