Alcove CMS
A site made of plain files
Alcove is a small CMS written in Go. Pages are YAML files, templates are plain HTML, and SQL is there when content lives in a database. One binary builds what can be static and serves the rest.

In short
No admin panel, no theme engine, no plugins. A folder of files and one program that turns it into a website.
- (I)
Files, not a back office
A page is a YAML file and a template is an HTML file. The site lives in git, and a diff shows what changed.
- (II)
Static unless it must be live
Pages are written to plain files at build time. A page that shows a query result is rendered when it is asked for, with an optional cache.
- (III)
Checked before it ships
Every build starts with a full check. A broken page stops the build, and the site you serve stays as it was.

Anatomy
A page and the alcove it shows:
content/pages/hello.yaml
slug: hello
title: Hello
alcove: house
nooks:
main:
- alcove: greeting
content/alcoves/greeting/blueprint.html
<h1>{{ page.title }}</h1>Four words to learn
- (I)
Page
A YAML file. It names a layout and the alcoves for each nook.
- (II)
Layout
An alcove whose template is the whole document, with nooks to fill.
- (III)
Alcove
A folder with a template and rows from YAML or from SQL.
- (IV)
Tile
The HTML for one row, picked by a condition.
Quick start
A site in three steps
Alcove is one Go program with no other runtime. SQLite is built in.
- (I)
Build the binary
In the Alcove source folder, with Go 1.27:
go build -o alcove . - (II)
Write a page and its template
mysite/content/pages/index.yamlslug: "" title: Hello alcove: hellomysite/content/alcoves/hello/blueprint.html<!DOCTYPE html> <title>{{ page.title }}</title> <h1>{{ page.title }}, world</h1> - (III)
Run it
./alcove -dir mysite/content -port 8080Open
http://localhost:8080. Edit a file and the site rebuilds by itself.

The documentation
Every section of the documentation ends with a live demo, running on this server
The source is shown next to what it renders: a catalogue filtered by the address, a guestbook, a word counter, a guest account and an RSS feed.
Open the documentationFive parts of the documentation
- [Part I]
Basics
Pages, alcoves, tiles and the placeholders that fill them.

- [Part II]
Data
Rows from SQL, filtered by the address, nested, paginated and given pages of their own.

- [Part III]
Interaction
Forms, posts, scripts and signing in.

- [Part IV]
Delivery
Caching, assets, languages, settings and running it on a server.

- [Part V]
Inspection
Seeing what is wrong before and after it ships.
