Skip to content

A Danbooru feed script using Discord's webhooks

Notifications You must be signed in to change notification settings

Hexugory/Discordbooru

Repository files navigation

Environment Variables

BOORU_URL URL to your Danbooru instance
BASE_TAGS List of tags to filter all webhooks by, separated by +
WEBHOOKS_PATH Path to your webhooks.json

Running with Docker

Compose file

services:
  discordbooru:
    image: ghcr.io/hexugory/discordbooru:master
    environment:
      - BOORU_URL=https://my.danbooru.site
      - BASE_TAGS=
    volumes:
      - /path/to/local/webhooks.json:/usr/src/app/webhooks.json

Use the webhooks.json in this repo as an example.

[
  {
    "tags": [],
    "exclusionTags": [],
    "uri": "id/token",
    "minRating": "g",
    "maxRating": "g",
    "color": "0x1e1e2c"
  }
]

Running Manually

Requires NodeJS

Install dependencies using npm i

Run using node hookbot.js

About

A Danbooru feed script using Discord's webhooks

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 3

  •  
  •  
  •