Table of contents
🤖
AI-generated summary
- I wrote a Calibre plugin that generates a book summary in one click. 📚
- Introduction, chapter-by-chapter summary, critical analysis: all in EPUB, HTML, and Markdown.
- Two engines to choose from: Gemini with a free key, or Claude Code if you already have it.
I read a lot of non-fiction. And two months later, I wouldn’t be able to tell you what was in chapter 4.
Until now, my method was pretty hacked together. I described it in my must-have Mac apps : convert the EPUB to PDF in Calibre, send it to Gemini, copy-paste the answer somewhere. It worked. Sort of. On a 400-page book, the AI would summarize the first three chapters in detail and rush through the rest in two lines…
So I did what any geek does when a task annoys them: I wrote a plugin.
What is Fiche de lecture?
Fiche de lecture is a plugin for calibre , the go-to software for managing e-books. You select a book, click the “Fiche de lecture” button, and go grab a coffee.
When you get back, you have a complete report:
- an introduction: presentation, overall summary, themes, key characters or concepts;
- a chapter-by-chapter summary;
- a critical analysis: strengths, limitations, style, target audience.
The report is saved in EPUB, HTML, and Markdown. The EPUB is added to your library as a separate book (“Title - Fiche de lecture”) and opens directly in Calibre’s e-reader. So you can send it to your e-reader just like any other book.
Why it’s better than pasting everything into ChatGPT
The problem with copy-pasting is that a whole book overwhelms the AI. The more text you give it at once, the more it skims.
The plugin splits the book based on its table of contents and gets each chapter summarized separately. Only then does it write the introduction and critical analysis based on all those summaries. Every chapter gets the same attention, the last one just like the first.
It also filters out junk pages (copyright, table of contents, bibliography) and merges short pages like “Part I” with the following chapter. You can preview the chunking before launching anything, just so you don’t waste your quota on a poorly formatted book.
Gemini or Claude Code: your choice
Two engines are available:
- Gemini: you need a free API key, which you can create on Google AI Studio . Paste it into the settings and you’re good to go.
- Claude Code: if you already have the
claudeCLI installed and logged in on your computer, the plugin detects it automatically. No key to enter, it uses your subscription.
To give you an idea, a 25-chapter book takes about 27 requests. With Gemini’s free key, it goes through without pulling out your credit card. The plugin spaces out requests to respect the quota and automatically retries when the API complains.
If generation crashes at chapter 30, don’t panic: responses are cached. Restarting picks up right where it left off.
Installing the plugin
It takes two minutes:
- Download
fiche_lecture_gemini.zipfrom the releases page . Do not unzip it. - In Calibre: Preferences, Plugins, “Load plugin from file”, then select the zip.
- Restart Calibre.
If the button doesn’t appear, add it under Preferences, Toolbars & menus. It requires Calibre 6.18 minimum, on Mac, Windows, or Linux.
The interface is in French and English. As for the report itself, it can be written in French, English, Spanish, German, Italian, Portuguese, or any language you type in manually. And if you don’t like the prompts, you can customize them in the settings.
Limitations
The plugin reads EPUB, KEPUB, and AZW3 formats. For a PDF, convert it first in Calibre. DRM-protected books are rejected, and I’m not going to explain how to remove DRM.
The book’s text is sent to Google or Anthropic depending on the chosen engine. For a public domain novel, who cares. For a confidential manuscript, think twice.
Finally, an AI-generated summary should be proofread. It gives you the structure and key takeaways, but it doesn’t replace reading the book. If you’re trying to avoid reading altogether, this isn’t the right tool… and frankly, take the time to read , it’s worth it.
Free and open source
The plugin is licensed under the MIT license, and the code is on GitHub . No account needed, no server of mine sitting between you and the AI: everything runs locally inside your Calibre.
If you mostly read on an iPad or e-reader, I previously shared the best way to read an e-book : the report gets sent to it just like any EPUB.
If you try it out and hit a bug, have an idea, or notice a missing language, feel free to reach out.