This program creates a PDF version of books from Kindle for personal use. It utilizes the Kindle Mac Desktop application, takes screenshots of each page, and produces a PDF containing all the pages.
I created this program to train an Agent to answer questions about the books I read. I found it nearly impossible to extract PDF versions of the books from Kindle.
unkindle-demo.mp4
- Node.js 16 or higher
- macOS (the program uses macOS-specific screenshot and window management features)
- Kindle for Mac desktop application
- Clone this repository
- Install dependencies:
npm install- Open your book in the Kindle for Mac application
- Run the program:
npm run-
Follow the prompts to:
- Select an existing book or create a new one
- Choose starting page
- Set number of pages to capture
-
During capture:
- Press 'c' to stop capturing and create PDF
- Press 'Esc' or Ctrl+C to cancel everything
The program will create a PDF in the books/<book_title> directory.
This tool is for personal use only. Please respect copyright laws and Amazon's terms of service.
This project is licensed under the MIT License, see the LICENSE file for details.# unkindle