Python Static Site Generator

Open-source Python projects categorized as Static Site Generator

Top 23 Python Static Site Generator Projects

  • MkDocs

    Project documentation with Markdown.

    Project mention: Build Your Own Linux with Fedora | | 2023-02-08
  • Lektor

    The lektor static file content management system

    Project mention: Static Site Generator Request | | 2022-09-03
  • Sonar

    Write Clean Python Code. Always.. Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • Cactus

    Static site generator for designers. Uses Python and Django templates.

  • Nikola

    A static website and blog generator

    Project mention: Trying to work around a Jekyll site-building tutorial without using Jekyll | | 2023-01-29

    You can - you'd basically just create a python script that parses your HTML/CSS files and replaces strings with values from your YAML. However I wouldn't recommend that unless you're just using this as an opportunity to learn Python. If you want to standup a real site and you want to use python, I'd recommend a Python static site generator like Pelican or Nikola.

  • makesite

    Simple, lightweight, and magic-free static site/blog generator for Python coders

    Project mention: Basic blog based on static markdown files? | | 2022-06-14
  • Hyde

    A Python Static Website Generator

  • portray

    Your Project with Great Documentation.

    Project mention: Python toolkits | | 2022-07-15

    Sphinx along with MyST-parser to write documentation in markdown. I recently discovered portray which seems like a nice alternative as it supports markdown by default for both generic documentation and docstring in modules, class, methods and functions.

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

  • loconotion

    📄 Python tool to turn pages into lightweight, customizable static websites

    Project mention: Looking for site generator | | 2022-07-14

    Most of services tried to take money from me for custom domains, sitemap, theme etc. Sorry, I don't have enough money for that. 2. nextjs-notion-starter-kit This was the second for me. ① Cannot handle path well It is OK to map your page to /one but it throws 404 error when path is /one/two or /one/two/three. Since I have to map URL like /category1/subcategory2/sub-subcategory3/sub-sub-subcategory4/page5, this is serious problem. Other than that, it seems quite nice. 3. loconotion ① Does not sort pages in directories I tested this without mapping pages to path, but it seems it doesn't sort pages in directories when processing Notion pages. I found python script that sort those pages, but it doesn't support Windows, the only OS I use for general use. ② Slow generation If my site have few pages, it might be good choice, but my site has ~100 pages and a lot of pages will be added in near future. If it converts every pages whenever I launches it, it would take a lot of time. 4. Fruition I think it is just converting Notion page URL into mapped URL. Kind of nice, but still slow as Notion's shared page is. But I think it is doing some 'magic'. I didn't know that CF Worker can do such job. I'm currently using this.

  • tg-archive

    A tool for exporting Telegram group chats into static websites like mailing list archives.

  • m.css

    A no-nonsense, no-JavaScript CSS framework, site and documentation theme for content-oriented websites

    Project mention: Limiting Doxygen content width | | 2022-10-20

    Aside from custom CSS stylesheets, there are also plenty of post-processing tools that can take (usually) the xml output of doxygen and output something more stylized. Same examples include Mosra's m.css, or using Sphinx.

  • Tinkerer

    Python blogging engine

  • django-distill

    Minimal configuration static site generator for Django

    Project mention: Generate Independent Assets | | 2022-07-17

    There's also django-distill which looks a bit simpler.

  • Fussel

    A static photo gallery generator

    Project mention: Family Photo Archive | | 2023-01-23


  • mkdocs-material-boilerplate

    MkDocs Material Boilerplate (Starter Kit) - Deploy documentation to hosting platforms (Netlify, GitHub Pages, GitLab Pages, and AWS Amplify Console) with Docker, pipenv, and GitHub Actions.

    Project mention: Working docker-compose.yml file for mkdocs-material? | | 2023-01-29

    The Github repose doesn't have a compose file, and I came across another one here. Still no luck.

  • markata

    A plugins all the way down static site generator written in python. Plugins all the way down means that you can completely change the behavior of how it works by swapping plugins, installing new ones, or creating your own all in python.

    Project mention: Who has an website idea to build #hacktoberfest | | 2022-10-06

    Once you have something built, and hosted in the wild, submit it to the project-gallery. There are instructions inside issue#78.

  • github-flavored-markdown-to-html

    Convert markdown to HTML using the GitHub API and some additional tweaks with Python. Comes with full formula support and image compression.

  • coltrane

    A simple content site framework that harnesses the power of Django without the hassle. (by adamghill)

    Project mention: Why I built another static site generator: A love story | | 2022-03-19

    I would love for you to try it out for your next project and star the coltrane repo if it looks useful!

  • barely

    barely is a lightweight, but highly extensible static site generator written in pure python.

    Project mention: When a programmer decides to launch a new blog. | | 2022-11-30

    shameless self plug

  • dirmaker

    dirmaker is a simple, opinionated static site generator for quickly publishing directory websites.

  • betty

    Betty is a static site generator for Gramps and GEDCOM family trees 👵 (by bartfeenstra)

  • InternetGuzeldir

    Source code of Static site generator that takes a Google spreadsheet and builds dmoz like website from it. Written with Python3.


    My personal blog. Built using Pelican (a static site generator)

  • htmd

    Write Markdown and Jinja2 templates to create a website

    Project mention: I finally learned how to include non code files in zip packages. | | 2022-03-19
  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-02-08.

Python Static Site Generator related posts


What are some of the best open-source Static Site Generator projects in Python? This list will help you:

Project Stars
1 MkDocs 15,828
2 Lektor 3,649
3 Cactus 3,438
4 Nikola 2,396
5 makesite 1,679
6 Hyde 1,605
7 portray 824
8 loconotion 627
9 tg-archive 414
10 m.css 357
11 Tinkerer 306
12 django-distill 272
13 Fussel 170
14 mkdocs-material-boilerplate 91
15 markata 72
16 github-flavored-markdown-to-html 70
17 coltrane 61
18 barely 40
19 dirmaker 40
20 betty 39
21 InternetGuzeldir 34
22 9
23 htmd 2
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives