Expand description
§Muffy
The static website validator.
§Features
- Recursive link checking of all documents and stylesheets in websites
- Markup validation of HTML, SVG, and MathML documents
- Checks of multiple websites with a single configuration file
- Persistent response caching with configurable cache ages and stale-while-revalidate periods
- Concurrency and rate limits, and retries with exponential backoff
robots.txtand sitemap support
§Install
cargo install muffy§Usage
For the full usage, see muffy --help.
§Check a set of websites
muffyor
muffy check§Check a website
muffy check-site https://example.com§GitHub Action
job:
steps:
# After building and/or deploying your website.
- uses: raviqqe/muffy@v0.5.0See action.yaml for more details.
§References
§License
Structs§
- Cache
Config - A cache configuration.
- Clock
Timer - A wall-clock timer.
- Concurrency
Config - A concurrency configuration.
- Config
- A validation configuration.
- Document
Output - A document output.
- Document
Parser - A document parser.
- Fjall
Cache - A cache backed by the Fjall database.
- Http
Client - A full-featured HTTP client.
- Markup
Config - A markup validation configuration.
- Memory
Cache - An in-memory cache.
- Metrics
- Validation metrics.
- Moka
Cache - An in-memory cache backed by
moka. - Rate
Limit Config - A rate limit configuration.
- Rate
Limiter - A token bucket rate limiter.
- Render
Options - Rendering options.
- Reqwest
Http Client - An HTTP client backed by
reqwest. - Retry
Config - A retry configuration.
- Retry
Duration Config - A retry duration configuration.
- Scheme
Config - A scheme configuration.
- Serializable
Config - A serializable configuration.
- Site
Config - A site configuration.
- Site
Rate Limit Config - A site rate limit configuration.
- Sled
Cache - A cache backed by the Sled database.
- Status
Config - A status code configuration.
- Validation
Config - A validation configuration.
- WebValidator
- A web validator.
Enums§
- Config
Error - A configuration error.
- Error
- An error.
- Item
Error - An item error.
- Render
Format - A rendering format.
Constants§
- DEFAULT_
ACCEPTED_ SCHEMES - Default accepted URL schemes.
- DEFAULT_
ACCEPTED_ STATUS_ CODES - Default accepted HTTP status codes.
- DEFAULT_
MAX_ REDIRECTS - A default number of maximum redirects.
- DEFAULT_
TIMEOUT - A default HTTP timeout.
Traits§
- Bare
Http Client - A bare HTTP client.
- Global
Cache - A global cache.
- Local
Cache - A local cache.
Functions§
- compile_
config - Compiles a configuration.
- default_
concurrency - Returns a default concurrency.
- read_
config - Reads a configuration file recursively.
- render_
document - Renders a result of document validation.