Changes all illustrations and novels publicly bookmarked on pixiv to private bookmarks.
This application is intended to change the visibility of bookmarks on an ongoing schedule.
If you expect to make temporary batch changes, you can use the following script created in the browser devtool.
- Docker Compose
- Valid pixiv refresh token: Please refer to these to retrieve
Works in Docker Compose environment.
If you want to use Docker Compose, write the following in compose.yaml
:
services:
app:
image: ghcr.io/tomacheese/pixiv-public-to-private
volumes:
- type: bind
source: ./data
target: /data/
init: true
restart: always
You can then refer to the configuration section to create a configuration file and then launch it with docker compose up -d
.
Please save the obtained refresh token in data/token.json
.
{
"refresh_token": "....."
}
The following environment variables are available:
PIXIV_TOKEN_PATH
: pixiv token file path (default value: data/token.json)RESPONSE_DB_HOSTNAME
: Whether to save the response to the DB for storage or notRESPONSE_DB_HOSTNAME
RESPONSE_DB_PORT
RESPONSE_DB_USERNAME
RESPONSE_DB_PASSWORD
RESPONSE_DB_DATABASE
DELETE_BOOKMARK_FOR_DELETED_ITEMS
: If you have bookmarked a deleted item, whether to unbookmark it or not
The license for this project is MIT License.