Giter Site home page Giter Site logo

kyoripowered / disgit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jroy/disgit

0.0 2.0 0.0 119 KB

A cloudflare worker which provides better github->discord webhooks than the built in discord webhook executor.

License: Apache License 2.0

JavaScript 100.00%

disgit's Introduction

disgit

A cloudflare worker script which provides better github->discord webhooks than the built in discord webhook executor.

Supported Events

The following webhook events are supported as of now;

Installation

  1. Go to your cloudflare worker dashboard by clicking here and create a new worker.
  2. Copy all the code from disgit.js and paste it into the script window of your worker.
  3. Click Save and Deploy and confirm your deployment.
  4. Create a new webhook in your GitHub repository/organization settings.
  5. Paste your worker's url into the Payload URL field and append (webhook id)/(webhook token) to the end.
    • For example if you had the worker url https://my-worker.test.workers.dev and the discord webhook url https://discord.com/api/webhooks/840438712203557422/8H3D57RQzftJmhw9VfEaLFLABjItuDScjU-c_nYKffb1hTlktLapwd, the payload url you should have in the GitHub webhook form is https://my-worker.test.workers.dev./840438712203557422/8H3D57RQzftJmhw9VfEaLFLABjItuDScjU-c_nYKffb1hTlktLapwd.
  6. Set the Content type to application/json
  7. You can configure the events to whichever you would like to receive. Remember that some events require you to explicitly pick them in "Let me select individual events" and will not send with the "Send my everything" option.
  8. Click Add webhook.
  9. That's it, you're all setup, and your webhooks should start coming in.

disgit's People

Contributors

chew avatar e-im avatar jroy avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.