# @talkdata/webchatwidget

> chatbot widget for websites

Latest version **0.1.9** (published 2020-12-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install @talkdata/webchatwidget
pnpm add @talkdata/webchatwidget
yarn add @talkdata/webchatwidget
bun add @talkdata/webchatwidget
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.9 |
| Published | 2020-12-11 |
| First published | 2019-11-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 8.7 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | talkdata |
| Keywords | chat, live chat, chatbot, web component |

## Links

- npm: https://www.npmjs.com/package/@talkdata/webchatwidget
- Repository: https://cmc1@bitbucket.org/talkdata/webchatwidget
- Homepage: https://bitbucket.org/talkdata/webchatwidget#readme
- npm.io page: https://npm.io/package/@talkdata/webchatwidget

## Dependencies (2)

- [np](https://npm.io/package/np.md) ^5.2.1
- [@ionic/core](https://npm.io/package/@ionic/core.md) ^5.5.2

## Recent versions

- 0.1.9 (latest) — 2020-12-11
- 0.1.8 — 2019-12-19
- 0.1.7 — 2019-12-18
- 0.1.6 — 2019-12-18
- 0.1.5 — 2019-12-13
- 0.1.4 — 2019-12-12
- 0.1.2 — 2019-11-27
- 0.1.1 — 2019-11-21

## README

# web chat widget

- this repo is widget code that can be embedded as a script on any website
- it appears as a pop up window from an icon on the bottom left of the website
- it has chat capabilities that link with our chat server to answer simple questions on a website
- this code is based on ionic's stencil web component generator 
and example code here https://github.com/assister-ai/assister

- to install, copy the script from this sample index html into your website index.html
- edit the url to point to the back end chat server that handles messages
- edit the root: config variables to adjust styling

## to run

(need to have stencil and ionic core installed)
npm install @stencil/core@latest --save-exact
npm install @ionic/core@latest --save-exact

```bash
npm install
npm start
```

or (with the simple webserver serve installed)

```bash
npm run build
cd www
serve
```

To build the component for production, run:

```bash
npm run build
```

To run the unit tests for the components, run:

```bash
npm test
```

Need help? Check out the Stencil docs [here](https://stenciljs.com/docs/my-first-component).

---
_Source: https://npm.io/package/@talkdata/webchatwidget · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
