1.0.0-dev.1 • Published 10 months ago

@cabinetjs/server v1.0.0-dev.1

Weekly downloads
-
License
MIT
Repository
-
Last release
10 months ago

Introduction

CabinetJS is a cli application for archiving web contents from various sources.

Installation

npm install -g @cabinetjs/server

Usage

$ cabinet -h

Usage: cabinet [options]

Options:
  -c, --config <path>  Path to config file (default: "./cabinet.config.json")
  -h, --help           display help for command

Configuration

We use a JSON file to configure CabinetJS. The default path is ./cabinet.config.json. you can change it with -c or --config CLI option.

{
    "dataSources": [
        // data sources ...
    ],
    "crawlInterval": 160000,
    "storage": {
        // storage options ...
    }
}