A batteries-included Go headless CMS with four frontends (Next.js, Nuxt, Taro, Flutter) — MIT
Part 12 of the GoWind series. Content platforms usually make you choose: headless API (Strapi-style) or batteries-included (WordPress-style). GoWind CMS — aka GoWind Content Hub — refuses the choice: a full-stack Go head
Part 12 of the GoWind series. Content platforms usually make you choose: headless API (Strapi-style) or batteries-included (WordPress-style). GoWind CMS — aka GoWind Content Hub — refuses the choice: a full-stack Go headless content platform, MIT-licensed, that ships an admin console, four interchangeable C-end frontends, an AI layer, and omnichannel distribution.
One hub, clients on demand
The backend is three Go services (admin BFF / app BFF / core) on go-kratos + Ent + PostgreSQL, exposing RESTful and gRPC dual protocols with auto-generated OpenAPI docs. Content production, storage, and management are fully decoupled from presentation.
The interesting part is the frontend menu — four parallel C-end implementations sharing one API contract, deployed on demand:
| Frontend | Stack | Form |
|---|---|---|
| React | Next.js + shadcn/ui | SSR, or pure static export hosted by nginx — no resident Node service |
| Vue | Nuxt + shadcn-vue | SSR / SSG |
| Taro | Taro | WeChat Mini-Program / H5 |
| Flutter | Flutter | iOS / Android apps |
An official website needs the React edition; add Taro when a mini-program appears; add Flutter when there's an app. None of them constrain the others — the same choose-frontends-not-one-codebase philosophy as GoWind Admin.
Try it now: admin console (admin / admin) and any of the four frontends above — they all serve the same demo content.
What's in the batteries
Content ops: flexible content modeling with components, visual page building with 14 section/block types, versioning with rollback, collaborative editing, multi-level publishing approval with full audit trail, A/B content experiments in the same slot, content calendar, draft preview, form capture for leads, and full-chain SEO meta (seoTitle, og tags, canonical) with periodic content-health checks including dead-link detection.
Search: OpenSearch with Chinese tokenization (smartcn), highlighting, suggestions, and a per-tenant synonym thesaurus.
Distribution: one-click publishing to 10 platforms — Bluesky, Mastodon, DEV.to (yes, where you're reading this), Telegram, WordPress, WeChat Official Account, Nostr, Weibo, LinkedIn, Cnblogs. Create once, reach everywhere.
AI-native, not AI-sprinkled: chat assistant, RAG, an Agent graph-orchestration canvas with human approval nodes, and an MCP tool surface for extending AI capabilities. Recent additions include an AI anti-spam gate on comments before they're persisted.
Enterprise base: multi-tenant isolation, field-level permissions, MFA TOTP, AK/SK auth for open APIs, tenant quotas — the same foundation as the rest of the family.
Security note worth mentioning
Recent hardening included a framework-level fix for cross-tenant write privilege escalation (BOLA), and the API surface moved to same-origin relative paths behind nginx prefix forwarding — no more standalone API domains juggling CORS. The kind of unglamorous work that decides whether a CMS survives a security review.
Stack & try-it
Go 1.25+ · go-kratos · Ent · PostgreSQL · Redis · OpenSearch · SeaweedFS · etcd · Jaeger. MIT-licensed, free for commercial projects.
- Repo: github.com/tx7do/go-wind-cms
- Docs: gowind.cloud/en/cms/intro.html
- Demos: admin · react · vue · taro · flutter
Issues and PRs welcome — and if you run a headless stack today, tell us what's missing; the content-modeling API is where outside feedback lands hardest.
Next in the series: gow — the Go CLI that generates your whole CRUD stack from a database or straight from Go structs.
Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.