All Projects → adamghill → coltrane

adamghill / coltrane

Licence: MIT license
A simple content site framework that harnesses the power of Django without the hassle.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to coltrane

Hexo Theme Doc
A documentation theme for the Hexo blog framework
Stars: ✭ 222 (+289.47%)
Mutual labels:  static-site-generator
Statik
Multi-purpose static web site generator aimed at developers.
Stars: ✭ 249 (+336.84%)
Mutual labels:  static-site-generator
vscode-front-matter
Front Matter is a CMS running straight in Visual Studio Code. Can be used with static site generators like Hugo, Jekyll, Hexo, NextJs, Gatsby, and many more...
Stars: ✭ 962 (+1587.72%)
Mutual labels:  static-site-generator
Emacs Easy Hugo
Emacs major mode for managing hugo
Stars: ✭ 235 (+312.28%)
Mutual labels:  static-site-generator
Serum
A simple static website generator written in Elixir
Stars: ✭ 246 (+331.58%)
Mutual labels:  static-site-generator
Statiq.framework
A flexible and extensible static content generation framework for .NET.
Stars: ✭ 251 (+340.35%)
Mutual labels:  static-site-generator
Staticjinja
Minimalist Python library for building static websites with Jinja
Stars: ✭ 218 (+282.46%)
Mutual labels:  static-site-generator
grammer-blog
My personal blog about programming or random stuff. Made using Vue JS 2 and Gridsome as a jamstack framework for Vue JS. Hosted on vercel
Stars: ✭ 14 (-75.44%)
Mutual labels:  static-site-generator
Junglejs
The Jamstack static site framework for Svelte
Stars: ✭ 246 (+331.58%)
Mutual labels:  static-site-generator
Next.js
The React Framework
Stars: ✭ 78,384 (+137415.79%)
Mutual labels:  static-site-generator
Docfx
Tools for building and publishing API documentation for .NET projects
Stars: ✭ 2,873 (+4940.35%)
Mutual labels:  static-site-generator
Loconotion
📄 Python tool to turn Notion.so pages into lightweight, customizable static websites
Stars: ✭ 237 (+315.79%)
Mutual labels:  static-site-generator
Gatsby
Build blazing fast, modern apps and websites with React
Stars: ✭ 51,925 (+90996.49%)
Mutual labels:  static-site-generator
Atlas
The Hugo boilerplate we use for our projects.
Stars: ✭ 232 (+307.02%)
Mutual labels:  static-site-generator
presta
Minimalist serverless framework for SSR, SSG, serverless APIs and more.
Stars: ✭ 89 (+56.14%)
Mutual labels:  static-site-generator
Abell
a Static-Site-Generator for JavaScript Developers. Build fast, vanilla websites in the syntax you almost already know 🌀
Stars: ✭ 221 (+287.72%)
Mutual labels:  static-site-generator
Shins
Shins development continues at
Stars: ✭ 250 (+338.6%)
Mutual labels:  static-site-generator
wowchemy-hugo-themes
🔥 Hugo website builder, Hugo themes & Hugo CMS. No code, easily build with blocks! 创建在线课程,学术简历或初创网站。#OpenScience
Stars: ✭ 6,891 (+11989.47%)
Mutual labels:  static-site-generator
sitio
imperative static site generator powered by React and browserify
Stars: ✭ 49 (-14.04%)
Mutual labels:  static-site-generator
Hugo
The world’s fastest framework for building websites.
Stars: ✭ 55,899 (+97968.42%)
Mutual labels:  static-site-generator

coltrane

A simple content site framework that harnesses the power of Django without the hassle 🎵

PyPI PyPI - Downloads GitHub Sponsors

All Contributors

📖 Complete documentation: https://coltrane.readthedocs.io

📦 Package located at https://pypi.org/project/coltrane/

Features

  • Can either generate a static HTML site, be deployed as a standalone Django site, or integrated into an existing Django site
  • Reads markdown content and renders it in HTML
  • Can use data from JSON files in templates and markdown content
  • Automatic generation of sitemap.xml and rss.xml files
  • Live re-rendering of markdown and data when markdown or JSON data files are saved with the magic of https://github.com/adamchainz/django-browser-reload
  • All the power of Django templates, template tags, and filters inside markdown files
  • Can include other Django apps for additional functionality
  • Custom Template tags are supported and are enabled automatically for use in markdown content
  • Opinionated standalone Django project setup where deployment (including static files) just works "out of the box"

Quick start for a new static site

  1. mkdir new-site && cd new-site to create a new folder
  2. poetry init --no-interaction --dependency 'coltrane:<1' && poetry install to create a new virtual environment and install the coltrane package
  3. poetry run coltrane create to create the folder structure for a new site
  4. Update content/index.md
  5. poetry run coltrane play for a local development server
  6. Go to http://localhost:8000 to see the updated markdown rendered into HTML
  7. poetry run coltrane record to output the rendered HTML files

Optional installation

  • Enable watchman for less resource-intensive autoreload on MacOS: brew install watchman

How to add new content

Add markdown files or sub-directories with markdown files to the content directory and they will automatically have routes created that can be requested.

Example markdown files

content/index.md
content/about.md
content/articles/this-is-the-first-article.md

poetry run coltrane play will serve these URLs

  • http://localhost:8000/ which serves HTML generated from the /content/index.md file
  • http://localhost:8000/about/ which serves HTML generated from the /content/about.md file
  • http://localhost:8000/articles/this-is-the-first-article/ which serves HTML generated from the /content/articles/this-is-the-first-article.md file
  • http://localhost:8000/not-there/ will 404

poetry run coltrane record will create these HTML files for a static site

  • output/index.html
  • output/about/index.html
  • output/articles/this-is-the-first-article/index.html

Read all of the documentation at https://coltrane.readthedocs.io.

Contributors

Thanks goes to these wonderful people (emoji key):

Tobi DEGNON
Tobi DEGNON

⚠️ 💻

This project follows the all-contributors specification. Contributions of any kind welcome!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].