mirror of
https://github.com/remy/inliner.git
synced 2024-10-05 23:07:10 +03:00
747836d3e0
Video (and their poster) inlining is disabled by default. It sounds crazy but for videos with a "reasonable length", it works just fine.
27 lines
827 B
Plaintext
27 lines
827 B
Plaintext
|
|
Usage:
|
|
|
|
$ inliner [flags] url-or-filename
|
|
|
|
Flags:
|
|
|
|
-n, --nocompress don't compress CSS or HTML - useful for debugging
|
|
-i, --noimages don't encode images - keeps files size small, but more requests
|
|
-o, --videos encode videos (and their poster image) - disabled by default
|
|
-s, --nosvg don't compress SVG (through SVGO)
|
|
-v, --verbose echo on STDERR the progress of inlining
|
|
-V, --version output the version number
|
|
-h, --help output usage information
|
|
|
|
Options:
|
|
|
|
-e, --encoding override encoding detection
|
|
|
|
Examples:
|
|
|
|
$ inliner -v https://twitter.com > twitter.html
|
|
$ inliner -ni local-file.html > local-file.min.html
|
|
$ inliner -e windows-1253 http://foofootos.gr > foofootos-utf8.html
|
|
|
|
For more details see http://github.com/remy/inliner/
|