WidgetBot is a pixel-perfect open-source Discord chat widget for your website. It is distributed and developed under the GNU General Public License v3 (GPL-3) Open Source License.
The official Widgetbot team uses Visual Studio Code for developing Widgetbot.
You can use either, or something else.
Building Embed & Server
Before you are able to build anything make sure you have
npm install -g yarn
If you're a macOS or Linux user, of if you're on Windows with the Git shell installed, you can build all packages at once like this:
If you want to build them manually or use Windows without Git shell:
yarn yarn workspace @widgetbot/embed-api build yarn workspace @widgetbot/react-embed build yarn workspace @widgetbot/html-embed build # you can skip this one if you don't need it yarn workspace embed build yarn workspace @widgetbot/crate build yarn workspace server build
Then run the server:
yarn workspace server start
- You can find the embed running at http://localhost:7000/channels/YOUR-SERVER-ID.
- Invite your Bot to your Discord server using http://localhost:7000/api/invite.
|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/|
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!