covet

Build Status Crates.io

A CLI and web frontend for scanning with HP Envy printer / scanners.

Features

Usage

Web UI

To start the web UI run covet web <SCANNER> where <SCANNER> is the hostname or IP address of your scanner. Then open http://127.0.0.1:3000/ in your browser. It will show the following page with a simple form to scan a document.

Web UI Screenshot

Options

``` $ covet web -h

covet-web Start a web server to handle scan jobs

USAGE: covet web [FLAGS] [OPTIONS]

FLAGS: -h, --help Prints help information --no-tls Do not use TLS to secure the connection to the scanner

OPTIONS: -l, --listen Listen address to use for the web server [default: 127.0.0.1] -p, --port Port to use for the web server [default: 3000]

ARGS: The hostname of the scanner ```

Command line scanning

To scan a document directly from the command line run $ covet scan <SCANNER> where <SCANNER> is the hostname or IP address of your scanner. This will scan a document and store it as a PDF in the current directory.

Options

`` $ covet scan -h

covet-scan Scan a document

USAGE: covet scan [FLAGS] [OPTIONS]

FLAGS: -h, --help Prints help information --no-tls Do not use TLS to secure the connection to the scanner

OPTIONS: -c, --color The color space of the output [default: color] [values: gray, color] -f, --format The format of the output [default: pdf] [values: pdf, jpeg] -r, --resolution The scan resolution in dpi [default: 300] [values: 300, 600] -s, --source The document source [default: auto] [values: auto, adf, glass]

ARGS: The hostname of the scanner ```