Self-host Lichen-Markdown
1.5.0Lightweight flat-file CMS for Markdown-built static sites
docker run -d -p 8000:80 -v $(pwd)/src:/var/www/html lichen-markdown:latest- Port
- 80 (Apache serving the website and the /cms admin UI inside the container (run-dev.sh maps host port 8000 to it))
What is Lichen-Markdown?
Lichen-Markdown is a small flat-file content management system that turns Markdown documents into a website. It started as a fork of Sensor Station's Lichen, which used Gemtext, and swaps in Markdown while adding configurable page headers and footers. Content lives in ordinary .md files in a src folder; the browser editor at /cms/edit.php shows raw Markdown next to a live preview, a file manager lets you create pages and folders or upload images and videos, and typography is changed by editing stylesheet.css in the assets folder. Rendered output goes to a dist folder of static HTML that the app keeps in sync, and that can be regenerated from the command line or copied to another host, so the project also works as a basic static site generator. Additional languages are placed in /l11n/<LANGUAGE_NAME>/ folders.
Self-hosting means dropping a handful of PHP files behind Apache or Nginx (example vhost configs ship in docs/), building the included Dockerfile, installing the YunoHost catalog package, or piping the lib/install.sh script into bash; the installer can also create the htpasswd admin account that protects the editor. Note that login is delegated to the web server, so it does not function when the app is launched with PHP's built-in server, and there is no database, user management or plugin system. It is MIT-licensed, maintained on Codeberg, and its site advertises low consumption with no trackers.
Lichen-Markdown alternatives
WW-CMS is a self-hosted, open-source flat-file wiki for artists and experimental projects, with Markdown editing, media management, and graph view — no database needed.CompareW with Lichen-Markdown
LeafWikiLeafWiki is a self-hosted, open-source wiki storing content as plain Markdown files with SQLite — no external database needed. Runs as a single Go binary.CompareLeafWiki with Lichen-Markdown
TypemillOpen-source, self-hosted flat-file CMS for documentation sites, manuals and knowledge bases: write Markdown, publish websites, PDFs and EPUBs, no database needed.CompareTypemill with Lichen-Markdown
Wiki-GoOpen-source, self-hosted flat-file wiki in Go with Markdown editing, full-text search, version history, access rules, comments and kanban boards. No database needed.CompareWiki-Go with Lichen-Markdown
YellowSelf-hosted flat-file CMS for small websites, wikis and blogs. Runs on PHP 7.0+ with no database, uses Markdown, extensible with plugins and themes.CompareYellow with Lichen-Markdown
outstaticA self-hosted Git-based CMS: Outstatic adds an editing dashboard for the Markdown and MDX files in your GitHub repository, with no database and no hosted CMS backend.Compareoutstatic with Lichen-Markdown
wikmdFile-based markdown wiki with knowledge graphs, dark theme, drawio/PlantUML plugins, and git integration. Files instead of database. Self-host via Docker or Python.Comparewikmd with Lichen-Markdown
WeChat Markdown EditorOpen-source WeChat Markdown editor turning plain Markdown into styled Official Account posts with image hosts, themes and AI; run it self-hosted via Docker or npm.CompareWeChat Markdown Editor with Lichen-Markdown
Should you self-host Lichen-Markdown?
Lichen-Markdown scores 52/100 on selfhost.directory (how scoring works) and ranks #32 of 43 in Content Management.
There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.
Setup is moderate: expect some configuration beyond a single command. It is MIT-licensed.
Its closest alternative on selfhost.directory is Ghost (84/100, 55 880 stars). It scores higher overall, so compare the two before you pick. See Lichen-Markdown vs Ghost side by side.
Features
- Configurable header and footer
- Customizable CSS styling
- File Manager
- Localization
- Markdown cheatsheet included
- Markdown editing with live preview
- Per-page title control
- Rebuild from the web interface
- Static Site GenerationRunning it as a web server is the primary intended use; the SSG path is described as a custom use-case.
- Update script
How to install Lichen-Markdown
Install Lichen-Markdown with Docker
docker build -t lichen-markdown:latest ./docker/
docker run -d -p 8000:80 -v $(pwd)/src:/var/www/html lichen-markdown:latest
A convenience script is also included: `bash run-dev.sh`. Then go to localhost:8000 to use the app. The Dockerfile is based on php:8.1-apache.
More in Website Builder
MicroweberSelf-hosted drag-and-drop website builder and CMS based on Laravel with built-in e-commerce, blog, and content management features.
octoberSelf-hosted, source-available PHP CMS built on Laravel for developers and agencies: one-file pages, Twig templates, plugins, themes and Tailor content types.
QloAppsSelf-hosted, open-source hotel PMS with a direct booking engine and responsive hotel website for multi-property, multilingual hotels.
silexSelf-hosted, open-source visual website builder (AGPL) that exports clean HTML/CSS, plugs into headless CMSs, and runs via Docker, Node.js, CapRover or a desktop app.
smartsites-editor-platformSelf-hosted open-source website builder with drag-and-drop CMS and visitor analytics, built on Django and React.
TYPO3 CMSSelf-hosted, open-source PHP CMS for enterprise sites: multisite and multilingual content, versioning, granular permissions, extensions, Composer install.
Vvveb CMSSelf-hosted open-source PHP CMS with a visual drag-and-drop builder, multi-site and multi-language support, headless GraphQL/REST APIs and built-in ecommerce.
webinyAn open-source, self-hosted headless CMS that runs serverless in your own AWS account, with a GraphQL API, drag-and-drop page builder, file manager and multi-tenancy.
webstudioOpen-source visual website builder pitched as an alternative to Webflow: every CSS property, design tokens, headless CMS data, and self-hosted export of built sites.
YcodeYcode is a self-hosted, open-source visual website builder and CMS with AI-assisted editing via MCP. Runs on Vercel with Supabase, free tier has unlimited pages and CMS.
ApostropheA full-featured, open-source content management framework built with Node.js that empowers organizations by combining in-context editing and headless architecture in a full-stack JS environment.
btwA self-hosted, open-source personal website builder for blogs and notes, pitched as a Medium alternative, run with Docker Compose and PostgreSQL.



0 comments