Skip to content

DroidZed/disco-hooker

Repository files navigation

Disco Hooker

Code style: black License Imports: isort linting: pylint Docker Image CI

Intro

Thi is a simple Discord Hook notifier backend written in flask & discord-webhook.

Example

THIS PROJECT USES PYTHON TYPE HINTING FEATURES SO A VERSION OF PYTHON >= 3.10 IS ADVISED !

Usage:

  1. Docker image:

    a. Pull the image:

    docker pull droidzed/disco-hooker:latest

    b. Run the container:

    docker run -d -p 6000:6000 -e PORT=6000 -e WEBHOOK_URL=YOUR_DISCORD_WEBHOOK_URL droidzed/disco-hooker:latest
  2. Run locally:

    a. Clone the repo:

    git clone https://github.com/DroidZed/disco-hooker.git

    b. Install deps:

    pipenv install

    c. Create .env file like so:
    Make sure to fill in the required variables !

    env

    d. Run:

    py app.py
  3. API Request:

    API Request

Useful links:

Discord Webhooks
Discord Webhooks & Safety