WidgetBot
WidgetBot is a pixel-perfect open-source Discord chat widget for your website.
@widgetbot/ | Description | ||
---|---|---|---|
embed | ReactJS widget client | Docs | /packages/embed/ |
crate | JS library that provides popup chat | Docs | /packages/crate/ |
react-embed | React component for the embed | Docs | /packages/react-embed/ |
html-embed | HTML element for the embed | Docs | /packages/html-embed/ |
embed-api | Embed GraphQL JS API | Docs | /packages/embed-api/ |
Getting started
Requirements:
- Node.js 10+
- Yarn
Embed
The embed is mostly React.JS with Typescript.
- React.js for describing the UI
- apollo-client and GraphQL for data fetching
- Mobx and mobx-state-tree for state management
- Emotion for styling components