1+ opam-version: "2.0"
2+ synopsis: "Static website generator based on HTML rewriting"
3+ description: """\
4+ A website generator that works with page element tree rather than text
5+ and allows you to manipulate pages and retrieve metadata from
6+ existing HTML using arbitrary CSS selectors.
7+
8+ With soupault you can:
9+
10+ * Generate ToC and footnotes.
11+ * Insert file content or an HTML snippet in any element.
12+ * Preprocess element content with external programs (e.g. run `<pre>` tags through a highlighter)
13+ * Extract page metadata (think microformats) and render it using a Jingoo template or an external script.
14+ * Export extracted metadata to JSON.
15+
16+ Soupault is extensible with Lua (2.5) plugins and provides an API for element tree manipulation,
17+ similar to web browsers.
18+
19+ The website generator mode is optional, you can use it as post-processor for existing sites."""
20+ maintainer: "Daniil Baturin <
[email protected] >"
21+ authors: "Daniil Baturin <
[email protected] >"
22+ license: "MIT"
23+ homepage: "https://www.soupault.app"
24+ bug-reports: "https://github.com/PataphysicalSociety/soupault/issues"
25+ depends: [
26+ "ocaml" {>= "4.13"}
27+ "dune" {>= "2.0.0"}
28+ "lambdasoup" {>= "1.0.0"}
29+ "markup" {>= "1.0.0-1"}
30+ "otoml" {>= "1.0.4"}
31+ "fileutils" {>= "0.6.3"}
32+ "logs" {>= "0.7.0"}
33+ "fmt" {>= "0.8.9"}
34+ "re" {>= "1.9.0"}
35+ "ezjsonm" {>= "1.2.0"}
36+ "yaml" {>= "2.0.0"}
37+ "containers" {>= "3.9"}
38+ "odate" {>= "0.6"}
39+ "spelll" {>= "0.4"}
40+ "base64" {>= "3.0.0"}
41+ "jingoo" {>= "1.4.2"}
42+ "tsort" {>= "2.1.0"}
43+ "lua-ml" {>= "0.9.3"}
44+ "camomile" {>= "2.0.0"}
45+ "digestif" {>= "0.7.3"}
46+ ]
47+ conflicts: [
48+ "result" {< "1.5"}
49+ ]
50+ build: [
51+ ["dune" "subst"] {dev}
52+ ["dune" "build" "-p" name "-j" jobs]
53+ ]
54+ dev-repo: "git+https://github.com/PataphysicalSociety/soupault"
55+ url {
56+ src:
57+ "https://codeberg.org/PataphysicalSociety/soupault/archive/4.5.0.tar.gz"
58+ checksum: [
59+ "md5=2beb0355beb34b559c6733db816c1eed"
60+ "sha512=faef40a3d2ad28a3b591a28c1e2b14a0145a28c4fc29442f05df2a481457713943afeb0ec5cba148695e78c92e9bc3387fc4e0b63f1ff05e753d8550916188e4"
61+ ]
62+ }
0 commit comments