About this plugin
Custumu shows the chat widget on the public pages of your site. After you activate the plugin, open Settings → Custumu and paste the public key from your dashboard.
js is a compiled file. The human-readable source that produces it is included in the source directory of this plugin. js names each bundled library, its version, its license, and its public repository.
Source code
js is built with Vite from the files in `source`. The widget entry is `source/widget`. The shared chat components it imports are `source/src/components` and `source/src/lib`.
js, assets/emojibase, and source from the Custumu project:
- Install Node.js and npm.
- Run npm install.
- Run npm run build:widget.
js, the emoji data, and the human-readable source into this plugin.
js:
- React and React DOM — MIT — https://github.com/react/react
- frimousse — MIT — https://github.com/liveblocks/frimousse
- lucide-react — ISC — https://github.com/lucide-icons/lucide
- react-markdown — MIT — https://github.com/remarkjs/react-markdown
- remark-gfm — MIT — https://github.com/remarkjs/remark-gfm
- remark-breaks — MIT — https://github.com/remarkjs/remark-breaks
com/milesj/emojibase
json. The chat loads them from the plugin directory.
External services
com to show the chat on the public pages of the site and to let visitors talk with the business assistant.
It sends the site’s public key when the page loads, to fetch the widget settings (name, color, welcome message, and logo address).
When a visitor opens the chat, it sends that public key and a visitor identifier stored in the browser. When the visitor writes, it sends the message text, the address of the page, and the visitor’s timezone. When the visitor opens an earlier conversation, it sends the public key, the visitor identifier, and the conversation identifier.
When the visitor rates a closed conversation, it sends the score and an optional comment.
The logo, when the business has set one, is the image address returned by this API.
This service is provided by “Custumu”: terms of use, privacy policy.