{"id":21343745,"url":"https://github.com/catalystcode/bot-to-bot-master","last_synced_at":"2025-08-19T22:14:10.216Z","repository":{"id":73516899,"uuid":"83222636","full_name":"CatalystCode/bot-to-bot-master","owner":"CatalystCode","description":"bot-to-bot-master","archived":false,"fork":false,"pushed_at":"2017-04-06T13:57:42.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-16T03:14:22.613Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/CatalystCode.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-26T16:18:09.000Z","updated_at":"2019-06-11T19:32:14.000Z","dependencies_parsed_at":"2023-06-01T06:30:30.952Z","dependency_job_id":null,"html_url":"https://github.com/CatalystCode/bot-to-bot-master","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CatalystCode/bot-to-bot-master","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CatalystCode%2Fbot-to-bot-master","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CatalystCode%2Fbot-to-bot-master/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CatalystCode%2Fbot-to-bot-master/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CatalystCode%2Fbot-to-bot-master/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CatalystCode","download_url":"https://codeload.github.com/CatalystCode/bot-to-bot-master/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CatalystCode%2Fbot-to-bot-master/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271231131,"owners_count":24723059,"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","status":"online","status_checked_at":"2025-08-19T02:00:09.176Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-22T01:15:05.903Z","updated_at":"2025-08-19T22:14:10.195Z","avatar_url":"https://github.com/CatalystCode.png","language":"JavaScript","readme":"# Bot-To-Bot Master\n\nThis is an example for a master bot that can route user messages to other external bots (slaves) that are developed and deployed independently.\n\n## How to use\n\n* Follow these commands to download and run te master bot locally:\n\n```\n\tgit clone https://github.com/CatalystCode/bot-to-bot-master.git\n\tcd bot-to-bot-master\n\tnpm install\n\tnpm start\n```\n\n* Run your slave bot locally on port 3978, or use the [following sample slave bot](https://github.com/CatalystCode/bot-to-bot-sub) for the demo.\n\n* In order to start conversation with this bot, open the emulator, and use the following address: `http://localhost:3977/api/messages` without providing the App Id and Password.\n\n* Type anything to start talking to the master bot. You'll get in response the step number you're in.\n\n* In order to start routing messages to your slave bot, type `slave`. Since that moment, your messages will be routed to your slave bot. \n\n* To stop routing the messages to the slave bot and return control to the master bot, type `bye`. You should see that you got back to the next step in the dialog of the master bot.\n\n* If you type `slave` again, you'll continue from the last step that you left the slave bot before resuming control to the master bot.\n\n\n\n\n\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcatalystcode%2Fbot-to-bot-master","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcatalystcode%2Fbot-to-bot-master","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcatalystcode%2Fbot-to-bot-master/lists"}