{"id":16590663,"url":"https://github.com/pacdiv/embedded-slack-react","last_synced_at":"2025-09-26T02:31:36.936Z","repository":{"id":57222941,"uuid":"83220855","full_name":"pacdiv/embedded-slack-react","owner":"pacdiv","description":null,"archived":false,"fork":false,"pushed_at":"2017-02-26T15:54:23.000Z","size":5,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-25T15:22:26.752Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pacdiv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-26T15:50:42.000Z","updated_at":"2023-03-14T07:06:11.000Z","dependencies_parsed_at":"2022-08-28T21:41:56.851Z","dependency_job_id":null,"html_url":"https://github.com/pacdiv/embedded-slack-react","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/pacdiv%2Fembedded-slack-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pacdiv%2Fembedded-slack-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pacdiv%2Fembedded-slack-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pacdiv%2Fembedded-slack-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pacdiv","download_url":"https://codeload.github.com/pacdiv/embedded-slack-react/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234286149,"owners_count":18808433,"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-10-11T23:14:00.084Z","updated_at":"2025-09-26T02:31:36.623Z","avatar_url":"https://github.com/pacdiv.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# embedded-slack-react\n\nEmbedded Slack React allows you to add a Slack built-in chat on your website using React.\n\n\u003e **Note:** :warning:\n\u003e Embedded Slack and Embedded Slack React were been developed as a technical try to determine if Slack can be used from a web page, to allow customers to discuss with a support team. They currently work with a test token so, **at this time, using those packages in production is not recommanded**.\n\n### Prerequisites\n\n----------\n\nYou need all [embedded-slack](https://github.com/pacdiv/embedded-slack) prerequisites, nothing more ! :slightly_smiling_face:\n\n### Usage\n\n----------\n\nIn this example, we create an EmbeddedSlackReact object with the two mandatory properties:\n```javascript\n// index.js\nimport EmbeddedSlackReact from 'embedded-slack-react'\nimport React from 'react'\nimport ReactDOM from 'react-dom'\n\nReactDOM.render(\u003cEmbeddedSlackReact\n  channel=\"your_channel_id\"\n  token=\"your_channel_id\"\n/\u003e, document.getElementById('embedded-slack-wrapper'))\n```\n```html\n\u003c!-- index.html --\u003e\n\u003cbody\u003e\n  \u003cdiv id=\"embedded-slack-wrapper\" /\u003e\n\u003c/body\u003e\n```\nDo you see a blue div on the bottom right of your website now ? Good, you made it ! :slightly_smiling_face:\n\n### Built With\n\n----------\n\n[embedded-slack](https://github.com/pacdiv/embedded-slack) - Adds a Slack built-in chat to your website\n\n[react](https://www.npmjs.com/package/react) - React is a JavaScript library for building user interfaces\n\n### License\n\n----------\n\n[MIT](LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpacdiv%2Fembedded-slack-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpacdiv%2Fembedded-slack-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpacdiv%2Fembedded-slack-react/lists"}