Darkness

screenshot of Darkness

The noblest static site generator

Overview:

Darkness is a static website generator that allows users to create visually appealing web pages with ease. The generator supports various formatting options, including org mode and markdown, and offers features such as native flex galleries, math support, social embeds, drop caps, and automatic code highlighting. Darkness is also known for its performance, with each page taking less than 1ms to process on a 2020 M1 MacBook Pro. The generator is highly optimized and offers tunable parallelization parameters for optimal performance.

Features:

  • Org Mode and Markdown Formatting: Darkness supports both org mode and markdown formatting, providing flexibility for users to choose their preferred formatting style.
  • Native Flex Galleries: Users can create flexible image galleries with automatic blurry previews and lazy loading functionality.
  • Math Support: Darkness offers full math support, allowing users to include mathematical equations and formulas in their web pages.
  • Social Embeds: Users can easily embed social media content such as YouTube videos and Spotify playlists into their web pages.
  • Drop Caps: Darkness allows users to incorporate drop caps, which add a touch of elegance to the design of their web pages.
  • Automatic Code Highlighting: The generator automatically highlights code snippets, making it easier for readers to distinguish and understand the code.
  • Super Fast Performance: Darkness is highly optimized and processes each page in less than 1ms, even on resource-limited systems.
  • Tunable Parallelization Parameters: Users can optimize performance further by adjusting parallelization parameters using the -workers N flag and other available flags.

Summary:

Darkness is a powerful static website generator that offers a wide range of features for users to create visually appealing and functional web pages. Its support for org mode and markdown formatting, native flex galleries, math equations, social embeds, drop caps, and automatic code highlighting makes it an ideal choice for users looking to design unique and versatile websites. Additionally, Darkness's performance optimizations, including tunable parallelization parameters, ensure blazing-fast page rendering times. Installing Darkness is straightforward, either through the Go tool or by downloading pre-built binaries. Start building your Darkness website today and experience its power firsthand!