{"id":22704793,"url":"https://github.com/botsquad/web-client","last_synced_at":"2025-08-10T19:29:37.582Z","repository":{"id":39888846,"uuid":"244851874","full_name":"botsquad/web-client","owner":"botsquad","description":"Botsquad's chat component for ReactJS","archived":false,"fork":false,"pushed_at":"2024-02-22T07:57:07.000Z","size":2353,"stargazers_count":5,"open_issues_count":3,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-18T09:03:47.031Z","etag":null,"topics":["chatbot","reactjs","reactjs-components"],"latest_commit_sha":null,"homepage":"https://web-client-demo.bsqd.me/","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/botsquad.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":"2020-03-04T08:55:11.000Z","updated_at":"2023-06-13T11:56:21.000Z","dependencies_parsed_at":"2024-10-21T20:00:53.804Z","dependency_job_id":null,"html_url":"https://github.com/botsquad/web-client","commit_stats":{"total_commits":326,"total_committers":8,"mean_commits":40.75,"dds":"0.28220858895705525","last_synced_commit":"5e1260c2285586bc6cff309625359b994415413e"},"previous_names":[],"tags_count":114,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/botsquad%2Fweb-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/botsquad%2Fweb-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/botsquad%2Fweb-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/botsquad%2Fweb-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/botsquad","download_url":"https://codeload.github.com/botsquad/web-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247726623,"owners_count":20985943,"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":["chatbot","reactjs","reactjs-components"],"created_at":"2024-12-10T09:07:55.060Z","updated_at":"2025-04-13T10:52:49.415Z","avatar_url":"https://github.com/botsquad.png","language":"TypeScript","readme":"# BotSquad Web Client React component\n\n[![CI check/test/build](https://github.com/botsquad/web-client/actions/workflows/webpack.yml/badge.svg)](https://github.com/botsquad/web-client/actions/workflows/webpack.yml)\n[![npm (scoped)](https://img.shields.io/npm/v/@botsquad/web-client)](https://www.npmjs.com/package/@botsquad/web-client)\n\nThe BotSquad Web Client components embeds Botsquad chatbots inside a\nReact component for the web.\n\n## Demo\n\nA Botsquad chatbot has a lot of UI controls, like input widgets and chat bubble types. To try them all out, visit the\n[Web Client demonstration page](https://web-client-demo.bsqd.me/).\n\n## Installation\n\n    npm install @botsquad/web-client\n\n## Development\n\n1. Install dependencies with `npm install`\n1. Create a .devenv in the root folder and add the contents of template.devenv and replace the variables with the keys you have.\n1. Run in development with `npm run dev`\n\n## Example code\n\n```javascript\nimport React from 'react'\nimport WebClient from '@botsquad/web-client'\n\n// A user ID, based on a cookie or some external property\nconst user_id = 'u' + Math.random()\n\n// your Botsquad bot\nconst bot_id = '1adc3f20-32e9-4376-a147-d9ef23ac8a4c'\n\nfunction App() {\n  return (\n    \u003cdiv className=\"botsquad-components layout-docked\"\u003e\n      \u003cWebClient bot_id={bot_id} params={{ user_id }} /\u003e\n    \u003c/div\u003e\n  )\n}\n\nexport default App\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbotsquad%2Fweb-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbotsquad%2Fweb-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbotsquad%2Fweb-client/lists"}