Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Slack の過去ログ倉庫を建てよう (2017 合宿 LT)

242 views

Published on

2017/09/16 に開催された AOSN 読書会の合宿で発表した LT 資料です。Node.js や Node-RED 等を使って Slack の過去ログ倉庫をサクッと建てるというストーリーになっています。
オリジナル (Go Talks) はこちら: https://go-talks.appspot.com/github.com/mikan/talks/aosn-lt-2017.slide

Published in: Software
  • Be the first to comment

  • Be the first to like this

Slack の過去ログ倉庫を建てよう (2017 合宿 LT)

  1. 1. Slack AOSN Workshop "Day of the Programmer" Camp in Yuwaku ♨♨ 16 September 2017 Yutaka Kato
  2. 2. Slack 1 " (960/#/$) % ( )
  3. 3. &&
  4. 4. enebular(https://enebular.com)( )
  5. 5. GitHub
  6. 6. [New Flow]
  7. 7. Slack social Slack Bot In Bot API Token ⚠Outgoing Webhook Bot Users(https://api.slack.com/bot-users)
  8. 8. DB MongoDB VULTR VPS(http://www.vultr.com/?ref=7053029) (John Metro(https://jm.tasktoys.com) )
  9. 9. Slack ( info ) msg.payload - incoming message ( msg.slackObj - full Slack message details ( MongoDB msg.payload DB ) Function
  10. 10. ← 2 ← 1
  11. 11. slackObj msg.slackObj.time = new Date(); ⚠ UTC Deploy
  12. 12. *
  13. 13. enebular 30 ( ...) + enebular "Export to Other Services" AWS Lambda, AWS IoT ( Lambda ) enebular Node.js Node-RED OSS (JSON ) Node-RED IBM Bluemix ( ) ) GitHub enebular-agent(https://github.com/enebular/enebular-agent)
  14. 14. VULTR VPS Node-RED DB Node-RED LDAP ➡ https://nodered.aosn.ws(https://nodered.aosn.ws) ( )
  15. 15. ( ) ) Slack
  16. 16. --
  17. 17. Elasticsearch : : Node.js Web : Express : Jade LDAP : passport-ldapauth UI : Bootstrap Node-RED
  18. 18. LDAP ➡ https://slacklog.aosn.ws(https://slacklog.aosn.ws) ( )
  19. 19. 1 . .
  20. 20. ( ) Slack API /
  21. 21. Thank you Yutaka Kato https://mikan.github.io(https://mikan.github.io)

×