Cork

screenshot of Cork

Minimalist personal static site generator

Overview

Cork is a minimalist personal static site generator that is designed to fulfill the specific needs of the author. It is not intended to be a general purpose solution and may lack certain features commonly found in other static site generators. Users are encouraged to use Jekyll or Hugo if they require a more feature-rich solution.

Features

  • Markdown and Mustache support: Pages can be written in Markdown and templated with Mustache. HTML pages are also supported, but the focus is on Mustache templates.
  • YAML Front Matter: YAML front matter can be added to each Markdown file to define variables and values.
  • Minimal assumptions: The only requirements are to place the site in the "web/" directory and templates in the "web/templates/" folder. The rest of the site structure is up to the user.
  • Old School Themes: Unlike other static site generators, Cork does not have built-in support for themes. Users are responsible for adding their own CSS, JS, and templates.
  • Dart Scripting: Cork has native support for client-side scripting in Dart. Dart Web scripts will be automatically converted to Javascript.
  • Autogenerated Metadata: Cork provides some autogenerated metadata.

Summary

Cork is a minimalist static site generator that caters to the personal needs of the author. It supports Markdown and Mustache for content creation and templating, and YAML front matter for defining variables. The site structure is flexible, with minimal assumptions made by the generator. Users are responsible for adding their own CSS, JS, and templates for custom themes. Dart scripting is also supported. Overall, Cork is a lightweight and customizable solution for generating static websites.