3
5
Fork
You've already forked smolweb-validator
4
smoweb-validator is a CLI tool to check if a web page respects smolweb HTML subset. This tool use https://jsoup.org/ HTML5 parser and is written in Java. https://smolweb.org/specs/index.html
  • Java 97.8%
  • Shell 2.2%
2026年07月08日 21:57:06 +02:00
.gitignore Add .gitignore 2025年09月09日 22:46:48 +03:00
build.sh bump to jsoup 1.21.2 2025年11月06日 14:29:38 +01:00
clean.sh Add clean.sh script to clean working directory from build artifacts 2025年09月09日 23:19:45 +03:00
css-grading.conf Add border-*-width and border-*-style to grade A 2026年04月26日 20:51:48 +01:00
CSSGradingConfig.java replace tabs with spaces 2025年09月11日 08:57:34 +02:00
CSSPropertyGrader.java Remove redundant conversion of all properties Set to the List 2025年09月10日 01:48:25 +03:00
CSSPropertyRule.java Add classification of CSS properties (Grade A to F) 2025年08月27日 22:03:46 +02:00
CSSReport.java replace tabs with spaces 2025年09月11日 08:57:34 +02:00
CSSValidator.java replace tabs with spaces 2025年09月11日 08:57:34 +02:00
LICENSE Initial commit 2025年08月17日 14:09:36 +02:00
PropertyOccurrence.java Add classification of CSS properties (Grade A to F) 2025年08月27日 22:03:46 +02:00
README.md bump to jsoup 1.21.2 2025年11月06日 14:29:38 +01:00
RuleOccurrence.java Add classification of CSS properties (Grade A to F) 2025年08月27日 22:03:46 +02:00
smolweb-validate bump to jsoup 1.21.2 2025年11月06日 14:29:38 +01:00
SmolwebValidator.java adding noscript tag 2026年03月10日 17:23:40 +01:00

smolweb-validator

smolweb-validator is a CLI tool to check if a web page respects smolweb HTML subset.

This tool uses jsoup HTML5 parser, a java library distributed under MIT License.

You need a Java Runtime Environment to execute it, and/or a Java Development Kit if you want to build it.

Usage

./smolweb-validate <URL> [--verbose]
java -cp "jsoup-1.21.2.jar:." SmolwebValidator <URL> [--verbose]
jre -cp "jsoup-1.21.2.jar:." SmolwebValidator <URL> [--verbose]

Examples:

./smolweb-validate https://example.com
./smolweb-validate https://example.com --verbose
java -cp "jsoup-1.21.2.jar:." SmolwebValidator https://example.com
java -cp "jsoup-1.21.2.jar:." SmolwebValidator https://example.com --verbose
jre -cp "jsoup-1.21.2.jar:." SmolwebValidator https://example.com
jre -cp "jsoup-1.21.2.jar:." SmolwebValidator https://example.com --verbose

Options:

--verbose Show all errors and detailed statistics

Script: smolweb-validate is a useful script detecting java or jre

Script clean.sh can be used to clean repository from build artifacts:

./clean.sh Removes class files made by compiler
./clean.sh all Removes class files and downloaded JAR file

Test online

It is possible to test smolweb-validator on smolweb.org/validator/.