Skip to main content

incorporeal-cms

A lightweight static site generator for Markdown-based sites.

Installation and Usage

Something like the following should suffice:

% virtualenv --python=python3.10 env-py3.10
% source env-py3.10/bin/activate
% pip install -U pip
% pip install incorporeal-cms
% incorporealcms-build ./path/to/instance ./path/to/output/www/root

This will generate the directory suitable for serving by e.g. nginx.

Creating a Site

Put content, notably Markdown content, inside ./your-instance/pages/ and when you are ready, run the build command above. When you run incorporealcms-build, the following happens:

  • Markdown files (ending in .md) are rendered via Python-Markdown as .html files and output to the static site directory. The .md files are also copied there, though this behavior may be toggleable in the future.
    • Directory paths (e.g. a request to /dir/) can be served via a /dir/index.md file, which will generate /dir/index.html, with the appropriate web server configuration to use index.html for directory listings.
  • Symlinks to files are retained and mirrored into the output directory, and handled per the web server's configuration, whatever it is.
  • All other files are copied directly, so images, text files, etc., can be referenced naturally as URLs.

Configuration

The application is further configured within ./your-instance/config.json. See incorporealcms/config.py for more information about what you can tweak. Just adding stuff to Config.py/config.json yourself is trivial if all you need to do is to refer to it in templates. I've tried to keep the software agnostic to my personal domains, logos, etc.

To do some basic personalization, there are some settings you are probably interested in tweaking, by specifying new values in incorporealcms-instance/config.json:

  • TITLE_SUFFIX is appended to the title of every page, separated from other title content by a dash.
  • CONTACT_EMAIL is referred to in error templates.
  • FAVICON supplies the image used in browser tabs and that kind of thing.

Development and Contributing

Improvements, new plugins, and etc. are all welcome.

I'm reachable on the fediverse, over email, or on Discord, but if you're looking for an option I prefer, I maintain an IRC channel, #incorporeal-cms, on my IRC network, Randomus if you would like a place to hang out and discuss issues and features and whatnot.

Author and Licensing

Written by and copyright (C) 2025 Brian S. Stephan (bss@incorporeal.org).

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

Content Output

As per the GPL FAQ entry, the generated output (HTML, Atom/RSS feeds, etc.) of this program is not subject to the GPLv3 license, aside from cases where e.g. JavaScript source code, CSS files, and the like are copied into the output directory verbatim, in which case their license applies, naturally, to only those files.

Metadata

Release files for incorporeal-cms 2.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for incorporeal-cms 2.2.1
File Size Uploaded Provenance Actions
incorporeal_cms-2.2.1.tar.gz 103.8 kB Without provenance Details for incorporeal_cms-2.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for incorporeal-cms 2.2.1
File Interpreter ABI Platform Actions
incorporeal_cms-2.2.1-py3-none-any.whl Python 3 none any Details for incorporeal_cms-2.2.1-py3-none-any.whl

Total release size: 143.2 kB

Release files / incorporeal_cms-2.2.1.tar.gz

Download URL incorporeal_cms-2.2.1.tar.gz
Size 103.8 kB
Tags Source
SHA-256 checksum
How to use checksums
aa76a52b0bf11976a880ad74a20fe369d0e8fd782a9d6a9e93cd075f699374d7
BLAKE2b-256 checksum
How to use checksums
80c5e062fadb790fd2f6a73604b2d2e2f77166632a1eaf462a3f7f1b93df1e5b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.11

Release files / incorporeal_cms-2.2.1-py3-none-any.whl

Download URL incorporeal_cms-2.2.1-py3-none-any.whl
Size 39.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bb4fbb2af1e72180b4ea064a28916c0cc6f028dc21e354539b7ad1c1ead6d16c
BLAKE2b-256 checksum
How to use checksums
7828ec640394a8b6c8dd581939e5fb8ecb878aba12e9bbe98574144761c9b510
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.11

Security for incorporeal-cms 2.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page