package soupault

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

Install

Dune Dependency

Authors

Maintainers

Sources

1.6.zip
md5=3bcb2284a96ead3799f2b4a84ae14658
sha512=8f9c21b62aecb24311157a5f56518355a372a2c146640062cbcbac425fc41dba7c7d40c12a9149b8671e2ae6e1147062c1a154b6e88c7f112d796d1f71818b6f

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: 03 Dec 2019

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
  2. tsort < "2.0.0"
  3. mustache < "3.2.0"
  4. spelll >= "0.3"
  5. calendar >= "2.00"
  6. stringext
  7. containers
  8. ocaml-monadic build & >= "0.4.0"
  9. ezjsonm
  10. re >= "1.7.2"
  11. fmt
  12. logs
  13. fileutils
  14. toml < "6.0"
  15. lambdasoup
  16. dune >= "1.9.0"
  17. ocaml >= "4.07"

Dev Dependencies

None

Used by

None

Conflicts

None