https://github.com/unlock-protocol/websub-discord
A small application to post updates from unlock locksmith events to discord using websub
https://github.com/unlock-protocol/websub-discord
discord events express locksmith node notification typescript unlock webhook websub
Last synced: about 1 month ago
JSON representation
A small application to post updates from unlock locksmith events to discord using websub
- Host: GitHub
- URL: https://github.com/unlock-protocol/websub-discord
- Owner: unlock-protocol
- License: mit
- Created: 2022-01-24T18:07:27.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-22T15:25:39.000Z (over 1 year ago)
- Last Synced: 2024-02-23T15:54:46.149Z (over 1 year ago)
- Topics: discord, events, express, locksmith, node, notification, typescript, unlock, webhook, websub
- Language: TypeScript
- Homepage:
- Size: 125 KB
- Stars: 2
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# Websub Discord
This is an example application which receives events from locksmith websub endpoints and posts them to a Discord channel using webhook.
## Configure
Rename .template.env to .env file and fill all the keys with correct values.
You will need to create a hook for locksmith to receive events on your callback endpoint.
## Develop
1. Install all the dependencies.
```sh
yarn install
```2. Run `yarn dev` inside the project directory. This will automatically load the environment variables and kickstart the server.