{"id":17965234,"url":"https://github.com/tokenrove/chudbot","last_synced_at":"2025-04-03T19:43:56.857Z","repository":{"id":34634807,"uuid":"38585767","full_name":"tokenrove/chudbot","owner":"tokenrove","description":"Trivial IRC bot that parrots webhooks","archived":false,"fork":false,"pushed_at":"2017-07-13T01:25:34.000Z","size":21,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-09T08:16:46.764Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Erlang","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/tokenrove.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":"2015-07-05T22:02:07.000Z","updated_at":"2017-07-13T01:25:36.000Z","dependencies_parsed_at":"2022-09-14T17:30:58.421Z","dependency_job_id":null,"html_url":"https://github.com/tokenrove/chudbot","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/tokenrove%2Fchudbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tokenrove%2Fchudbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tokenrove%2Fchudbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tokenrove%2Fchudbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tokenrove","download_url":"https://codeload.github.com/tokenrove/chudbot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247070779,"owners_count":20878581,"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-29T12:10:35.497Z","updated_at":"2025-04-03T19:43:56.830Z","avatar_url":"https://github.com/tokenrove.png","language":"Erlang","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n    They're not staying down there, anymore!\n\nThis is a quick-and-dirty IRC bot that listens to HTTP-based\nnotifications from services like Trello and Github, so you can talk\nsmack to your Slack-using friends.\n\nActually, I don't expect it to be used by other people (it certainly\nisn't in any state to be reused), but it (almost) never hurts to make\nyour experiments, toys, and tests public.\n\nAdding Github hooks\n-------------------\n\n[See the documentation on Github](https://developer.github.com/webhooks/creating/).\n\nAdding Trello hooks\n-------------------\n\nGet your application key from [https://trello.com/1/appKey/generate](https://trello.com/1/appKey/generate).\n\nVisit\n```\nhttps://trello.com/1/authorize?name=Chudbot\u0026expiration=never\u0026response_type=token\u0026key=[YOUR KEY HERE]\n```\nin a browser to get a suitable token and setup `priv/trello.config`.\n\nYou can then use the functions in `chudbot_trello` to setup your\nwebhooks.  This is not particularly usable:\n\n```erlang\n\u003e {ok, TrelloConfig} =\n    file:consult(filename:join([code:priv_dir(chudbot), \"trello.config\"])).\n\u003e chudbot_trello:start().\n\u003e BoardsToModelIds = chudbot_trello:list_boards(TrelloConfig).\n\u003e BaseUrl = \"http://wherever.example.com:8080\".\n\u003e ModelId = proplists:get_value(\u003c\u003c\"My board\"\u003e\u003e, BoardsToModelIds).\n\u003e chudbot_trello:subscribe_webhook(ModelId, TrelloConfig, BaseUrl).\n```\n\n\nAdding BuildBot hooks\n---------------------\n\nUse [HttpStatusPush](http://docs.buildbot.net/0.8.1/HttpStatusPush.html):\n\n```python\nimport buildbot.status.status_push\nsp = buildbot.status.status_push.HttpStatusPush(serverUrl=\"http://example.com/chudbot/buildbot\")\nc['status'].append(sp)\n```\n\nBeware that buildbot will relentlessly hammer chudbot if it thinks the\nstatus push failed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftokenrove%2Fchudbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftokenrove%2Fchudbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftokenrove%2Fchudbot/lists"}