package soupault

  1. Overview
  2. Docs
Static website generator based on HTML rewriting

Install

Dune Dependency

Authors

Maintainers

Sources

1.8.0.zip
md5=26bfb9fd3569fb6a8ce36c8f5dc8f762
sha512=344a440b00e30ba6ecd5e038645d8929fe41deb7e178c25290e9eec41d09cc53352d84aef8c580d44ae700ee5df5c4362634ef8fda54d843c526dab255a42765

Description

A website generator that works with page element tree rather than text and allows you to manipulate pages and retrieve metadata from existing HTML using arbitrary CSS selectors.

Built-in functionality includes setting page title, generating ToC and footnotes, inserting files/HTML snippets or output of external programs into pages etc.

Metadata extracted from pages can be rendered using Mustache templates or exported to JSON and processed with an external script.

Extensible with Lua (2.5) plugins. Can also be used as an HTML processor for existing pages.

Published: 17 Jan 2020

README

soupault

Soupault is a static website generator based on HTML rewriting rather than template processing. It is based on the lambdasoup library and named after the French dadaist and surrealist poet Philippe Soupault.

In a startup pitch style, it's a website generator for Markdown haters.

Visit https://soupault.neocities.org for details.

Building from source

Installing as an opam package:

opam pin add git+https://github.com/dmbaturin/soupault

Dependencies (17)

  1. lua-ml >= "0.9.1"
  2. tsort < "2.0.0"
  3. mustache < "3.2.0"
  4. spelll >= "0.3"
  5. calendar >= "2.00"
  6. stringext
  7. containers
  8. ezjsonm
  9. re >= "1.7.2"
  10. fmt
  11. logs
  12. fileutils
  13. toml < "6.0"
  14. markup >= "0.8.2"
  15. lambdasoup
  16. dune >= "2.0.0"
  17. ocaml >= "4.08"

Dev Dependencies

None

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.