Giter Site home page Giter Site logo

chinattsuhikari's Introduction

チナッツ光

結衣「じゃあ私の家に来てくれるかな、実は…(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"

連絡先

chinattsuhikari's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.