Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Configurable Slack bot firestarterのつかいかた
Search
Jumpei Takiyasu
February 27, 2018
Technology
0
480
Configurable Slack bot firestarterのつかいかた
https://github.com/juntaki/firestarter
Jumpei Takiyasu
February 27, 2018
Tweet
Share
More Decks by Jumpei Takiyasu
See All by Jumpei Takiyasu
BIRのアーキテクチャと データ処理
juntaki
0
1.2k
BIRのアーキテクチャと 技術選定
juntaki
0
780
ROSでSLAMラジコンをつくる
juntaki
0
3.6k
6足歩行ロボットをつくった
juntaki
0
740
GoでAPIサーバをはやくつくる
juntaki
26
13k
Undocumented!? firebase
juntaki
0
310
3Dプリンタと4足歩行プロトタイプ
juntaki
0
6.7k
アンケートの集計システムを作った
juntaki
0
3.7k
Goならわかる Linuxのメモリ管理
juntaki
13
6.2k
Other Decks in Technology
See All in Technology
AWS re:Invent 2025~初参加の成果と学び~
kubomasataka
1
200
ActiveJobUpdates
igaiga
1
320
2025年の医用画像AI/AI×medical_imaging_in_2025_generated_by_AI
tdys13
0
110
ソフトウェアエンジニアとAIエンジニアの役割分担についてのある事例
kworkdev
PRO
0
290
"人"が頑張るAI駆動開発
yokomachi
1
620
Amazon Quick Suite で始める手軽な AI エージェント
shimy
2
1.9k
半年で、AIゼロ知識から AI中心開発組織の変革担当に至るまで
rfdnxbro
0
150
業務の煩悩を祓うAI活用術108選 / AI 108 Usages
smartbank
9
14k
Snowflake Industry Days 2025 Nowcast
takumimukaiyama
0
130
マイクロサービスへの5年間 ぶっちゃけ何をしてどうなったか
joker1007
21
8.3k
AWSインフルエンサーへの道 / load of AWS Influencer
whisaiyo
0
230
Claude Skillsの テスト業務での活用事例
moritamasami
1
110
Featured
See All Featured
AI Search: Where Are We & What Can We Do About It?
aleyda
0
6.7k
Unsuck your backbone
ammeep
671
58k
The Cost Of JavaScript in 2023
addyosmani
55
9.4k
Art, The Web, and Tiny UX
lynnandtonic
304
21k
The SEO Collaboration Effect
kristinabergwall1
0
310
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
196
70k
Odyssey Design
rkendrick25
PRO
0
440
Chasing Engaging Ingredients in Design
codingconduct
0
87
Ethics towards AI in product and experience design
skipperchong
1
140
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.8k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
110
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
Transcript
Configurable Slack bot firestarterのつかいかた @juntaki
Slackでいろいろ実行したいがbotつくるのは面倒 Bot やりたいことは、だいたい 単なるPOSTだけ SlackのAPI / Bot frameworkを調査 Docker化して、デプロイまわりを・・・ POST
“do something”
juntaki/firestarter POST /something firestarter Configurable slack bot with simple Web
UI https://github.com/juntaki/firestarter “do something” Regexp URL template ^do (.*)$ http://jenkins/{{index .matched 1}} ^build (.*)$ http://gitlab/{{index .matched 1}}
システム構成 firestarter(bot) Real Time Messaging Interactive messages firestarter(UI) config.json 社内
API nginx POST 社外 社内
firestarterの仕組み 1. channel名 && regexpでマッチ 2. (選択肢があれば) メニューを出して選択 3. (確認が必要なら)確認メニューを出して選択
4. 設定されたURLへPOSTする POSTのURLとBodyはtext/template、入力は下記 • regexpのマッチ結果(配列) • メニューの選択(文字列)
設定方法 発火条件 応答 POSTリクエスト
firestarterでできること
ふつうのBot “deploy app” と書いたら、appブランチのDeployをはじめる
Interactive Message ブランチ名typoするので、”deploy” で選択肢を出してほしい ※ブランチ一覧は事前にAPIで登録する
Interactive Message + 確認 選択した後に、確認でワンクッション置きたい
つかってみて https://github.com/juntaki/firestarter