Violet is a deliberately minimal static site generator that prioritises predictable file organisation and template selection. It allows developers to retain control over the structure of their websites rather than relying on complex conventions that determine how individual source files are rendered.
The generator derives output paths primarily from the source directory structure. Authors specify the appropriate content type and layout through document metadata, while templates provide facilities for constructing indexes, navigation and other generated resources.
This is free and open source software.
Key Features
- Convert Markdown documents into HTML using a strict parser that reports invalid markup.
- JSON-based front matter for document metadata.
- Reusable templates using the Jinja-inspired Iris template engine.
- Predictable template selection based on explicitly defined content types and layouts.
- Theme support with a limited hierarchy of template lookup locations.
- Generate paginated page lists for large content collections.
- File iteration functions for constructing custom content indexes.
- Manually compose RSS and Atom feeds using template functions.
- Generate URL-friendly paths while preserving the source directory hierarchy.
- Optional local development server with configurable port.
Website: github.com/LunarWatcher/violet
Support:
Developer: Olivia (Zoe)
License: MIT License
Violet is written in C++. Learn C++ with our recommended free books and free tutorials.
Related Software
| C++ Static Site Generators | |
|---|---|
| Nift | git-like and LaTeX-like site manager |
| Mizi | Designed to be lightweight, minimalistic and convenient. |
| sudo_site | Tiny static site and blog generator in only 120 lines of code |
| Bake | Simple templated blog generator supporting custom feeds |
| violet | Deliberately minimal static site generator |
| Slamhaus | Converts Markdown and its extended Slamhaus syntax |
| The Great Site Generator | A very basic static site generator |
| blogcpp | Static blog generator which is not actively maintained |
Read our verdict in the software roundup.
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. |


Please read our Comment Policy before commenting.