Push wallabag annotations to Readwise highlights
Project description
wallabag2readwise
Description
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.
Installation
CLI
pip install -U wallabag2readwise
or with pipx
pipx install wallabag2readwise
Docker / Container
docker pull ghcr.io/rwxd/wallabag2readwise:latest
docker run ghcr.io/rwxd/wallabag2readwise:latest --wait-time 60 ...
Docker-Compose
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
Usage
Commands
wallabag2readwise push
Daemon
Run continuously and push new annotations to Readwise every 60 minutes. (The container is automatically in daemon mode.)
wallabag2readwise daemon --wait-time 60
Import all Wallabag entries to Readwise reader
wallabag2readwise reader
Configuration
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.
ENV Vars
READWISE_TOKEN=''
WALLABAG_URL=''
WALLABAG_USER=''
WALLABAG_PASSWORD=''
WALLABAG_CLIENT_ID=''
WALLABAG_CLIENT_SECRET=''
CLI Options
Secrets can also be used with cli options.
All cli options can be viewed with wallabag2readwise --help
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for wallabag2readwise-1.4.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55c7c45db142facc9f19f6a53809e034371ae296d89d49c1cf4ce9b5423475e6 |
|
MD5 | 0f578a3c8e15dfd38198596a03ce30a6 |
|
BLAKE2b-256 | c92dbdc400acd51b9cbdd5b90c61af61df9ad6a3779c68f31f52901a7546ce5e |