Slack bot to unfurl Chromium development URLs
Перейти к файлу
dependabot[bot] 217d7b3ebd
build(deps): bump ws from 7.5.9 to 7.5.10 (#10)
Bumps [ws](https://github.com/websockets/ws) from 7.5.9 to 7.5.10.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.5.9...7.5.10)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-19 08:50:43 +02:00
.github
.husky
src
.gitignore
.prettierrc.json
LICENSE
README.md
babel.config.js
package.json
tsconfig.json
yarn.lock

README.md

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/+/master:chrome/app/main_dll_loader_win.cc
  • https://source.chromium.org/chromium/chromium/src/+/master:chrome/app/main_dll_loader_win.cc;l=101
  • https://source.chromium.org/chromium/chromium/src/+/master: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.