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:
- Host: GitHub
- URL: https://github.com/fand/aozora
- Owner: fand
- Created: 2016-01-25T14:48:51.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2018-06-19T14:46:48.000Z (about 8 years ago)
- Last Synced: 2025-04-10T00:09:41.519Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 871 KB
- Stars: 22
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-ipsum - aozora - CLI that can pull full text from [Aozora Bunko(青空文庫)](https://www.aozora.gr.jp/). `npm` `GitHub` `lang-Japanese` (:wrench: Tools, Apps, and Extensions / :movie_camera: TV and Film)
README
# aozora

> CLI for [Aozora Bunko(青空文庫)](http://www.aozora.gr.jp/)
[](https://www.npmjs.org/package/aozora)
[](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/).