Fast and lean tool that turns Markdown and AsciiDoc files into a website.
Renders .md or .adoc files, interprets frontmatter like title and date, and Iris builds HTML, a sitemap, and feeds.
Iris can also serve static files (images, HTML) and render .md or .adoc on the fly, to show your files in a browser while you write.
- builds a site from a folder of source files (
ssg) - shows files live in a browser while you edit (
serve) - makes link lines for an
index.md(index)
Iris keeps things small.
It is for personal sites, blogs, and docs.
It depends on pandoc for Markdown and asciidoctor for AsciiDoc to render those file types.
- Converts Markdown and AsciiDoc to HTML with pandoc and asciidoctor
- Reads frontmatter (title, date, keywords, authors) from source files
- Takes publication and update dates from git history
- Builds RSS, Atom, and sitemap files
- Converts and renders in parallel, using all CPU cores
- Picks which files to process with include and exclude patterns
- Keeps URLs clean, without
.htmlsuffixes - Shows email comments (
.emlfiles) on post pages - While serving, lists frontmatter files as a sortable, filterable board in the browser, and creates new ones from a form
For building or installing from a checkout, Go 1.25, make, curl, and sha256sum are needed. Generate the ignored assets first:
go generate ./...
go install .Or build a local binary:
make build # needs Go, pandoc and asciidoctor on PATH
./iris ssg -hRun a subcommand with -h to see its flags:
iris ssg -h
iris serve -h
iris index -h
iris init -hTypical steps:
iris init
iris ssg ./content ./public
iris serve /home/user/