AI Content Factory — Batch generate, manage, and distribute global content with AI.
English · 简体中文
Quick Start · Features · Docker · AI Models · Roadmap
Not just another CMS. xAI CMS is an AI-native content factory.
Tell it what you need — "Generate 20 SEO articles about sustainable fashion in English and Japanese" — and it dispatches AI models to write, optimize, and publish them. Multi-language, multi-region, SEO-ready.
Think WordPress + Jasper + DeepL, but built-in.
Status: Early stage. Actively developed. Stars & contributions welcome.
# Clone
git clone https://github.com/xAIcms/xAIcms.git
cd xAIcms
# Docker (recommended)
docker-compose up -d
# Open http://localhost:8080That's it. MySQL and PHP are handled by Docker. No manual setup needed.
Demo video coming soon.
- AI Batch Generation — One prompt → N articles. Specify language, region, keywords.
- Multi-Region / Multi-Language — Built-in support for 17 regions and 15 languages.
- SEO Automation — Auto sitemap, meta tags, spider logs, full-text search index.
- AI Model Management — Connect any OpenAI-compatible API. Manage multiple models in admin panel.
- Point System — Credit-based AI usage with recharge packages.
- Plugin Architecture (coming) — WordPress-style hooks for extensibility.
- Template Marketplace (coming) — One-click theme install.
# docker-compose.yml
services:
app:
build: .
ports: ["8080:80"]
environment:
AI_API_KEY: "sk-your-key" # Set your API key
AI_MODEL: "deepseek-v4-flash" # Lite model
AI_PRO_MODEL: "deepseek-v4-pro" # Pro model
db:
image: mysql:8.0Set AI_API_KEY to your own key, or leave empty and configure in admin panel after install.
Default models: DeepSeek V4 Flash (fast) + DeepSeek V4 Pro (powerful).
| Tier | Model | Use |
|---|---|---|
| Flash | deepseek-v4-flash | Daily content, fast generation |
| Pro | deepseek-v4-pro | Deep analysis, complex writing |
Supports any OpenAI-compatible API. Switch to GPT-4o, Claude, Gemini, or your own models.
Free quota: New installs get 10 free AI generations. After that, bring your own API key or use our token relay service.
- Backend: PHP 8.0+ (no framework — lightweight MVC)
- Database: MySQL 8.0+
- AI: OpenAI-compatible API (DeepSeek, OpenAI, Anthropic, etc.)
- Deploy: Docker, Nginx/Apache, 宝塔面板
- Article CRUD + Categories + Tags
- Multi-region + multi-language
- AI batch generation (schemes)
- Point system + recharge
- Docker deployment
- Plugin system (WordPress hooks)
- JSON REST API
- Template marketplace
- Plugin marketplace
- CLI scaffolding (
php xai make:plugin)
We believe content creation is being fundamentally changed by AI. The tools should be open, composable, and free to self-host. xAI CMS is MIT-licensed and always will be.
We make money from our optional token relay service — if you don't want to manage your own API keys, use ours. Otherwise, it's free forever.
Pull requests welcome. See CONTRIBUTING.md (coming soon).
- Fork
- Create feature branch
- Commit
- Push
- Open PR
MIT — free for personal and commercial use.
Built with ❤️ by the xAIcms team. Stars make our day ⭐