libgencheck

0.5.1 • Public • Published

LibgenCheck

License: GPL v3 Contributor Covenant

A simple Node.js script designed to check whether books in your collection exist on Library Genesis or not.

Usage

Usage: libgencheck [OPTION]...  [FILE]...

Options:
      --help              Show help                                    [boolean]
      --version           Show version number                          [boolean]
  -a, --available-only    Only output files files available on Library Genesis
  -A, --unavailable-only  Only output files NOT available on Library Genesis
  -c, --copy              Copy files available on Library Genesis to a specified
                          folder
  -C, --copy-reverse      Copy files NOT available on Library Genesis to a
                          specified folder
  -l, --libgen-mirror     Choose a Library Genesis mirror
                                              [default: "http://gen.lib.rus.ec"]
  -m, --move              Move files available on Library Genesis to a specified
                          folder
  -M, --move-reverse      Move files NOT available on Library Genesis to a
                          specified folder
  -n, --no-formatting     Disable output formatting (colours and font styles).
                          Also changes checkmarks into 'O's and crosses into
                          'X'es
  -v, --verbose           Explain what is being done. Specify multiple times to
                          increase verbosity (up to 2 times)             [count]

Examples:
  libgencheck *.*    check all files in the current folder
  libgencheck *.pdf  check all PDF files in the current folder

Installation

Use

npm install libgencheck

or

sudo npm install -g libgencheck

to install globally.

Changelog

Contributing

For guidelines on how to contribute please refer to CONTRIBUTING.md. Please keep in mind that all pull/merge requests should be submitted to the GitLab repo, since repos on e.g. GitHub are just mirrors.

Dependencies and third-party components

  • colors (MIT): npm install colors
  • libgen (MIT): npm install libgen
  • md5-file (MIT): npm install md5-file
  • yargs (MIT): npm install yargs

License

This project is licensed under the GPL-3.0-or-later.

Readme

Keywords

Package Sidebar

Install

npm i libgencheck

Weekly Downloads

0

Version

0.5.1

License

GPLv3

Unpacked Size

53 kB

Total Files

10

Last publish

Collaborators

  • atrate