Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A minimal Django-based app framework for content sites that renders Markdown files into HTML with automatic routing.
Coltrane is a minimal app framework for content sites built on Python and Django that renders Markdown files into a routed HTML website with automatic sitemap and RSS generation. It takes a content directory of Markdown files plus optional JSON data files as input and outputs a fully routable website, including automatically generated sitemap.xml and rss.xml. The project is maintained by adamghill, available on PyPI, and documented at coltrane.readthedocs.io.
Coltrane is a minimal app framework for content sites built on Python and Django that renders Markdown files into HTML with automatic URL routing based on the filesystem. It takes a content directory of Markdown files plus optional JSON data files as input and outputs a fully routable website, including automatically generated sitemap.xml and rss.xml. The project is maintained by adamghill, available on PyPI, and documented at coltrane.readthedocs.io.
coltrane create generates a Dockerfile and gunicorn.conf.py for production hosting.coltrane record command generates static HTML files for the entire site, enabling hosting on any static file server.coltrane create followed by coltrane play, edit content/index.md, and see changes live in the browser at localhost:8000.Coltrane maps the content directory structure directly to URL routes: content/index.md becomes the homepage, content/about.md becomes /about/, and a nested file becomes a nested path. When a request arrives, it first looks for a matching Markdown file; if none is found, it falls back to rendering HTML templates from the templates directory. The development server includes live reload via django-browser-reload, and an optional coltrane record command exports the whole site as static HTML.
Yes, sitemap.xml and rss.xml are created automatically for the content on the site, with no extra configuration needed.
Yes, Coltrane can be integrated as a standard third-party Django app to render Markdown content within a regular Django project.
No. The quick-start workflow uses only Markdown and JSON files; there is no database step. This makes it easy to version content and deploy.
Yes, if no Markdown file matches a URL, Coltrane automatically tries to serve HTML templates from the templates directory, so you can mix Markdown and template-driven pages.
