Update README.md

pull/86/head
Sunshine 5 years ago
parent 4637fed15c
commit 565acdef25

@ -18,17 +18,20 @@ Unlike the conventional "Save page as", `monolith` not only saves the target doc
If compared to saving websites with `wget -mpk`, this tool embeds all assets as data URLs and therefore lets browsers render the saved page exactly the way it was on the Internet, even when no network connection is available. If compared to saving websites with `wget -mpk`, this tool embeds all assets as data URLs and therefore lets browsers render the saved page exactly the way it was on the Internet, even when no network connection is available.
<!-- `This program works both on remote and local targets. --> ## Installation
### Installation ### From source
$ git clone https://github.com/Y2Z/monolith.git $ git clone https://github.com/Y2Z/monolith.git
$ cd monolith $ cd monolith
$ cargo install --path . $ cargo install --path .
### Usage ### On macOS (via Homebrew)
$ brew install monolith
## Usage
$ monolith https://lyrics.github.io/db/p/portishead/dummy/roads/ > portishead-roads-lyrics.html $ monolith https://lyrics.github.io/db/p/portishead/dummy/roads/ > portishead-roads-lyrics.html
### Options ## Options
- `-c`: Ignore styles - `-c`: Ignore styles
- `-f`: Exclude iframes - `-f`: Exclude iframes
- `-i`: Remove images - `-i`: Remove images
@ -38,11 +41,11 @@ If compared to saving websites with `wget -mpk`, this tool embeds all assets as
- `-s`: Silent mode - `-s`: Silent mode
- `-u`: Specify custom User-Agent - `-u`: Specify custom User-Agent
### Related Projects ## Related projects
- `Pagesaver`: https://github.com/distributed-mind/pagesaver - `Pagesaver`: https://github.com/distributed-mind/pagesaver
- `SingleFile`: https://github.com/gildas-lormeau/SingleFile - `SingleFile`: https://github.com/gildas-lormeau/SingleFile
### License ## License
The Unlicense The Unlicense
<!-- Microtext --> <!-- Microtext -->

Loading…
Cancel
Save