1.1.0 • Published 11 years ago
phabricator-slack-feed v1.1.0
Phabricator Slack Bridge
This small server will forward news feed items from Phabricator into a Slack channel:

Requirements
- Node.js
- Phabricator admin access and a certificate
- Slack's incoming webhook integration
Setup instructions
- First, clone the repository and run
npm install - While dependencies install, head over to your Slack admin panel and create a "Incoming Webhook" integration. Give it a nice icon (like this one). After that you should take note of the Webhook URL
- Go to your Phabricator's settings panel and get your Conduit certificate: https://such.phabricator/settings/panel/apitokens/
- Create a
production.jsoninside the config directory by copying the contents ofdefault.json. Place your Phabricator username, url, and certificate under theuser,api,certkeys respectively under theconduitkey. In theslackkey, set a username for the bot and a the url of the webhook. - Start the server:
NODE_ENV=production node appand check for errors - If everything is working fine, add an entry to your Phabricator's config to call the webhook. The URL should be the address and port of the server you are running the bot in. Example for bot running in the same server as Phabricator:
//...
"feed.http-hooks": [
"http://localhost:8085"
]
//...Misc
Self-signed certificates
If you are using self-signed certificates for your Phabricator instance, you
can disable checking at your own risk by setting misc.ignore-ca to true
1.1.0
11 years ago