Giter Site home page Giter Site logo

arjunankathatti / chat-widget Goto Github PK

View Code? Open in Web Editor NEW
11.0 2.0 6.0 358 KB

This is a Javascript project developed using npm, sass and gulp. The Javascript file will embed a chat widget on to your web page. All you need to do is copy assests/js/main.js file to you html file.

Home Page: https://acarjungowda.github.io/chat-widget/

JavaScript 67.08% HTML 7.70% CSS 25.22%
chat-widget dialogflow chatbots javascript gulp

chat-widget's Introduction

chat-widget

This is a Javascript project developed using npm, sass and gulp. The Javascript file will embed a chat widget on to your web page. All you need to do is copy assests/js/main.js file to you html file.

Prerequisites

Your html page shoul have JQuery and Bootstrap. You can just copy the content of the assests/js/main.js to your html file for embedding.

Customizing

Clone this repo, install npm and run npm install to install all the required packages.

Change the src/css/_variable.scss and src/css/chatbot.scss file to modify the CSS style of the chat widget.

Note: Please make sure to run gulp to compile the changes and copy the content of the compile minified CSS in assests/css/chatbot.css into the src/js/chatbot.js file. This step is not necessary for the local development. Do this once you are done with all the edits to the CSS files.

All the logic related bot is written in javascript file. Please take a look at src/js/chatbot.js. To configure your own Dialogflow chatbot make sure you change the accessToken variable in the src/js/chatbot.js file.

Installation

git clone https://github.com/acarjungowda/chat-widget.git
cd chat-widget
npm install
gulp

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.