Skip to content

や〜ん結衣センパイ、Slackに録画情報をお届けしておきます〜♡

Notifications You must be signed in to change notification settings

hideo54/ChinattsuHikari

Repository files navigation

チナッツ光

結衣「じゃあ私の家に来てくれるかな、実は…(Slackへ通知しに行って欲しいんだけど…)」
ちなつ「今すぐ行きます、飛んでいきます、光になります、チナッツ光です〜!!!!♡」

概要

Chinachuの"recordedCommand"機能を利用して、録画終了時にその旨をSlackへpostします。 ついでにstorageLowSpaceCommandも雑に実装した。

アイコンはChinachuのTwitter公式アカウント @Chinachu_REC のアイコンを使っています。

バージョン

Ver 2.2.1

使い方

Slack Incoming Webhook URL を入手

  1. Slackにアクセス
  2. "Configure Integrations"
  3. "Incoming WebHooks"
  4. "Post to Channel"でpost先channelを指定
  5. "Add Incoming WebHooks Integration"
  6. "Webhook URL"を控えておく

Chinachuが置いてあるServer

  1. (入っていない場合は)Node.js, requestライブラリ, jqをインストール
  2. Chinachuのディレクトリのトップに移動
  3. このリポジトリをcloneする
  4. .shファイルをChinachuが実行可能となるようにする
  5. yarn (or npm i if you like)
  6. cp config-sample.yaml config.yaml
  7. config.yamlの各値を適宜上書き (chinachu_hostの値は末尾/なし)
  8. Chinachuのconfig.jsonに以下を追加
"recordedCommand": "./ChinattsuHikari/recordedCommand.sh",
"storageLowSpaceCommand": "./ChinattsuHikari/storageLowSpaceCommand.sh"

連絡先

About

や〜ん結衣センパイ、Slackに録画情報をお届けしておきます〜♡

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published