Skip to content

braidchat/octocat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Octocat

A Braid bot for interacting with Github issues

Building with rustc 1.12.0-nightly (27e766d7b 2016-07-19)

To set up:

  • Generate an access token with repo scope at https://github.com/settings/tokens
  • Add a webhook on Github from the relevant repository (from repo Settings), with the triggered events "Issues" and "Issue Comment"
  • Add the bot on Braid, with the path of webhook url being /message

Example conf.toml:

[general]
port = "7777"
db_name = "octocat_db.sqlite"

[braid]
name = "octocat"
api_url = "https://api.braid.chat"
site_url = "https://braid.chat"
app_id = "app id from braid"
token = "app token from braid"

[github]
webhook_secret = "random secret you put in the github webhook conf"

[[repos]]
token = "token created from github"
org = "jamesnvc"
repo = "dotfiles"
tag_id = "some braid tag id"

[[repos]]
token = "token created from github"
org = "jamesnvc"
repo = "emacs.d"
tag_id = "some braid tag id"

Octocat in Action

Bot running demo

About

GitHub Issues bot for Braid

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages