.TH VAULT-MIRROR 1 "October 2026" "vault" "User Commands" .SH NAME vault-mirror \- mirror a website into an encrypted vault .SH SYNOPSIS .B vault mirror .RB [ \-\-key .IR PATH ] .RB [ \-\-vault .IR DIR ] .RB [ \-\-max\-pages .IR N ] .RB [ \-\-max\-bytes .IR SIZE ] .RB [ \-\-timeout .IR DURATION ] .I URL .RI [ FOLDER ] .SH DESCRIPTION .B vault mirror crawls the website at .I URL and stores every page and asset it finds in the vault, beneath .IR FOLDER / HOST (or just .I HOST if no folder is given). .PP The crawl is single threaded: one request at a time, in breadth-first order. It follows only links on the same host (and port) as .IR URL , and only redirects to that host; a redirect elsewhere skips the page. Requests are sent with a Chrome user agent string, and certificates are always verified. .PP Links in HTML start tags .RB ( href , .BR src , .BR action and .B poster attributes) and CSS .RB ( url(...) in style sheets, .B