2.0.2 • Published 3 years ago

bringhome v2.0.2

Weekly downloads
2
License
BSD-3-Clause
Repository
github
Last release
3 years ago

bringhome

wget/Save page as-like tool for downloading a web page and its assets to a local directory, rewriting its internal references to relative urls.

Installation

npm install -g bringhome

Usage

bringhome https://example.com/ -o localdir

Options:
  --help            Show help                                  [boolean]
  --version         Show version number                        [boolean]
  --output, -o      Directory where results should be written to (or
                    file in --self-contained mode)   [string] [required]
  --header, -H      Specify a custom header and value to pass when
                    retrieving assets, eg. -H 'Foo: bar'. Can be
                    repeated                       [array] [default: []]
  --recursive, -r   Crawl all HTML-pages linked with relative and root
                    relative links. This stays inside your domain
                                              [boolean] [default: false]
  --pretty          Pretty print downloaded assets
                                              [boolean] [default: false]
  --omit-scripts    Leave out JavaScript      [boolean] [default: false]
  --self-contained  Inline all assets, producing a single,
                    self-contained "archive" HTML file. Alters the
                    meaning of the --output switch so it specifies the
                    desired location of the file
                                              [boolean] [default: false]
  --silent, -s      Do not write anything to stdout
                                              [boolean] [default: false]

Releases

Changelog

2.0.2

3 years ago

2.0.1

3 years ago

2.0.0

4 years ago

1.8.0

5 years ago

1.7.0

5 years ago

1.6.0

5 years ago

1.5.0

6 years ago

1.4.0

6 years ago

1.3.2

6 years ago

1.3.1

6 years ago

1.3.0

6 years ago

1.2.0

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago