Monitor pixiv bookmarks and notify Discord when new items are added.
A valid pixiv account refresh token is required to use this project.
First, create compose.yaml and write the following:
services:
app:
image: ghcr.io/tomacheese/watch-pixiv-bookmarks:latest
volumes:
- type: bind
source: ./data/
target: /data/
environment:
# required DISCORD_TOKEN & DISCORD_CHANNEL_ID or DISCORD_WEBHOOK_URL
DISCORD_TOKEN: ...
DISCORD_CHANNEL_ID: 1234567890
DISCORD_WEBHOOK_URL: https://...
PIXIV_USER_ID: 1234556789
restart: always
init: trueRetrieve 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 PIXIV_TOKEN_PATH is set, the specified value is taken as the path to the configuration file.
{
"refresh_token": "<REFRESH-TOKEN>"
}docker compose up --build -dThe developer is not responsible for any problems caused by the user using this project.
The license for this project is MIT License.