Hi folks - I’ve created a Python script to fetch new books and highlights, and convert the results into markdown files in a chosen directory (i.e. Obsidian vault)
I wanted something a bit more advanced than the simple markdown export (beta) currently offered. The script:
- Fetches all or a subset of new books and highlights from Readwise - ability to filter by a custom
date from or use the last script run date
- Groups and sorts highlights by book/article/podcast/tweet
- Creates new markdown notes or appends data to existing ones - includes headings (h1-h5), tags, and unique Readwise highlight IDs as block references
- Stores book and highlight data into JSON files for easy retrieval and manipulation
- Prints the script outputs to the console and stores them in a log file for review and troubleshooting
Disclaimer: This is my first time coding in Python, and is NOT an official plugin, so please use mindfully. It’s also my first real contribution on GitHub, so I’m open to any and all feedback 
Hope you enjoy, and Happy New Year! 
Nic