Monitor pixiv bookmarks and notify Discord when new items are added.
Currently, only illustration bookmarks are supported.
A valid pixiv account refresh token is required to use this project.
First, create docker-compose.yml
and write the following:
version: "3"
services:
app:
image: ghcr.io/tomacheese/watch-pixiv-bookmarks:latest
volumes:
- type: bind
source: ./data/
target: /data/
environment:
PIXIV_USER_ID: 1234556789
restart: always
init: true
Retrieve the refresh token by referring to Retrieving Auth Token (with Selenium), etc.
Then, write the refresh token (<REFRESH-TOKEN>
) in data/token.json
in the following format.
If the environment variable TOKEN_FILE
is set, the specified value is taken as the path to the configuration file.
{
"refresh_token": "<REFRESH-TOKEN>"
}
The configuration file data/config.json
is used by default.
If the environment variable CONFIG_FILE
is set, the specified value is taken as the path to the configuration file.
See here for the JSON Schema of the configuration file: schema/Configuration.json
{
"$schema": "https://raw.githubusercontent.com/tomacheese/watch-pixiv-bookmarks/master/schema/Configuration.json"
}
docker-compose up --build -d && docker-compose logs -f
The developer is not responsible for any problems caused by the user using this project.
The license for this project is MIT License.