Chemistry is the CMS I use to manage this site. I built it so I could develop the frontend as I choose, with a system for writing, translating, and publishing content that is easy to maintain on my own server.
It is a headless CMS: it stores content and makes it available through an API, while the site handles presentation. The admin panel is built into the server, and one installation can host multiple sites, each with its own data and people.
One executable, one folder per site
Portability shaped the project from the start. Chemistry is a single Rust executable containing the server and web panel. Each site has a SQLite database and a folder of uploaded files: its content stays together in one place, even when the installation hosts several sites.
This makes maintenance straightforward. To back up an installation, you keep its data and configuration; to move a site to another instance, you can export it in full and import it there. You can also extract just the published content as JSON for an archive or a static site.
The panel is written in React and TypeScript and ships with the server. Distributions are available for Linux, Windows, and macOS; the Linux build is static and needs no additional dependencies to start.
Giving content a structure
On this site, a project has a title, a subtitle, a logo, body text, and search engine metadata. These are fields defined in Chemistry's panel, just as a product's price or an event's date would be on another site.
The content model reflects what the site needs to publish. A collection holds multiple entries, such as blog articles; a single entry represents something like the homepage. Components let you reuse common structures: the contact boxes and pairs of light and dark screenshots on this page are defined this way.
The frontend reads this data through an API with filters, sorting, and pagination. It can use Next.js, as this site does, or other tools. The @chemistry/client package is available for Node.js applications. It is written in TypeScript and has no dependencies. It reads content and also handles previews, media, Markdown, and contact form submissions. Content stays independent of how it is displayed.
Writing and publishing
A change may take several passes before it is ready. In Chemistry, you work on a draft while the published version stays online; preview opens the site with a temporary link so you can check the result in context. Entry history keeps revisions and lets you restore them.
You can write in the visual editor, work directly in Markdown, or keep the two views side by side. Text can also include images, links to other entries, and components: a single document can hold both prose and blocks that the frontend renders with its own design.
Translations belong to the same entry and are edited per language. Alternative text and media captions can be translated too. Images and documents come from the site's library; when needed, the server generates multiple image sizes for different screens.
When the text is ready, you can publish immediately or choose a time in the calendar. The calendar brings published and scheduled releases together and highlights failed publications so someone can act on them.
People working on several sites switch between them in the same panel. Invitations and roles determine which content each person can work on and which actions they can take; a dedicated domain can lead directly to a single site's panel.
After publication
Publishing content also needs to update the site using it. Chemistry rebuilds API responses in memory and can send a signed webhook to the frontend. Here, for example, the webhook invalidates the Next.js cache so pages can be regenerated with the updated text.
The same panel receives messages from contact forms and shows analytics. You can see which pages people read, where visits come from, and how navigation continues, alongside events defined by the site.
Events pass through the site's backend, which handles consent and cookies. The CMS receives those events and prepares reports, distinguishing human traffic from bots. Content and its results can be reviewed in the same place.
Working with agents
The panel is one way to work on content. Chemistry also exposes site operations through MCP: an agent can read a page, prepare a translation, change a schema, or upload images to include in the text.
The agent uses the permissions of the person who connected it, and its actions pass the same validation as those made through the panel. Content changes enter revision history, where they can be checked and restored. Work done by an agent stays part of the site's regular editorial process.