1.0.6 • Published 12 months ago

pixiv-cli v1.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

About

pixiv-cli is an easy way to interact with pixiv through a terminal. It supports most read only actions, via the usage of pixiv-node.

Usage

Installation

$ npm i -g pixiv-cli

Commands

Usage: pixiv [options] [command]

CLI tool for pixiv

Options:
  -V, --version               output the version number
  -h, --help                  display help for command

Commands:
  download|d [options] <id>   Download a specific post
  info|i [options] <id>       Get info on a specific post
  login|l <cookie>            Login to pixiv with your browser cookie
  search|s [options] <query>  Search pixiv for a post
  user|u [options] <id>       Get the info of a user
  help [command]              display help for command

Images

pixiv-cli supports displaying preview images if the terminal supports the Kitty Graphics Protocol. To enable it, use the -i/--image flag with the info or search command.

Example

$ pixiv login $PIXIV_COOKIE
$ pixiv search "gawr gura" -aim "r18"
$ pixiv info 119640517 -i
$ pixiv download 119640517 -d homework

Development

$ git clone https://github.com/FireStreaker2/pixiv-cli.git
$ cd pixiv-cli
$ npm i
$ npm run build

License

MIT

1.0.6

12 months ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago