Static Site Generator

m4ke – minimalist static site generator

m4ke is a minimalist static site generator designed for developers who want to maintain a website without learning a dedicated publishing framework. It combines the m4 macro processor with Make to transform locally maintained source documents into HTML.

Rather than introducing a separate markup format, the generator allows authors to use HTML directly within their content, supplemented by CSS and JavaScript where required. A filename-based convention distinguishes dated blog entries from standalone pages, allowing both types of content to coexist within the same source directory. The project includes example content and templates that provide a starting point for constructing a personal website or blog.

This is free and open source software.

Key Features

  • Transform m4 source documents into static HTML files using macro expansion.
  • Identify blog posts through filenames containing publication dates and post identifiers.
  • Support standalone pages using a separate numbered filename convention.
  • Automatically populate a dedicated page with an index of published blog posts, excluding standalone pages.
  • Generate an XML sitemap containing published posts.
  • Generate an RSS feed for blog subscriptions.
  • Define individual post titles, subtitles, timestamps and identifiers using macros.
  • Share common document structures through reusable header and footer templates.
  • Customise template content with values defined in individual posts.
  • Copy specified static assets, including stylesheets, into the generated website.
  • Configure the website’s base URL at build time.
  • Support containerised website generation using Docker with separate mounted input and output directories.

Website: github.com/gaurangsinha/m4ke
Support:
Developer: Gaurang Sinha
License: MIT License


Related Software

Make Static Site Generators
wpwmm4Web Page With Make and M4
SakeSimple static site generator built with make
makeblogLightweight blogging tool built for fast publishing and simple upkeep
naif-blog-engineMinimal blog engine that turns plain text into clean, portable pages
m4keMinimalist publishing tool focused on speed, clarity and easy deployment

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