ASIMOV Readwise Module
ASIMOV module for importing data from Readwise and converting it to JSON-LD format.
✨ Features
- 📚 Import Highlights: Fetch and convert Readwise highlights to JSON-LD
- 📖 Import Books: Fetch and convert Readwise book lists to JSON-LD
- 🏷️ Import Tags: Fetch and convert Readwise tags to JSON-LD
- 🔄 JSON-LD Output: Structured data compatible with KNOW ontology
- ⚡ Fast & Reliable: Built with Rust for performance and safety
- 🚦 Rate Limit Aware: Respects Readwise API limits and provides clear error handling
🛠️ Prerequisites
- Rust 1.85+ (2024 edition) if building from source code
- Readwise account with API access
READWISE_API_KEYenvironment variable
⬇️ Installation
Installation with the ASIMOV CLI
Installation from Source Code
👉 Examples
Import Highlights
# Import all highlights (transparent pagination)
# Import first 100 highlights only
# Import specific page
Import Books
# Import all books (transparent pagination)
# Import first 50 books only
Import Tags
Other Commands
# Show version information
# Show license information
# Show help
⚙ Configuration
API Key Setup
Set your Readwise API key as an environment variable:
Or use a .env file:
READWISE_API_KEY=your-api-key-here
Get your API key from: https://readwise.io/access_token
Rate Limiting
Heads up: This module plays nice with Readwise's API limits. If you get HTTP 429 errors (too many requests):
- Just wait a bit: The API will throw an error if you're going too fast
- No auto-retry: We don't automatically retry failed requests
- Take it slow: If you're grabbing lots of data, give it some breathing room
The limits: This plugin is limited to 20 requests per minute due to Readwise's API restrictions.
👨💻 Development