{"id":15425260,"url":"https://github.com/msimecek/desktop-chatbot","last_synced_at":"2025-04-19T16:14:45.293Z","repository":{"id":95299108,"uuid":"106284983","full_name":"msimecek/Desktop-Chatbot","owner":"msimecek","description":"Desktop application wrapper for the Bot Framework WebChat control built using Electron.","archived":false,"fork":false,"pushed_at":"2017-11-16T14:38:41.000Z","size":86,"stargazers_count":4,"open_issues_count":1,"forks_count":3,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-18T05:08:29.809Z","etag":null,"topics":["bot-framework","electron"],"latest_commit_sha":null,"homepage":"http://codez.deedx.cz/projects/desktop-chatbot/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/msimecek.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,"publiccode":null,"codemeta":null}},"created_at":"2017-10-09T13:08:59.000Z","updated_at":"2023-08-29T10:27:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"dfb8f2a2-27db-4e78-9eee-936d310a9eb1","html_url":"https://github.com/msimecek/Desktop-Chatbot","commit_stats":{"total_commits":17,"total_committers":1,"mean_commits":17.0,"dds":0.0,"last_synced_commit":"d0f094451ab45effdce92a05868ba37338e2ab2d"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msimecek%2FDesktop-Chatbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msimecek%2FDesktop-Chatbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msimecek%2FDesktop-Chatbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msimecek%2FDesktop-Chatbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/msimecek","download_url":"https://codeload.github.com/msimecek/Desktop-Chatbot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249735196,"owners_count":21318002,"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":["bot-framework","electron"],"created_at":"2024-10-01T17:50:35.986Z","updated_at":"2025-04-19T16:14:45.244Z","avatar_url":"https://github.com/msimecek.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Desktop Chatbot\n\nHosting Bot Framework's web chat control inside an Electron app to enable chatbot distribution independent from operating system \u0026 web browser.\n\n![](Images/chatbot-window.png)\n\n![](Images/tray-menu.png)\n\n\u003e This project was built in cooperation with a real customer. Read the whole story [on my blog](http://codez.deedx.cz/projects/desktop-chatbot/).\n\n## How to build it\n\nThis app is built using Electron and TypeScript. To be able to edit and build it, you need to install:\n\n* [Node.js](https://nodejs.org/en/)\n* [TypeScript](https://www.typescriptlang.org/#download-links)\n  * can be installed via npm: `npm install -g typescript`\n* to browse and edit the code I recommend [Visual Studio Code](https://code.visualstudio.com/)\n\nYou also need to have a [Bot Framework](http://dev.botframework.com) chatbot registered at the portal with [DirectLine channel enabled](https://docs.microsoft.com/en-us/bot-framework/channel-connect-directline).\n\n## Configuration\n\nCopy your **DirectLine secret** from the portal and paste it to `/app/botConfig.ts` - value `directLineSecret`. Also change the rest of the configuration to suit your needs.\n\n```typescript\nexport const BotConfig = \n{\n    header: {\n        backgroundColor: \"lightblue\",\n        textColor: \"white\",\n        visible: false\n    },\n\n    bot: {\n        directLineSecret: \"Mfy7FwAXCAAACSCSAAAd.cwA.8zI.AAAANNSKKSSDJa-rQxsBxZJSsaAO0r5mqYape4\",\n        userId: \"user\",\n        userName: \"User\",\n        botId: \"bot\",\n        botName: \"Bot\"\n    },\n\n    uploadButton: false,\n    devMode: false\n}\n```\n\nThen you can build and start the app:\n\n1. Download this repo or clone it with Git: `git clone https://github.com/msimecek/Desktop-Chatbot.git` \n2. `cd Desktop-Chatbot/src`\n3. `npm install`\n4. `tsc -p ../`\n5. `npm start`\n\n## Installer\n\nTo build an installer, simply run `/src/js/installer.js` with Node.js:\n\n```\ncd Desktop-Chatbot/src/js\nnode installer.js\n```\n\nIt takes a few seconds, so be patient.\n\nYou will find output in the `/out` folder.\n\n## Remarks\n\nIcon used by this project was made by [Gregor Cresnar](https://www.flaticon.com/authors/gregor-cresnar) from [https://www.flaticon.com/](www.flaticon.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsimecek%2Fdesktop-chatbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmsimecek%2Fdesktop-chatbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsimecek%2Fdesktop-chatbot/lists"}