php-terminal-cms lines editor

What php-terminal-cms is

category: about · date: 2026-09-07

A publishing platform for people who already have a text editor, a terminal and a server, and who do not want a fourth thing between them and a published page.

The shape of an installation

bash
$ tree -L 2 php-terminal-cms
output 9 lines
php-terminal-cms
|-- editor/          the writing surface — open index.html from disk
|-- site/
|   |-- content/     your markdown, one file per document
|   |-- public/      the only thing a web server points at
|   |-- src/         the renderer, ~300 lines of PHP
|   `-- site.php     title, tagline, categories, listings, footer
|-- shared/          the one copy of the theme and the language table
`-- bin/             build, test, fmt, package

Two halves, one repository. The editor half is a static page; the site half is a PHP script that reads files. Nothing is generated ahead of time and nothing is cached — a page is rendered from its markdown file on every request, which takes about a millisecond because there is nothing else to do.

The requirements, in full

There is no fourth requirement. No composer install, no node, no build.

What it refuses to do

The security model is not a list of mitigations. It is a list of things that are absent, and absent things cannot be exploited.
← about(EN | SK)