An open API service indexing awesome lists of open source software.

https://github.com/0nese7en/phabribot

A phabricator bot for slack.
https://github.com/0nese7en/phabribot

phabricator slack

Last synced: about 2 months ago
JSON representation

A phabricator bot for slack.

Awesome Lists containing this project

README

          

# phabribot

[![Build Status](https://travis-ci.org/0neSe7en/phabribot.svg?branch=master)](https://travis-ci.org/0neSe7en/phabribot)
[![Greenkeeper badge](https://badges.greenkeeper.io/0neSe7en/phabribot.svg)](https://greenkeeper.io/)

A phabricator bot for slack.

## Features

- Resolve object details by `{Txxx}`, `{Dxxx}`.
- Get recent revision by `@phabribot diff author limit`.

## Usage

Move `env.sample` to `.env`, and fill all tokens.

```
$ npm run start
```

## Docker Usage

```
$ docker run -d -e SLACK_TOKEN=xoxb-xxxxx -e SLACK_VERIFICATION=xxxx -e CONDUIT_TOKEN=api-xxx -e PHABRICATOR_DOMAIN=https://example.com phabribot:latest
```

## Environments

- **SLACK_TOKEN**: `xoxb-`
- **SLACK_VERIFICATION**: `xxx`
- **CONDUIT_TOKEN**: `api-`
- **PHABRICATOR_DOMAIN**: `https://phabricator.domain.com`
- **BOTNAME**: `phabribot`