Skip to content
OwnCMS

Early stageNo release yetAGPL-3.0

A content management system
built for AI programs first

In one Go program, on your own server. People and AI programs work on the same content with the same rights. OwnCMS is being built in the open: sites, content types and entries with their history work today; images, search and webhooks come next. Made by OwnLabs.

What OwnCMS is for

AI programs are first-class users
Every action in the administration is also a tool for AI programs over the Model Context Protocol, with the same rights as the person whose access token they use. Every change is recorded with the program's name.
Your content model, understood by the model
You define content types with their fields: text, formatted text, numbers, dates, choices, links to other entries, lists and blocks, in one or several languages. AI programs get a tool per type that tells them exactly which fields exist and what they accept.
Nothing gets lost
Every save is a revision with who, why and when, with a comparison of any two versions and a way back. Entries have a draft and a published version, and deleted ones stay in the bin for 30 days.
Headless
Build your site with any framework and read published content as JSON or Markdown, with an llms.txt for each site. Drafts can be read with a preview key.
One program
One binary with its web interface built in, on SQLite in a data directory or on Postgres. Built like OwnMail, on the same Go libraries: sesam, ablage, panzerschrank and depot.

What works today

Steps 1 to 4 of version 1 are done: people, AI programs and websites work on the same content, each with their own access.

Sites and people
Several websites in one installation, each with its languages. Administrators and editors work on all sites or only on some, with two-factor sign-in.
Content types and entries
Fields defined in the web interface, entries written in a form made from them, with a draft, a published version and their history.
https://<your server>/api/mcp
The endpoint for AI programs, with tools for sites, content types, entries and their history, and two tools of its own for every content type. Every change needs a reason in one sentence, shown in the activity log.
https://<your server>/content/<site>/
What websites read: lists and single entries as JSON, each entry as Markdown, and an llms.txt with everything published. Public sites need no key; other sites need a read key, drafts a preview key.
Terminal
claude mcp add --transport http owncms \
  https://cms.example.com/api/mcp \
  --header "Authorization: Bearer ocm_…"
Terminal
curl 'https://cms.example.com/content/blog/post?lang=en&limit=10'

Other AI programs connect to the same address over HTTP with the header Authorization: Bearer ocm_…. Details: AI programs and reading content.

The way to version 1

Each step is one or more pull requests on GitHub, in this order.

  1. The base: one program on SQLite or Postgres, sign-in with a setup code, access tokens, the MCP endpoint, an activity log and the web interface

    #1

    State: Done
  2. Sites, the roles administrator and editor limited to sites, managing people, two-factor sign-in

    #2#3#4

    State: Done
  3. Content types with their fields, entries in several languages, draft and published versions, revisions with comparison and undo, editing in the web interface

    #5#6#7#8

    State: Done
  4. A tool per content type for AI programs, the public read API with preview, llms.txt and Markdown for every entry

    #9#10

    State: Done
  5. 5

    Images and files

    #11

    State: Next
  6. 6

    Full-text search on SQLite and Postgres

    #12

    State: Planned
  7. 7

    Webhooks when content is published, unpublished or deleted

    #13

    State: Planned
  8. 8

    Docker image, compose file, backups and updates as in OwnMail

    #14#15#16

    State: Planned

After version 1

  • OwnCMS renders sites itself, with domains set up through dnsprovider. #18
  • Mails such as invitations and review requests. #19
  • Sign-in for AI programs without a token, so claude.ai and others can connect directly. #20

The roadmap in the repository is the current state.

Try it from source

There is no release and no Docker image yet; they come with the last step of version 1. To try it now, build it yourself.

With Postgres instead of SQLite, or behind a reverse proxy: Getting started and the reference of all settings.

  1. 1

    Build it

    You need Go (the version in go.mod) and Node.js.

    Terminal
    git clone https://github.com/ownlabs-dev/owncms.git && cd owncms
    make build
  2. 2

    Start it on SQLite in a data directory

    Terminal
    bin/owncms serve -data ./data -listen 127.0.0.1:8080
  3. 3

    Create the first administrator

    Open http://localhost:8080/admin/ and enter the setup code from the log, your e-mail address and a password. Then add a site and its content types, and an access token for your AI program under Access tokens.

Good to know

Can I use OwnCMS for a website today?
You can try it with a real site: content types, entries with their history, the tools for AI programs and the read API work. There is no release or Docker image yet and images and files cannot be uploaded yet, so it is not ready to run a website on.
What does OwnCMS cost?
Nothing. OwnCMS is open source under the AGPL-3.0 license. There is no paid version and no hosted service; you run it on your own server.
Does it show my website?
Not at first. OwnCMS starts headless: your site is built with the framework you like and reads published content through an API. Rendering sites itself comes after version 1.
How can I follow it?
Everything is built in the open on GitHub. The roadmap lists each step with its issues, and it is updated as steps are done.

Follow OwnCMS on GitHub

OwnCMS is at an early stage and changes quickly. Watch the repository to see each step as it lands, and tell us in an issue what your content needs.