https://github.com/sefinek/omada-webhook-to-discord
An easy script for integrating Discord Webhooks with the Omada Controller. It allows sending logs from the controller to a selected Discord channel.
https://github.com/sefinek/omada-webhook-to-discord
discord discord-omada discord-webhook discord-webhooks express expressjs expressjs-server integration node node-js nodejs omada omada-controller omada-integration webhook-integration
Last synced: 10 months ago
JSON representation
An easy script for integrating Discord Webhooks with the Omada Controller. It allows sending logs from the controller to a selected Discord channel.
- Host: GitHub
- URL: https://github.com/sefinek/omada-webhook-to-discord
- Owner: sefinek
- License: mit
- Created: 2024-11-26T17:22:35.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-04T23:27:45.000Z (over 1 year ago)
- Last Synced: 2025-01-17T21:34:24.829Z (over 1 year ago)
- Topics: discord, discord-omada, discord-webhook, discord-webhooks, express, expressjs, expressjs-server, integration, node, node-js, nodejs, omada, omada-controller, omada-integration, webhook-integration
- Language: JavaScript
- Homepage:
- Size: 323 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# 🌌 Omada Webhook to Discord
An easy script for integrating Discord Webhooks with the Omada Controller. It allows sending logs from the controller to a selected Discord channel.

*ENABLE_DATA_CENSORING=true*
## Worth Knowing
✅ Discord @mentions for critical alerts (detected attack, errors, etc.)
✅ [Middleware](middlewares/verifySecret.js) responsible for verifying the `shardSecret`.
✅ Ability to enable censorship of sensitive data.
✅ Ready [configuration](ecosystem.config.js) for [PM2](https://www.npmjs.com/package/pm2).
✅ Built in [Node.js](https://nodejs.org) using the [Express.js](https://www.npmjs.com/package/express) framework.
## Cloning
```bash
git clone https://github.com/sefinek/Omada-Webhook-to-Discord.git
```
## Endpoint
After running this script, webhooks from your controller should be directed to this endpoint:
```
POST /discord/webhook
```
### Example
```
http://192.168.0.145:8080/discord/webhook
```
## MIT License
Copyright 2024-2025 © by [Sefinek](https://sefinek.net). All Rights Reserved.