#maud #html #template

app html2maud-bin

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

11 releases

0.1.10 Jan 27, 2023
0.1.9 Jan 16, 2023

#445 in Command line utilities

Download history 117/week @ 2023-01-01 105/week @ 2023-01-08 48/week @ 2023-01-15 24/week @ 2023-01-22 16/week @ 2023-01-29 14/week @ 2023-02-05 21/week @ 2023-02-12 24/week @ 2023-02-19 2/week @ 2023-02-26 1/week @ 2023-03-05

59 downloads per month

MIT/Apache

73KB
428 lines

html2maud

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

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

~20–58MB
~1M SLoC