From 43ee63b7af65b2cc208eb47dbdf296b95e1f48e3 Mon Sep 17 00:00:00 2001 From: mikl Date: Wed, 1 Jul 2026 12:51:21 +0300 Subject: [PATCH] docs: add website saving tools to cheatsheet --- docs/cheatsheet.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/docs/cheatsheet.md b/docs/cheatsheet.md index 71030e7..3188a49 100644 --- a/docs/cheatsheet.md +++ b/docs/cheatsheet.md @@ -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`