Compare commits

...

4 Commits

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

@ -48,6 +48,12 @@ choco install 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)
```console
@ -78,6 +84,12 @@ yay 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)
```console
@ -107,7 +119,7 @@ sudo install -b dist/run-in-container.sh /usr/local/bin/monolith
#### From [source](https://github.com/Y2Z/monolith)
Dependencies: `libssl` `cargo`
Dependencies: `libssl`, `cargo`
<details>
<summary>Install cargo (GNU/Linux)</summary>
@ -148,7 +160,7 @@ monolith https://lyrics.github.io/db/P/Portishead/Dummy/Roads/ -o portishead-roa
```
```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
- `-a`: Exclude audio sources
- `-b`: Use custom `base URL`
- `-b`: Use `custom base URL`
- `-B`: Forbid retrieving assets from specified domain(s)
- `-c`: Exclude CSS
- `-C`: Read cookies from `file`
- `-d`: Allow retrieving assets only from specified `domain(s)`
- `-e`: Ignore network errors
- `-E`: Save document using custom `encoding`
- `-E`: Save document using `custom encoding`
- `-f`: Omit frames
- `-F`: Exclude web fonts
- `-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)
- `-s`: Be quiet
- `-t`: Adjust `network request timeout`
- `-u`: Provide custom `User-Agent`
- `-u`: Provide `custom User-Agent`
- `-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
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