Skip to content

en3sis/oryx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Notification tool

A generic tool that receives a request and sends a message to a discord webhook channel.

Run container

You can run the container with the following command:

docker run -e URL="DISCORD_WEBHOOK_URL" -e SECRET="YOUR_SECRET_TOKEN" -p 8000:8000 --name oryx en3sis/oryx:latest

or, you can build the image and run it:

docker build -t oryx:latest .

docker run -e URL="DISCORD_WEBHOOK_URL" -e SECRET="YOUR_SECRET_TOKEN" -p 8000:8000 --name oryx oryx:latest

Request example

curl --request POST \
  --url http://localhost:8000/ \
  --header 'API-Key: SECRET' \
  --header 'Content-Type: application/json' \
  --data '{
      "type": "error",
      "color": "0ff0000",
      "message": "This is a bad error! =/"
    }'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published