Static Site Generator

Slamhaus – static site generator with WebAssembly integration

Slamhaus is a static site compiler designed with game developers in mind. It combines Markdown-based content authoring with a declarative interface language for creating interactive browser applications without requiring developers to write JavaScript.

Conventional Markdown documents generate static HTML, while extended Slam documents can define interactive controls and executable WebAssembly modules. The compiler generates the necessary event bindings, browser interfaces and module initialisation code. Its accompanying software development kit provides access to browser facilities without imposing a particular rendering engine.

This is free and open source software.

Key Features

  • Support GitHub Flavored Markdown with YAML front matter.
  • Declarative Slam UI language with typed properties and named interface components.
  • Compile embedded executable code into WebAssembly using Emscripten.
  • Automatically generate accessible HTML and event bindings.
  • Reusable page partials and shared static resources.
  • Support interactive canvas applications with lifecycle callbacks.
  • Browser interfaces for audio, gamepads, touch input, storage, clipboard access and sensors.
  • Generate Progressive Web App resources, sitemaps and optional feeds.
  • Configurable deployment base paths and readable website URLs.
  • Build-time syntax highlighting using Tree-sitter.
  • Language Server Protocol support with completion, hover information, diagnostics and formatting.
  • Source validation and automatic formatting commands.
  • Local development server and automatic rebuilding.
  • Atomic replacement of generated website output.
  • Cross-platform support – runs on Linux and Windows.

Website: github.com/bitboyb/Slamhaus
Support:
Developer: Syed Assad Abbas Bokhari
License: MIT License

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


Related Software

C++ Static Site Generators
Niftgit-like and LaTeX-like site manager
MiziDesigned to be lightweight, minimalistic and convenient.
sudo_siteTiny static site and blog generator in only 120 lines of code
BakeSimple templated blog generator supporting custom feeds
violetDeliberately minimal static site generator
SlamhausConverts Markdown and its extended Slamhaus syntax
The Great Site GeneratorA very basic static site generator
blogcppStatic blog generator which is not actively maintained

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