An open API service indexing awesome lists of open source software.

https://github.com/fand/aozora

CLI for Aozora Bunko :books:
https://github.com/fand/aozora

Last synced: 12 months ago
JSON representation

CLI for Aozora Bunko :books:

Awesome Lists containing this project

README

          

# aozora

![ao](https://cloud.githubusercontent.com/assets/1403842/13048632/90487684-d42a-11e5-8a89-e0a3b1cb05a2.gif)

> CLI for [Aozora Bunko(青空文庫)](http://www.aozora.gr.jp/)

[![NPM Version](https://img.shields.io/npm/v/aozora.svg?style=flat-square)](https://www.npmjs.org/package/aozora)
[![License](http://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](http://fand.mit-license.org/)

## 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](http://fand.mit-license.org/).