Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/teticio/kindle2pdf
Convert owned Kindle books to PDF without needing a device. Good for viewing on a ReMarkable.
https://github.com/teticio/kindle2pdf
kindle pdf remarkable remarkable-tablet
Last synced: about 2 months ago
JSON representation
Convert owned Kindle books to PDF without needing a device. Good for viewing on a ReMarkable.
- Host: GitHub
- URL: https://github.com/teticio/kindle2pdf
- Owner: teticio
- License: bsd-3-clause
- Created: 2024-04-06T08:30:18.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-09-17T09:28:17.000Z (about 2 months ago)
- Last Synced: 2024-09-17T13:20:45.003Z (about 2 months ago)
- Topics: kindle, pdf, remarkable, remarkable-tablet
- Language: Python
- Homepage:
- Size: 167 KB
- Stars: 15
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-reMarkable - kindle2pdf - Convert owned Kindle books to PDF without needing a Kindle device. Includes `pdf2remarkable` script to upload PDFs to the reMarkable Cloud. (Cloud Tools / Launchers)
README
# Kindle2PDF and PDF2Remarkable
## Introduction
A Python script to render your Kindle books as PDFs without needing a device. This is ideal if you want to read them on a reMarkable tablet or similar.
A script is also provided to upload the PDFs to the reMarkable Cloud, which is particularly useful on Linux as the official desktop application is not available.
## Installation
```bash
pip install kindle2pdf
```## Usage
First you need to login to `https://read.amazon.com/` on Chrome. The Python script will automatically retreive any cookies it needs. Then, assuming you own the book with the ASIN `B0182LFAIA`, you can run the following command:
```bash
kindle2pdf B0182LFAIA
```To find out the ASIN of any book, you can either inspect the URL of the book in the Kindle Cloud Reader, or search for it in Amazon. You'll need to make sure that it corresponds to the edition that you own.
If you want to upload a PDF to the reMarkable Cloud you can add the switch `--remarkable` to `kindle2pdf` or simply
```bash
pdf2remarkable "The Cybergypsies.pdf"
```The first time you run this, you will be asked to pair your device. Just follow the instructions and paste your OTC.
## Troubleshooting
* If you get a "Permission denied" error when running `kindle2pdf` on Windows, try closing any Chrome browsers.
* If you have authentication problems with `pdf2remarkable` or want to re-pair your device, delete the `.pdf2remarkable` file in your home directory and run the script again.