Overview of Soupault HTML manipulation
mainSoupault is an HTML manipulation tool that functions as either a static site generator or an HTML post-processor for existing websites. It operates on the HTML element tree, allowing for tasks like injecting new HTML into complete pages or generating tables of contents.
Unlike many static site generators, Soupault does not use front matter. Instead, it extracts metadata directly from HTML using CSS3 selectors. This allows it to index hand-written static pages as structured content.
Key features include:
- Extensibility: Supports page preprocessors (e.g., Markdown to HTML), asset processors (e.g., Sass/Less compilers), external program piping, and Lua plugins.
- Durability: Distributed as a statically-linked binary with no dependencies.
- Flexibility: Highly configurable via TOML, with page processing hooks and Lua plugin support.