hoopback
Hoopback is a webhook to webhook middleware, intended to bridge two webhooks that are not initally compatible. For example, Discord webhooks have a special form that likely doesn't match the form of a webhook from a service like Heroku. Therefore, Hoopback can convert the Heroku webhook payload to one that is Discord compatible and then send the webhook for you. More information at https://hoopback.schwa.tech.
Getting Started
- Create Discord OAuth App and a MongoDB instance
- Clone the repository
$ git clone https://github.com/Kalissaac/hoopback && cd hoopback
- Populate .env
.env
------------------------------------------
CLIENT_ID=<Discord OAuth client ID>
CLIENT_SECRET=<Discord OAuth client secret>
MONGODB_URI=<MongoDB connection URI>
PORT=<optional, port to run web server on>
- Get dependencies (
npm
is used for TailwindCSS)
$ go get
$ npm install
- Build project
$ npm run build
$ go build web.go
- Run project
$ ./build/hoopback