mrcsxsiq / sentrydiscord.dev

Forward Sentry notifications to your Discord server

Home Page:https://sentrydiscord.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sentry → Discord

Event Count Webhook Count


Sentry → Discord is a service for forwarding Sentry event notifications to Discord. It acts as a middleman and transforms the webhook payload into a Discord-compatible format.

You can run your own version of Sentry → Discord or use the free, hosted version at https://sentrydiscord.dev.

Local Development

To get started in a local environment, you'll need a PostgreSQL instance running locally. Clone the repository and run

npm install
npx prisma migrate dev --preview-feature
npx prisma generate

Next, create a .env file with

DATABASE_URL=postgresql://...

Replacing the postgresql string with the URL to your local database. Finally, run

npm run dev

You should be able to view the website at http://localhost:3000.

Capturing Webhook Events

If you want to see what the Webhook payload looks like from Sentry, clone and run this website locally, and use a service like ngrok to get a public URL you can use to point Sentry to it. In development mode the console will print out the full Sentry payload.

About

Forward Sentry notifications to your Discord server

https://sentrydiscord.dev

License:MIT License


Languages

Language:TypeScript 79.1%Language:JavaScript 20.9%