<commit_before># hatena-fotolife-cli

[Hatena::Fotolife][fotolife] command life interface (unofficial).

## Installation

    $ npm install -g hatena-fotolife-cli

## Example

    $ # show usage
    $ hatena-fotolife --help

    $ # configure
    $ export HATENA_USERNAME='username'
    $ export HATENA_APIKEY='apikey'

    $ # upload a photo
    $ hatena-fotolife upload --title 'special bouzuya icon' ./bouzuya.png
    title: special bouzuya icon
    url: http://f.hatena.ne.jp/bouzuya/20140818181135

    $ # list photos
    $ hatena-fotolife list
    title: 2014-08-17
    url: http://f.hatena.ne.jp/bouzuya/20140817170105
    title: bouzuya icon
    url: http://f.hatena.ne.jp/bouzuya/20110326224118<commit_msg>improve README<commit_after># hatena-fotolife-cli

[Hatena::Fotolife][fotolife] command life interface (unofficial).

![](http://img.f.hatena.ne.jp/images/fotolife/b/bouzuya/20140818/20140818234149.gif)

## Installation

    $ npm install -g hatena-fotolife-cli

## Example

    $ # show usage
    $ hatena-fotolife --help

    $ # configure
    $ export HATENA_USERNAME='username'
    $ export HATENA_APIKEY='apikey'

    $ # upload a photo
    $ hatena-fotolife upload --title 'special bouzuya icon' ./bouzuya.png
    title: special bouzuya icon
    url: http://f.hatena.ne.jp/bouzuya/20140818181135

    $ # list photos
    $ hatena-fotolife list
    title: 2014-08-17
    url: http://f.hatena.ne.jp/bouzuya/20140817170105
    title: bouzuya icon
    url: http://f.hatena.ne.jp/bouzuya/20110326224118
{'fraction_non_alphanumeric': 0.12574061882817644, 'fraction_numerical': 0.08031599736668861, 'mean_word_length': 3.0970350404312668, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7401200', 'n_tokens_mistral': 707, 'n_tokens_neox': 588, 'n_words': 103}