{"id":19732872,"url":"https://github.com/riptl/dialog-hubot-adapter","last_synced_at":"2025-02-27T20:48:18.847Z","repository":{"id":96132195,"uuid":"167284592","full_name":"riptl/dialog-hubot-adapter","owner":"riptl","description":"This is a Hubot adapter to use with dialog.","archived":false,"fork":false,"pushed_at":"2019-02-09T04:55:41.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-24T18:06:55.420Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/riptl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2019-01-24T01:55:51.000Z","updated_at":"2022-05-06T12:33:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"33eec54c-553d-4c78-9582-bf66eeac6b07","html_url":"https://github.com/riptl/dialog-hubot-adapter","commit_stats":null,"previous_names":["riptl/dialog-hubot-adapter"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/riptl%2Fdialog-hubot-adapter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/riptl%2Fdialog-hubot-adapter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/riptl%2Fdialog-hubot-adapter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/riptl%2Fdialog-hubot-adapter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/riptl","download_url":"https://codeload.github.com/riptl/dialog-hubot-adapter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241058407,"owners_count":19902176,"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-11-12T00:28:15.905Z","updated_at":"2025-02-27T20:48:18.820Z","avatar_url":"https://github.com/riptl.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hubot adapter for dialog\n\nEasily bring the friendly robot sidekick [Hubot](https://hubot.github.com/) to [dialog](https://dlg.im/en)!\n\n### Setup: Docker\n\nThe quickest way to run Hubot is the Docker image!\n\n```sh\ndocker run -it \\\n    -e DIALOGS_TOKEN=xxx \\\n    -e DIALOGS_ENDPOINT=https://grpc-test.transmit.im:9443 \\\n    -e BOT_SCRIPTS=hubot-pugme,hubot-help \\\n    terorie/hubot-dialogs\n```\n\nTo include custom scripts, use `-v $PWD/scripts:/home/hubot/scripts \\ `.\n\nSee all settings [here](#environment-variable-reference).\nSyntax is `-e \u003cKey\u003e=\u003cvalue\u003e \\ `\n\n_(Based on [Rocketchat's image](https://github.com/RocketChat/hubot-rocketchat))_\n\n### Setup: Manual\n\nNodeJS 10 required!\n\n```shell\n# 1. Install command-line tools\nnpm i -g yo generator-hubot\n\n# 2. Create workspace\nmkdir hubot \u0026\u0026 cd hubot\n\n# 3. Generate new bot\nyo hubot\n\n# 4. Install Dialog adapter\nnpm i hubot-dialogs\n\n# 5. Edit external-scripts.json\n     and/or install your own scripts\n# ...\n\n# 6. Start the bot\n#    It will now respond to any Dialog\n#    messages prefixed with \"coolbot\".\n#    You can change the name (-n flag).\nbin/hubot -a dialogs -n coolbot\n```\n\nMore information in the [Hubot docs](https://hubot.github.com/docs/)\n\n### Environment variable reference\n\n| Key | Meaning | Example |\n| --- | --- | --- |\n| `BOT_NAME` | Bot Name | `CoolBot` |\n| `BOT_SCRIPTS` | Comma-separated list of script packages on npm | `hubot-pugme,hubot-help` |\n| `DIALOGS_ENDPOINT` | GRPC Server URL | `https://grpc-test.transmit.im:9443` |\n| `DIALOGS_TOKEN` | Dialog bot token | looks like `a6bc21d0...` |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Friptl%2Fdialog-hubot-adapter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Friptl%2Fdialog-hubot-adapter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Friptl%2Fdialog-hubot-adapter/lists"}