Static Site Generator

swege – lightweight static website generator

swege is a lightweight static website generator that converts Markdown documents into HTML pages. It uses the Discount Markdown library to process content and a configuration file to define how the resulting website is organised. The application is aimed at users who prefer maintaining website content as ordinary text files rather than editing pages through a content management system.

A distinguishing capability is incremental site generation. Instead of regenerating every page whenever a change is made, swege can identify files requiring an update and process only the necessary content. A complete rebuild is also available when required. Page titles can be derived directly from Markdown headings or specified independently, giving authors control over how individual documents appear in the generated website. swege has a compact implementation and a straightforward command-line workflow.

This is free and open source software.

Key Features

  • Generate static HTML websites from Markdown documents.
  • Use the Discount library to convert Markdown content into HTML.
  • Perform incremental updates when source content changes.
  • Support complete site regeneration through a rebuild command.
  • Maintain a manifest to identify files requiring regeneration.
  • Configure website settings through a swege.cfg file.
  • Specify the destination directory for generated website files.
  • Derive page titles from the first line of Markdown documents.
  • Override the default page title using an explicit title field.
  • Allow pages to omit their generated title by leaving the first line empty.
  • Support websites containing multiple Markdown documents.
  • Cross-platform support – runs on Linux, FreeBSD and macOS.

Website: github.com/sakhmatd/swege
Support:
Developer: Sergei Akhmatdinov
License: Apache License 2.0

swege is written in C. Learn C with our recommended free books and free tutorials.


Related Software

C Static Site Generators
blogcBlog compiler that's compatible with make
sblgStatic blog utility merging XML articles and templates in a number of ways
HousecatStatic site generator with an intentionally simple interface
mkwsSimple static site generator using sh as a templating language
KevlarBatteries-included zero-dependency static site generator
swegeUses the Discount library to build a website from a set of Markdown files
BonoboDeliberately lightweight static blog generator
bloggyMinimalist 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