hubot-gyotaku

Handling Web GYOTAKU for Hubot

Usage no npm install needed!

<script type="module">
  import hubotGyotaku from 'https://cdn.skypack.dev/hubot-gyotaku';
</script>

README

hubot-gyotaku

NPM version NPM downloads Build Status Dependency Status DevDependency Status License

Handling Web GYOTAKU (ウェブ魚拓) for Hubot

Installation

npm install hubot-gyotaku --save

Then add hubot-gyotaku to your external-scripts.json:

["hubot-gyotaku"]

Sample Interaction

me> hubot gyotaku http://example.com
hubot> http://megalodon.jp/2015-1122-0046-00/example.com/
me> hubot gyotaku list http://example.com
hubot> http://megalodon.jp/2015-0314-2316-35/example.com/
http://megalodon.jp/2015-0730-1459-39/example.com/
http://megalodon.jp/2015-1024-1059-02/example.com/
http://megalodon.jp/2015-1024-1107-16/example.com/
http://megalodon.jp/2015-1120-0501-24/example.com/
http://megalodon.jp/2015-1120-0501-34/example.com/
http://megalodon.jp/2015-1121-0014-27/example.com/
http://megalodon.jp/2015-1122-0046-00/example.com/

Commands

hubot gyotaku <URL> - Create new GYOTAKU.
hubot gyotaku [take|new] <URL> - Create new GYOTAKU.
hubot gyotaku [list|ls] <URL> - List GYOTAKU for URL.

Configurations

HUBOT_GYOTAKU_TAKE_ERROR_MESSAGE - Set message for error when take GYOTAKU
HUBOT_GYOTAKU_LIST_ERROR_MESSAGE - Set message for error when list GYOTAKU
HUBOT_GYOTAKU_LIST_ZERO_MESSAGE - Set message for zero urls when list GYOTAKU