dmytro-komlyk / page-loader

"Page Loader" is a console utility that downloads pages from the Internet with all the resources and saves them on your computer.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

page-loader

Node CI Maintainability Test Coverage

About Page Loader

This is a command line utility that downloads pages from the Internet and saves them to your computer. Together with the page, it downloads all assets (images, styles and js) making it possible to open the page without the Internet. The same principle is used to save pages in the browser.

About project

This pet-project was created as part of the Hexlet curriculum.

Requirements

  • Node (v.16+)

Getting started

git clone https://github.com/DmitriyK/page-loader.git
cd page-loader/
make install
make link

Run tests

make test
make test-coverage

Usage

Usage: page-loader [options] <url>

Downloads a page from the network and puts it in the specified directory

Options:
  -V, --version       output the version number
  -o, --output [dir]  output dir (default: "/home/user/current-dir")
  -h, --help          display help for command

Examples

Workflow

asciicast

Debug

asciicast

About

"Page Loader" is a console utility that downloads pages from the Internet with all the resources and saves them on your computer.


Languages

Language:JavaScript 78.0%Language:HTML 19.8%Language:Makefile 1.8%Language:CSS 0.3%