View Single Post
Old Yesterday, 11:06 AM   #1
Martin Krpan
Junior Member
Martin Krpan rocks like Gibraltar!Martin Krpan rocks like Gibraltar!Martin Krpan rocks like Gibraltar!Martin Krpan rocks like Gibraltar!Martin Krpan rocks like Gibraltar!Martin Krpan rocks like Gibraltar!Martin Krpan rocks like Gibraltar!Martin Krpan rocks like Gibraltar!Martin Krpan rocks like Gibraltar!Martin Krpan rocks like Gibraltar!Martin Krpan rocks like Gibraltar!
 
Posts: 6
Karma: 100010
Join Date: Mar 2026
Device: Kindle Paperwhite 11th gen
Thorium Reader EPUB Extractor

Thorium Book Extractor

Thorium Book Extractor is a small utility that automates the process of extracting EPUB books exported from the Thorium Reader. It follows the manual process described in the shkspr.mobi article and performs the required steps automatically.

The tool takes an EPUB file exported from Thorium Reader and generates a usable version of the book.

Requirements
Before using this tool, make sure the following requirements are met:
  • Thorium Reader version: 3.1.0
  • The book must be exported as EPUB from Thorium Reader first
  • Thorium Reader must be closed before running the extractor
Download Thorium Reader 3.1.0 here:
https://github.com/edrlab/thorium-re...etup.3.1.0.exe

How It Works
The extractor automates the manual extraction process described in the article linked above. After exporting a book from Thorium Reader, the tool processes the file and generates a new EPUB file.

The output file will have the same name as the original file with _decrypted appended.
original_book.epub -> original_book_decrypted.epub

Step 1 – Export the Book from Thorium Reader
  1. Open the .lcpl file in Thorium Reader.
  2. Export the book as EPUB.
  3. Close Thorium Reader completely.
The extractor will not work correctly if Thorium Reader is running.

Step 2 – Run Thorium Book Extractor
Option 1: Process a Single Book
Run the tool from the terminal:
Code:
ThoriumBookExtractor.exe path_to_the_book.epub
Option 2: Process Multiple Books
You can also extract multiple EPUB files automatically.
  1. Place ThoriumBookExtractor.exe in the folder containing your EPUB files.
  2. Double-click the executable.
The application will:
  • Scan the folder for .epub files
  • Process each file
  • Generate a decrypted version for each one
ThoriumBookExtractor opens and closes the Thorium Reader automatically.
This is necessary for the extraction process.
Do not close automatically opened Thorium Reader while the app is running.


Source code and the executable file can be found here:
https://gitflic.ru/project/xna83444/...book-extractor
Martin Krpan is offline   Reply With Quote