{"id":18048849,"url":"https://github.com/serima/gitobi_bot","last_synced_at":"2025-04-05T05:28:29.581Z","repository":{"id":22287650,"uuid":"25622286","full_name":"serima/gitobi_bot","owner":"serima","description":"gitobi slack bot","archived":false,"fork":false,"pushed_at":"2014-10-23T13:52:57.000Z","size":120,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-02T06:06:16.622Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CoffeeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/serima.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-23T06:09:58.000Z","updated_at":"2014-10-23T13:52:57.000Z","dependencies_parsed_at":"2022-08-21T01:00:12.290Z","dependency_job_id":null,"html_url":"https://github.com/serima/gitobi_bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serima%2Fgitobi_bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serima%2Fgitobi_bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serima%2Fgitobi_bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serima%2Fgitobi_bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/serima","download_url":"https://codeload.github.com/serima/gitobi_bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247292681,"owners_count":20915090,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-30T20:15:37.031Z","updated_at":"2025-04-05T05:28:29.556Z","avatar_url":"https://github.com/serima.png","language":"CoffeeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gitobi-bot\n\ngitobi-bot is a chat bot built on the [Hubot][hubot] framework. It was initially generated by [generator-hubot][generator-hubot], and configured to be deployed on [Heroku][heroku] to get you up and running as quick as possible.\n\nThis README is intended to help get you started. Definitely update and improve to talk about your own instance, how to use and deploy, what functionality he has, etc!\n\n[heroku]: http://www.heroku.com\n[hubot]: http://hubot.github.com\n[generator-hubot]: https://github.com/github/generator-hubot\n\n### Running gitobi-bot Locally\n\nYou can test your hubot by running the following.\n\nYou can start gitobi-bot locally by running:\n\n    % bin/hubot\n\nYou'll see some start up output about where your scripts come from and a\nprompt:\n\n    [Sun, 04 Dec 2011 18:41:11 GMT] INFO Loading adapter shell\n    [Sun, 04 Dec 2011 18:41:11 GMT] INFO Loading scripts from /home/tomb/Development/hubot/scripts\n    [Sun, 04 Dec 2011 18:41:11 GMT] INFO Loading scripts from /home/tomb/Development/hubot/src/scripts\n    Hubot\u003e\n\nThen you can interact with gitobi-bot by typing `gitobi-bot help`.\n\n    gitobi-bot\u003e gitobi-bot help\n\n    gitobi-bot\u003e animate me \u003cquery\u003e - The same thing as `image me`, except adds a few\n    convert me \u003cexpression\u003e to \u003cunits\u003e - Convert expression to given units.\n    help - Displays all of the help commands that Hubot knows about.\n    ...\n\n\n### Scripting\n\nAn example script is included at `scripts/example.coffee`, so check it out to\nget started, along with the [Scripting Guide](https://github.com/github/hubot/blob/master/docs/scripting.md).\n\nFor many common tasks, there's a good chance someone has already one to do just\nthe thing.\n\n### hubot-scripts\n\nThere will inevitably be functionality that everyone will want. Instead\nof writing it yourself, you can check\n[hubot-scripts][hubot-scripts] for existing scripts.\n\nTo enable scripts from the hubot-scripts package, add the script name with\nextension as a double quoted string to the `hubot-scripts.json` file in this\nrepo.\n\n[hubot-scripts]: https://github.com/github/hubot-scripts\n\n### external-scripts\n\nHubot is able to load scripts from third-party `npm` package. Check the package's documentation, but in general it is:\n\n1. Add the packages as dependencies into your `package.json`\n2. `npm install` to make sure those packages are installed\n3. Add the package name to `external-scripts.json` as a double quoted string\n\nYou can review `external-scripts.json` to see what is included by default.\n\n##  Persistence\n\nIf you are going to use the `hubot-redis-brain` package\n(strongly suggested), you will need to add the Redis to Go addon on Heroku which requires a verified\naccount or you can create an account at [Redis to Go][redistogo] and manually\nset the `REDISTOGO_URL` variable.\n\n    % heroku config:add REDISTOGO_URL=\"...\"\n\nIf you don't require any persistence feel free to remove the\n`hubot-redis-brain` from `external-scripts.json` and you don't need to worry\nabout redis at all.\n\n[redistogo]: https://redistogo.com/\n\n## Adapters\n\nAdapters are the interface to the service you want your hubot to run on. This\ncan be something like Campfire or IRC. There are a number of third party\nadapters that the community have contributed. Check\n[Hubot Adapters][hubot-adapters] for the available ones.\n\nIf you would like to run a non-Campfire or shell adapter you will need to add\nthe adapter package as a dependency to the `package.json` file in the\n`dependencies` section.\n\nOnce you've added the dependency and run `npm install` to install it you can\nthen run hubot with the adapter.\n\n    % bin/hubot -a \u003cadapter\u003e\n\nWhere `\u003cadapter\u003e` is the name of your adapter without the `hubot-` prefix.\n\n[hubot-adapters]: https://github.com/github/hubot/blob/master/docs/adapters.md\n\n## Deployment\n\n    % heroku create --stack cedar\n    % git push heroku master\n\nIf your Heroku account has been verified you can run the following to enable\nand add the Redis to Go addon to your app.\n\n    % heroku addons:add redistogo:nano\n\nIf you run into any problems, checkout Heroku's [docs][heroku-node-docs].\n\nYou'll need to edit the `Procfile` to set the name of your hubot.\n\nMore detailed documentation can be found on the\n[deploying hubot onto Heroku][deploy-heroku] wiki page.\n\n### Deploying to UNIX or Windows\n\nIf you would like to deploy to either a UNIX operating system or Windows.\nPlease check out the [deploying hubot onto UNIX][deploy-unix] and\n[deploying hubot onto Windows][deploy-windows] wiki pages.\n\n[heroku-node-docs]: http://devcenter.heroku.com/articles/node-js\n[deploy-heroku]: https://github.com/github/hubot/blob/master/docs/deploying/heroku.md\n[deploy-unix]: https://github.com/github/hubot/blob/master/docs/deploying/unix.md\n[deploy-windows]: https://github.com/github/hubot/blob/master/docs/deploying/unix.md\n\n## Campfire Variables\n\nIf you are using the Campfire adapter you will need to set some environment\nvariables. Refer to the documentation for other adapters and the configuraiton\nof those, links to the adapters can be found on [Hubot Adapters][hubot-adapters].\n\nCreate a separate Campfire user for your bot and get their token from the web\nUI.\n\n    % heroku config:add HUBOT_CAMPFIRE_TOKEN=\"...\"\n\nGet the numeric IDs of the rooms you want the bot to join, comma delimited. If\nyou want the bot to connect to `https://mysubdomain.campfirenow.com/room/42`\nand `https://mysubdomain.campfirenow.com/room/1024` then you'd add it like this:\n\n    % heroku config:add HUBOT_CAMPFIRE_ROOMS=\"42,1024\"\n\nAdd the subdomain hubot should connect to. If you web URL looks like\n`http://mysubdomain.campfirenow.com` then you'd add it like this:\n\n    % heroku config:add HUBOT_CAMPFIRE_ACCOUNT=\"mysubdomain\"\n\n[hubot-adapters]: https://github.com/github/hubot/blob/master/docs/adapters.md\n\n## Restart the bot\n\nYou may want to get comfortable with `heroku logs` and `heroku restart`\nif you're having issues.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fserima%2Fgitobi_bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fserima%2Fgitobi_bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fserima%2Fgitobi_bot/lists"}