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
python3 -m pip install 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.)
</code></pre>
<h3>Configuration</h3>
<p>Get a new Readwise API Token from <a href="https://readwise.io/access_token">https://readwise.io/access_token</a>.</p>
<p>Create a new wallabag API client in your instance <a href="https://my-wallabag.com/developer/client/create">https://my-wallabag.com/developer/client/create</a>.</p>
<h4>ENV Vars</h4>
<pre lang="bash"><code>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
Close
Hashes for wallabag2readwise-1.2.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1880cca4ae473f9163ff8dc8dc5fac2775b3e5443470be1de6b09627d8bc9e77 |
|
MD5 | dbfe32d5426c133f5a081a19283661f0 |
|
BLAKE2b-256 | 019c3975f8fe772dac5e577e7fbbf4b27f4f53a996e22fde06d9d43389922337 |