mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-29 08:33:20 +00:00
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3. - [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md) - [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3) --- updated-dependencies: - dependency-name: braces dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
Chat Widget
A simple chat widget that can be easily integrated into any website.
Installation
-
Host the
widget.html,styles.css, andscript.jsfiles from thesrcfolder on your own server or a Content Delivery Network (CDN). Make sure to note the URLs for these files. -
Update the URLs in the
dist/chat-widget.jsfile to match the locations of your hosted files:fetch("https://your-server-or-cdn.com/path/to/widget.html"), fetch("https://your-server-or-cdn.com/path/to/styles.css"), fetch("https://your-server-or-cdn.com/path/to/script.js"), -
Host the
dist/chat-widget.jsfile on your own server or a Content Delivery Network (CDN). Make sure to note the URL for this file.
##Integration
To integrate the chat widget into a website, add the following script tag to the HTML file, replacing URL_TO_CHAT_WIDGET_JS with the actual URL of your hosted chat-widget.js file:
<script src="URL_TO_CHAT_WIDGET_JS"></script>