Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@chatbootai/chat

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chatbootai/chat

Chat web component implementing the ChatBootAI protocol

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

🤖 ChatBootAI: Reusable Chat Web Component

This package provides a reusable web component that can be used to add an AI chatbot compatible with the ChatBootAI OpenAPI specification to any website.

Installation

npm install @chatbootai/chat-web-component

Usage

Once the package is installed, you can use the web component in your HTML code:

<cba-chat options="{ apiUrl: 'http://your-chat-backend.com' }"></cba-chat>

Depending of the framework and build system you're using, you'll have to import the web component in your JS code in different ways. You can have a look at the various integrations examples here:

Development

This project uses Vite as a frontend build tool, and Lit as a web components library.

Available Scripts

In the project directory, you can run:

npm run dev

To start the app in dev mode.
Open http://localhost:8000 to view it in the browser.

npm run build

To build the web component for production to the dist folder.

npm run build:website

To build the demo website for the component to the dist folder.

Keywords

FAQs

Package last updated on 21 Dec 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc