Skip to content
tim-janikPublic

About

Fast and lean tool that turns Markdown and AsciiDoc files into a website on the fly

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

139 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Iris

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.

What it does

  • 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.

Features

  • 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 .html suffixes
  • Shows email comments (.eml files) on post pages
  • While serving, lists frontmatter files as a sortable, filterable board in the browser, and creates new ones from a form

Install

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 -h

Use

Run a subcommand with -h to see its flags:

iris ssg -h
iris serve -h
iris index -h
iris init -h

Typical steps:

iris init
iris ssg ./content ./public
iris serve /home/user/

About

Fast and lean tool that turns Markdown and AsciiDoc files into a website on the fly

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages