front-client Svelte Themes

Front Client

⚙️ The embeddable for the Ibentau chatbot

Chatbot Embeddable Client

A simple, lightweight chatbot client built with the Svelte JavaScript framework. Easily embeddable on any website.

Features

  • Responsive design for desktop and mobile devices
  • Customizable style and branding
  • User input validation
  • Full-featured chatbot functionality

Getting Started

  1. Add the following script and link tag to the head of your HTML file:

<script id="ibentau-chatbot-script" async type="module" crossorigin
        src="https://cdn.jsdelivr.net/gh/Ibentau/front-client@main/dist/ibentau.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/Ibentau/front-client@main/dist/style.css">
  1. Add the following script tag at the end of your HTML file:
<script>
  document.querySelector('#ibentau-chatbot-script').addEventListener('load', function() {
    new ChatBot({
      target: document.body,
      props: {
          botName: 'ViteBot', 
          endpoint: 'https://api.ibentau.com/chat',
          botAvatar: 'https://cdn.ibentau.com/images/vitebot.png',
          mainColor: "#00bfa5",
          footer: 'Disclaimer: All responses are generated by a machine learning model. Find out more at <a href="https://ibentau.com">ibentau.com</a>'
      },
    });
  });
</script>

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

Top categories

Loading Svelte Themes