render: add "clutter" option to --strip-mode

Adds a `clutter` option to --strip-mode. This is based on readability.js. It
isn't a direct port (e.g. it doesn't strop bylines). It fallsback to `shell` if
it strips too much (and shell itself can fallback to not stripping anything).
But clutter rarely fallback to shell, only when a page is very small or when
it strips out _a lot_.

Also expanded shell to look at class names and ids.
This commit is contained in:
Karl Seguin committed 2026-09-11 06:36:48 +08:00
1 parent cdceca37c3
commit 5bc4f7482c
13 files changed
+1165 -150

No files matched your search

File diff suppressed because one or more lines are too long.