Static Site Generator

DC2F – type-safe website generator

DC2F is a type-safe website generator written in Kotlin.

Developers define content structures using Kotlin interfaces or abstract classes, while site content is stored in hierarchical directories and YAML files.

The software emphasizes semantic content, consistent handling of links and resources, early detection of incomplete data, and explicit configuration. It uses kotlinx.html for templates and supports Markdown and Pebble for rich-text content.

This is free and open source software.

Key Features

  • Defines strongly typed content models with Kotlin interfaces and classes.
  • Reads structured website content from YAML files and directories.
  • Detects incomplete or inconsistent content during parsing.
  • Renders type-safe HTML templates using kotlinx.html.
  • Supports Markdown and Pebble rich-text content.
  • Provides addressable content paths for pages, properties and assets.
  • Processes images with resizing and format conversion.
  • Includes Sass preprocessing and sitemap generation.
  • Can use Git history to determine content modification dates.
  • Supports caching to speed up repeated processing.

Website: github.com/dc2f/dc2f.kt
Support:
Developer: Herbert Poul
License: Apache License 2.0

DC2F is written in Kotlin. Learn Kotlin with our recommended free books and free tutorials.


Related Software

Kotlin Static Site Generators
OrchidBuild and deploy beautiful documentation sites that grow with you
KakyllStatic site generator similar to Hakyll (Haskell) or Jekyll (Ruby)
KotaoSimple static site generator

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted