Skip to content

Commit

Permalink
Add README and fix package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
DerZade committed Apr 17, 2021
1 parent d40725d commit 26e44ca
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# webhook.gruppe-adler.de

A proxy for GitHub -> Discord webhooks, which automatically discards events from private repositories.

## Usage
If you want to add an webhook to github you just prepend `https://webhook.gruppe-adler.de/github?url=` to the webhook url.

So if your Discord webhook URL is `https://discordapp.com/api/webhooks/01/02/github` you have to add an GitHub webhook with the following url: `https://webhook.gruppe-adler.de/github?url=https://discordapp.com/api/webhooks/01/02/github`.
11 changes: 8 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,18 @@
"name": "webhook.gruppe-adler.de",
"version": "1.0.0",
"description": "",
"main": "index.js",
"private": true,
"main": "index.mjs",
"repository": {
"type": "git",
"url": "https://github.com/gruppe-adler/webhook.gruppe-adler.de.git"
},
"scripts": {
"start": "node index.mjs"
},
"keywords": [],
"author": "",
"license": "ISC",
"author": "DerZade",
"license": "",
"dependencies": {
"body-parser": "^1.19.0",
"express": "^4.17.1",
Expand Down

0 comments on commit 26e44ca

Please sign in to comment.