logo

πŸ’‘ What Makes Slamhaus Different?

🧠

Built Like a Game Engine

Slamhaus is architected with the same clarity and modularity you’d expect from a modern game engine. Every subsystem β€” parsing, rendering, templating, SEO β€” is designed for isolation and reusability. It avoids global state, favors explicit logic, and is cleanly written in C++17, making it easy to navigate and extend, even for large or unconventional projects.

🧬

No JavaScript? No Problem.

With Emscripten support, Slamhaus lets you write frontend behavior in C++ and compile it directly to WebAssembly. Want a button that runs a function or a form that returns live feedback? Use @script β€” Slamhaus auto-generates the glue code.

✍️

Markdown That Does More

Slamhaus extends the Markdown language itself β€” not with templates, but with expressive, human-readable tags. Define layouts with :section and :column. Add functional forms with ?input and ?button. Control metadata with $page and build interactivity with @script. It’s Markdown that writes HTML for you β€” smart, composable, and readable.

🎨 Slamhaus Features

Explore the core capabilities that make Slamhaus a fast, developer-friendly alternative to traditional site generators.


πŸ“ Markdown In β†’ Website Out

At the heart of Slamhaus is a simple promise: write Markdown, and get a complete HTML site β€” no templating language, no runtime. Just .slam, .smd, or .md files and a clean build output. You focus on your content and structure; Slamhaus handles the rest.


βš™οΈ Engineered in Modern C++

Unlike most static site tools that rely on scripting runtimes, Slamhaus is a compiled C++17 engine. This gives you speed, transparency, and control β€” especially for teams coming from game dev, systems programming, or embedded domains. The codebase is modular, familiar, and built for clarity.

:/section

🧩 Extended Markdown Syntax

Slamhaus turns Markdown into a layout and logic language with a clean set of custom tags:

  • :section for grouping and alignment
  • :column for responsive multi-column layouts
  • ?form and ?input for building interactive forms
  • !image, !video, !svg for rich media
  • $page and $site for page and global metadata

All fully parseable, all without leaving your Markdown editor.


🧠 WebAssembly-First Design

Slamhaus integrates seamlessly with WebAssembly via Emscripten. Write small C++ functions to handle events, then bind them to buttons, forms, or inputs with @script tags. Slamhaus compiles and wires everything for you β€” no JS glue code, no runtime hacks, just clean C++ compiled to fast, portable WASM.


🎨 Lightweight, Tweakable Themes

Forget bloat. Slamhaus includes a minimal CSS theme to get you started, then stays out of your way. All styles live in content/assets/theme/, and are merged + inlined at build time. Customize colors, spacing, breakpoints, or swap it out entirely β€” it's your call.

content/assets/theme/*.css


πŸ“ Free Forever β€” MIT Licensed

Slamhaus is licensed under MIT, meaning you can use it for personal, commercial, academic, or experimental projects with no restrictions. Fork it, brand it, modify it β€” it's yours.