smolweb-validator is a new CLI tool to check if a web page respects smolweb HTML subset.
This tool uses jsoup HTML5 parser, a java library.
Exemple :
$ ./smolweb-validate https://adele.pages.casa/md/
π Validating: https://adele.pages.casa/md/
ββββββββββββββ
π VALIDATION SUMMARY
ββββββββββββββ
β
VALID: This page conforms to the smolweb HTML subset!
π Statistics:
Total elements: 71
Valid elements: 71
Invalid elements: 0
ββββββββββββββ
Validation complete.