Using commands can slow down huge batch downloads (a recent computer may need from 100ms to 1s more per image)
It pretty much only amounts to downloading the
docker-compose.yaml file and doing
- Create an account on the registration page, you should automatically be an owner
- Create an API key in "Account > API key"
Download the upload script¶
Download the danbooru.js file into Grabber's installation folder.
Install NodeJS global packages¶
npm install -g axios form-data
Make sure the
NODE_PATH environment variable is properly set to point to your global node_modules folder. On Windows, it's usually:
But you can check the exact path with:
npm root -g
Open Grabber, then go to "Options > Commands", and set the "Image" field to:
node danbooru.js "YOUR_USERNAME" "YOUR_API_KEY" "%all:includenamespace,unsafe,underscores%" "%rating%" "%source:raw%" "%path:nobackslash%"
Make sure to replace
YOUR_USERNAME by your Danbooru username, and
YOUR_API_KEY by the API key created earlier.
Open new images in browser¶
If you want to open newly added images in your browser, you need to edit the
danbooru.js file, and change
You'll also need to install the NodeJS open package, that you can install with:
npm install -g open