Compare commits

...

4 Commits

Author SHA1 Message Date
Sunshine e397a7532d
Update README.md 2 months ago
Sunshine 91d8c146a9
Update README.md 2 months ago
Sunshine 67e07b91af provide more installation instructions 2 months ago
Sunshine f797b8c999 get rid of outdated related projects 2 months ago

@ -48,6 +48,12 @@ choco install monolith
scoop install main/monolith scoop install main/monolith
``` ```
#### Via [Winget](https://winstall.app/apps/Y2Z.Monolith) (Windows)
```console
winget install --id=Y2Z.Monolith -e
```
#### Via [MacPorts](https://ports.macports.org/port/monolith/summary) (macOS) #### Via [MacPorts](https://ports.macports.org/port/monolith/summary) (macOS)
```console ```console
@ -78,6 +84,12 @@ yay monolith
apk add monolith apk add monolith
``` ```
#### Using [XBPS Package Manager](https://voidlinux.org/packages/?q=monolith) (Void Linux)
```console
xbps-install -S monolith
```
#### Using [FreeBSD packages](https://svnweb.freebsd.org/ports/head/www/monolith/) (FreeBSD) #### Using [FreeBSD packages](https://svnweb.freebsd.org/ports/head/www/monolith/) (FreeBSD)
```console ```console
@ -107,7 +119,7 @@ sudo install -b dist/run-in-container.sh /usr/local/bin/monolith
#### From [source](https://github.com/Y2Z/monolith) #### From [source](https://github.com/Y2Z/monolith)
Dependencies: `libssl` `cargo` Dependencies: `libssl`, `cargo`
<details> <details>
<summary>Install cargo (GNU/Linux)</summary> <summary>Install cargo (GNU/Linux)</summary>
@ -148,7 +160,7 @@ monolith https://lyrics.github.io/db/P/Portishead/Dummy/Roads/ -o portishead-roa
``` ```
```console ```console
cat index.html | monolith -aIiFfcMv -b https://original.site/ - > result.html cat some-site-page.html | monolith -aIiFfcMv -b https://some.site/ - > some-site-page-with-assets.html
``` ```
@ -158,13 +170,13 @@ cat index.html | monolith -aIiFfcMv -b https://original.site/ - > result.html
## Options ## Options
- `-a`: Exclude audio sources - `-a`: Exclude audio sources
- `-b`: Use custom `base URL` - `-b`: Use `custom base URL`
- `-B`: Forbid retrieving assets from specified domain(s) - `-B`: Forbid retrieving assets from specified domain(s)
- `-c`: Exclude CSS - `-c`: Exclude CSS
- `-C`: Read cookies from `file` - `-C`: Read cookies from `file`
- `-d`: Allow retrieving assets only from specified `domain(s)` - `-d`: Allow retrieving assets only from specified `domain(s)`
- `-e`: Ignore network errors - `-e`: Ignore network errors
- `-E`: Save document using custom `encoding` - `-E`: Save document using `custom encoding`
- `-f`: Omit frames - `-f`: Omit frames
- `-F`: Exclude web fonts - `-F`: Exclude web fonts
- `-h`: Print help information - `-h`: Print help information
@ -177,7 +189,7 @@ cat index.html | monolith -aIiFfcMv -b https://original.site/ - > result.html
- `-o`: Write output to `file` (use “-” for STDOUT) - `-o`: Write output to `file` (use “-” for STDOUT)
- `-s`: Be quiet - `-s`: Be quiet
- `-t`: Adjust `network request timeout` - `-t`: Adjust `network request timeout`
- `-u`: Provide custom `User-Agent` - `-u`: Provide `custom User-Agent`
- `-v`: Exclude videos - `-v`: Exclude videos
@ -229,18 +241,6 @@ Please open an issue if something is wrong, that helps make this project better.
--------------------------------------------------- ---------------------------------------------------
## Related projects
- Monolith Chrome Extension: https://github.com/rhysd/monolith-of-web
- Pagesaver: https://github.com/distributed-mind/pagesaver
- Personal WayBack Machine: https://github.com/popey/pwbm
- Hako: https://github.com/dmpop/hako
- Monk: https://github.com/monk-dev/monk
---------------------------------------------------
## License ## License
To the extent possible under law, the author(s) have dedicated all copyright related and neighboring rights to this software to the public domain worldwide. To the extent possible under law, the author(s) have dedicated all copyright related and neighboring rights to this software to the public domain worldwide.

Loading…
Cancel
Save