slack-chromium-helper/README.md

1.4 KiB

Chromium Helper

This bot, when deployed as a Heroku app, will unfurl Chromium related URLs to provide context in Slack.

The URLs this bot currently supports are:

  • https://crbug.com/12345
  • https://bugs.chromium.org/p/chromium/issues/detail?id=12345
  • https://chromium-review.googlesource.com/c/chromium/src/+/123456
  • https://source.chromium.org/chromium/chromium/src/+/main:chrome/app/main_dll_loader_win.cc
  • https://source.chromium.org/chromium/chromium/src/+/main:chrome/app/main_dll_loader_win.cc;l=101
  • https://source.chromium.org/chromium/chromium/src/+/main:chrome/app/main_dll_loader_win.cc;l=101-110

Installation

Add to Slack

What does it look like?

image

Configuration

The following environment variables need to be set:

  • SLACK_TOKEN: Slack bot token
  • SLACK_SIGNING_SECRET: Slack app signing secret
  • SLACK_BOT_ID: User id of Slack app

Routes

/slack/events: Used by Slack, you probably don't want to call this yourself.