https://github.com/widgetbot-io/crate
Popup Discord widgets for your website ☄️
https://github.com/widgetbot-io/crate
crate hacktoberfest popup react widgetbot
Last synced: 11 months ago
JSON representation
Popup Discord widgets for your website ☄️
- Host: GitHub
- URL: https://github.com/widgetbot-io/crate
- Owner: widgetbot-io
- License: agpl-3.0
- Created: 2018-01-16T21:09:44.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-12-14T16:26:32.000Z (over 2 years ago)
- Last Synced: 2025-07-20T14:12:13.492Z (12 months ago)
- Topics: crate, hacktoberfest, popup, react, widgetbot
- Language: TypeScript
- Homepage: https://docs.widgetbot.io/embed/crate/
- Size: 3.16 MB
- Stars: 72
- Watchers: 3
- Forks: 12
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Crate
[](https://www.npmjs.com/package/@widgetbot/crate)
[](https://docs.widgetbot.io/crate/)
[](https://www.jsdelivr.com/package/npm/@widgetbot/crate)
Clean & powerful popup Discord widgets for your website.

# Usage
See the [documentation](https://docs.widgetbot.io/crate/) for more options.
```html
const crate = new Crate({
server: '299881420891881473',
channel: '355719584830980096'
})
crate.notify('Test notification')
crate.on('signIn', data => {
console.log(`Guest signed in as ${data.name}`)
crate.emit('sendMessage', 'Hello world')
})
```