#convert-html #maud #template #html #html-templating

app html2maud-bin

html2maud is a library / cli to convert html to maud template code

13 releases

0.1.12 Nov 14, 2023
0.1.11 Oct 20, 2023
0.1.10 Jan 27, 2023

#1305 in Development tools

Download history 3/week @ 2024-02-23 2/week @ 2024-03-01 1/week @ 2024-03-08 1/week @ 2024-03-15 46/week @ 2024-03-29 15/week @ 2024-04-05

62 downloads per month

MIT/Apache

430KB
505 lines

html2maud

Library / CLI / GUI to convert html to maud template code.

Online version

html2maud online

Binary Usage

cargo install html2maud-bin

html2maud-bin --in my.html --out my.maud

cat my.html | html2maud-bin --stdin

Usage: html2maud [OPTIONS]

Options:
  -i, --in <input html file>
  -o, --out <output maud file>
  -s, --stdin
  -h, --help                    Print help information
html2maud-bin without parameters will start the GUI

GUI

run html2maud-bin without parameters and a basic tauri + pâro GUI will start, allowing for a faster workflow.

Library Usage

use html2maud::*;

fn main() {
    let html = "<div><p>Paragraph</p></div>";
    let maud = html2maud(html);
    println("{}", maud);
}

LICENCE

MIT or Apache 2

Dependencies

~25–69MB
~1M SLoC