16 breaking releases

Uses new Rust 2024

0.19.0 May 18, 2026
0.17.0 Apr 14, 2026
0.16.0 Jan 18, 2026
0.12.0 Dec 30, 2025
0.2.0 Nov 30, 2025

#52 in #static-site-generator

AGPL-3.0

5MB
4.5K SLoC

Rust 4K SLoC // 0.0% comments JavaScript 838 SLoC // 0.1% comments Shell 4 SLoC // 0.5% comments

MIT Latest Version docs Chat on Miaou

ddoc

ddoc is a markdown based static site generator.

Complete documentation at https://dystroy.org/ddoc

Usage overview

Create a directory, then move to it

mkdir website & cd website

Initialize the site:

ddoc --init

This creates:

  • a .gitignore file, which eases inclusion of your site in a git managed project
  • a ddoc.hjson file, holding the basic properties and navigation
  • a src folder, for your markdown files, CSS style sheets and images
  • a plugins folder, with default plugins

To build your site, run

ddoc

This updates a site directory, whose content can be sent to your server.

To test it locally, run

ddoc --serve

Then have a look at the documentation to improve your site.

Dependencies

~26–44MB
~792K SLoC