{"id":13695910,"url":"https://github.com/ryanvolum/backChannelBot","last_synced_at":"2025-05-03T13:33:53.469Z","repository":{"id":68322398,"uuid":"79758003","full_name":"ryanvolum/backChannelBot","owner":"ryanvolum","description":"This is a basic bot that uses the DirectLine backchannel to send and receive event messages to an instance of WebChat","archived":false,"fork":false,"pushed_at":"2017-02-08T18:01:17.000Z","size":61,"stargazers_count":20,"open_issues_count":2,"forks_count":8,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-28T16:55:30.617Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/ryanvolum.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}},"created_at":"2017-01-23T01:06:41.000Z","updated_at":"2020-05-23T15:09:46.000Z","dependencies_parsed_at":"2023-03-29T00:09:23.912Z","dependency_job_id":null,"html_url":"https://github.com/ryanvolum/backChannelBot","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/ryanvolum%2FbackChannelBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanvolum%2FbackChannelBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanvolum%2FbackChannelBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanvolum%2FbackChannelBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryanvolum","download_url":"https://codeload.github.com/ryanvolum/backChannelBot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252196008,"owners_count":21709755,"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-08-02T18:00:34.634Z","updated_at":"2025-05-03T13:33:53.201Z","avatar_url":"https://github.com/ryanvolum.png","language":"JavaScript","funding_links":[],"categories":["Integrations"],"sub_categories":["Other"],"readme":"# Back Channel Bot\n\nNOTE: Running this demo requires running the [WebChat backchannel sample page](https://github.com/billba/BotFramework-WebChat/tree/master/samples/backchannel) which sends events of activity name \"buttonClicked\" and receives events with activity name \"changeBackground. \n\nThis is a basic bot that uses the [DirectLine](https://docs.botframework.com/en-us/restapi/directline3/) backchannel to send and receive event messages to an instance of [WebChat](https://github.com/billba/BotFramework-WebChat).\n\nThis highlights the ability for a bot to communicate with a page that embeds the bot through WebChat. In other words, our bot can:\n\n* Send events to a page that hosts an instance of WebChat - demonstrated by the bot sending an activity of type \"event\" and of name \"changeBackground\", which changes the background color of the parent page. \n* Listen for events from the page that hosts an instance of WebChat - demonstrated by the bot responding \"I see you clicked that button\" when it receives an event named buttonClicked.\n\n![Dialog Structure](./demo.gif)\n\nTo run the demo, pull the [WebChat repo](https://github.com/billba/BotFramework-WebChat) and follow instructions for running the samples. Create a bot from the [bot portal](dev.botframework.com) and (for testing) add keys to the connectorSetup.js file. Either [deploy the bot to Azure](https://docs.botframework.com/en-us/node/builder/guides/deploying-to-azure/) or [use ngrok to tunnel back into your machine](https://docs.botframework.com/en-us/node/builder/guides/core-concepts/#debugging-locally-using-ngrok) \n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanvolum%2FbackChannelBot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryanvolum%2FbackChannelBot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanvolum%2FbackChannelBot/lists"}