node package manager

aozora

aozora

ao

CLI for Aozora Bunko(青空文庫)

NPM Version License

Installation

$ npm install -g aozora

Usage

Usage:
  aozora [-a authorId|authorName] [-w workId|workTitle] [-r length]

aozora

Search text via interactive UI like shown above.

aozora -a authorId|authorName

Print authors' info.

aozora -w workId|workTitle

Print works that matches title.

aozora -r length

Print random text from Aozora Bunko. If length is specified, first (length) characters of the text will be printed.

LICENSE

list_person_all.csv is provided by 青空文庫 and licensed under CC BY 2.1 JP. list_person_all.utf8.csv is UTF-8 version of lis_person_all.csv, so it's licensed under CC BY 2.1 JP too. Ⓒ 青空文庫 2016

All other codes are under MIT License.