Exports / synchronizes annotations from wallabag to Readwise article highlights.
This tool can be run as a cli tool or as a (docker) container.
Rate limiting of the Readwise API is supported.
pip install -U wallabag2readwise
or with pipx
pipx install wallabag2readwise
docker pull ghcr.io/rwxd/wallabag2readwise:latest
docker run ghcr.io/rwxd/wallabag2readwise:latest --wait-time 60 ...
version: "3.9"
services:
wallabag2readwise:
image: ghcr.io/rwxd/wallabag2readwise:latest
container_name: wallabag2readwise
restart: unless-stopped
environment:
READWISE_TOKEN: ''
WALLABAG_URL: ''
WALLABAG_USER: ''
WALLABAG_PASSWORD: ''
WALLABAG_CLIENT_ID: ''
WALLABAG_CLIENT_SECRET: ''
# env_file:
# - .env
docker-compose up -d && docker-compose logs -f
wallabag2readwise push
Run continuously and push new annotations to Readwise every 60 minutes. (The container is automatically in daemon mode.)
wallabag2readwise daemon --wait-time 60
wallabag2readwise reader
wallabag2readwise wallabag
Get a new Readwise API Token from https://readwise.io/access_token.
Create a new wallabag API client in your instance https://my-wallabag.com/developer/client/create.
READWISE_TOKEN=''
WALLABAG_URL=''
WALLABAG_USER=''
WALLABAG_PASSWORD=''
WALLABAG_CLIENT_ID=''
WALLABAG_CLIENT_SECRET=''
Secrets can also be used with cli options.
All cli options can be viewed with wallabag2readwise --help