docs: add website saving tools to cheatsheet

This commit is contained in:
mikl 2026-07-01 12:51:21 +03:00
parent 45e2743053
commit 43ee63b7af

View file

@ -55,3 +55,21 @@ cd .. # parent directory
ctrl+r # fzf history search
ctrl+t # fzf file finder
```
## save websites
```bash
# одна страница в single html (с CSS+JS)
monolith https://example.com -o page.html
# рекурсивно целый сайт
wget -r -p -k --no-clobber example.com
# GUI для рекурсивного скачивания
httrack "https://example.com" -O ./out "+*.example.com/*"
```
примеры:
- nixos options: `monolith https://search.nixos.org/options -o options.html`
- сохранить доки: `wget -r -p -k nix-darwin.github.io/nix-darwin/manual/`
- monolith и httrack ставятся через `brew install monolith httrack`