hncat

Crates.iohncat
lib.rshncat
version0.1.3
sourcesrc
created_at2021-05-12 21:33:43.361759
updated_at2021-05-15 12:56:45.044531
descriptionGrab all Hacker News stores + comments, quickly.
homepage
repositoryhttps://github.com/orf/hncat
max_upload_size
id396685
size50,935
Tom Forbes (orf)

documentation

README

hncat 🐈

Crates.io Actions Status

Dump all comments, stories and polls from Hacker News fast.

Table of Contents

Install :cd:

  • Homebrew: brew install orf/brew/hncat
  • Cargo: cargo install hncat

Usage :saxophone:

Running hncat will begin to stream all items from the API to stdout in JSON.

$ hncat --help
hncat 0.1.0
Grab Hacker News items from the API in parallel.

USAGE:
    hncat [OPTIONS]

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
        --concurrency <concurrency>    Make this many concurrent requests [default: 200]
        --end-date <end-date>          Ignore all items created after this date. Supports relative durations like "1
                                       hour" as well as absolute rfc3339 dates
        --last <last>                  Fetch the last X items
        --limit <limit>                Limit the number of outputted rows to this
        --since <since>                Fetch all records since this time. Supports relative durations like "1 hour"
        --start-date <start-date>      Ignore all items created before this date. Supports relative durations like "1
                                       hour" as well as absolute rfc3339 dates
        --start-id <start-id>          Fetch records with IDs higher than this
        --stop-id <stop-id>            Fetch records with IDs lower than this
Commit count: 18

cargo fmt