Skip to content
This repository has been archived by the owner on Jun 16, 2020. It is now read-only.

Latest commit

 

History

History
31 lines (19 loc) · 675 Bytes

README.md

File metadata and controls

31 lines (19 loc) · 675 Bytes

komonjo-daily

Slackのchannelと日付を指定すると特定の日のchannelの発言を全てmarkdown化します。

現在開発中のため最新100件までしかとれません。

使い方

準備

環境変数あるいは.envファイルにSlackのAPITokenを設定してください。

KOMONJO_SLACK_API_TOKEN=%YOUR_API_TOKEN%

また必要なGemをインストールしておいてください。

% bundle install

実行

以下のコマンドを実行してください。

% rake "messages[channel_name, 2015-11-12]"

この場合md/channel_name/2015-11-12.mdというファイルに出力されます。