Skip to content

Page-loader is a cli-app which downloads the html page at a specified url along with the necessary files, replaces the links to these files with local ones and allows you to run this page later without the internet.

Notifications You must be signed in to change notification settings

JS-NinjaNN/Page-loader

Repository files navigation

Hexlet tests and linter status

Actions Status Maintainability tests Test Coverage


Description

Page-loader is a cli-app which downloads the html page at a specified url along with the necessary files, replaces the links to these files with local ones and allows you to run this page later without the internet. The application is friendly, it displays the download status of each of the files and notifies you of any errors that occur.


Minimum system requirements

Node.js 13.2.0 or higher


Installation

Attention! Commands must be run from the app directory!

Installing dependencies

make install

Installing a package with app

The following command will be run as root!

make link

Usage

Usage: page-loader [-h] [-V] [-o] <address>

Optional arguments:
  -V, --version  Show program's version number and exit.
  -o, --output [path]   output dir (default: "/home/user/current-dir").
  -h, --help     Show this help message and exit.

Example of usage

asciicast

About

Page-loader is a cli-app which downloads the html page at a specified url along with the necessary files, replaces the links to these files with local ones and allows you to run this page later without the internet.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published