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)
ShockyUses the kotlinx.html DSL to define page layouts programmatically
DC2FType-safe website generator
KotaoSimple static site generator

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted