You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
DocsGPT/extensions/web-widget
dependabot[bot] e869bfd991
Bump postcss from 8.4.23 to 8.4.31 in /extensions/web-widget
Dependabot couldn't find the original pull request head commit, b4ce5c5d7b37c529245006df293f65d8065dd513.
8 months ago
..
dist web widget 1 year ago
src Fixed request length bug, changed to as less used port 11 months ago
README.md web widget 1 year ago
index.html web widget 1 year ago
package-lock.json Bump postcss from 8.4.23 to 8.4.31 in /extensions/web-widget 8 months ago
package.json web widget 1 year ago
tailwind.config.js web widget 1 year ago

README.md

Chat Widget

A simple chat widget that can be easily integrated into any website.

Installation

  1. Host the widget.html, styles.css, and script.js files from the src folder on your own server or a Content Delivery Network (CDN). Make sure to note the URLs for these files.

  2. Update the URLs in the dist/chat-widget.js file 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"),
    
  3. Host the dist/chat-widget.js file 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>