selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

Self-host Lichen-Markdown

1.5.0

Lightweight flat-file CMS for Markdown-built static sites

ReleaseOpen SourceMIT
docker run -d -p 8000:80 -v $(pwd)/src:/var/www/html lichen-markdown:latest
Updatedlast year
Setup difficultyModerate
Port
80 (Apache serving the website and the /cms admin UI inside the container (run-dev.sh maps host port 8000 to it))
Overview of the Lichen-Markdown CMS admin boxSplit-pane Markdown editor with live previewFile navigation for pages, folders and uploaded media

What is Lichen-Markdown?

Lichen-Markdown alternatives

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.

How to configure Lichen-Markdown

  • NEW_VERSIONVariable in lib/update.sh that must be set to the new release number when publishing a release.
  • AuthUserFileApache directive written into cms/.htaccess by the installer, pointing at the htpasswd file (kept outside the web root) that guards the admin interface.
  • auth_basic_user_fileNginx directive protecting the /cms/ location; must be pointed at the htpasswd file created for the admin user.
  • --dont-create-userOptional third argument for lib/install.sh that skips the interactive admin-user creation step.
  • __INSTALL_DIR__Placeholder in docs/nginx.conf that you replace with the path of your lichen-markdown project.

More in Website Builder

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…