EPUB Vault Reader · Obsidian plugin documentation
EPUB Vault Reader documentation

EPUB Vault Reader lets you open .epub books inside Obsidian, inspect their metadata and table of contents, read chapters in a clean reader modal, and import chapters into Markdown notes with YAML frontmatter.
The parser runs in pure TypeScript with standard Web DecompressionStream support. It works on desktop and mobile with no external tools and no network calls for reading or importing books.
Version 1.0.0. Requires Obsidian 1.13.4 or later. Works on desktop and mobile.
1 Installation
- Open "Settings -> Community plugins" in Obsidian and turn off restricted mode.
- Select "Browse", search for "EPUB Vault Reader", then select "Install" and "Enable".
- To view the optional
Reading Library.basefile, turn on the core "Bases" plugin under "Settings -> Core plugins".
2 Getting started
- Place one or more DRM-free
.epubfiles anywhere in your vault. - Open the command palette and run "Open EPUB book reader", select the book ribbon icon, or right-click an
.epubfile in the file explorer and select "Read in EPUB Vault Reader". - Choose a book from the dropdown at the top of the modal to inspect its metadata and read chapters using the table of contents sidebar or the previous and next buttons.
- Select "Import index + first 3 chapters" to create the book index note and first three chapters in your output folder.
- With Pro active, select "Import full book" to import all chapters with navigation links and a quotes digest, or select "Create reading library base" to generate
Reading Library.base.
3 Features
Read EPUB books and inspect metadata in Obsidian
Open any .epub file stored in your vault from the command palette, the ribbon icon, or the file menu. The reader modal parses the ZIP archive, reads META-INF/container.xml and the OPF package document, and shows the book title, author, language, chapter count, total word count, and quote count.
Browse the table of contents from either EPUB 3 nav documents or EPUB 2 NCX files. Select any chapter from the sidebar or move step by step with the previous and next chapter buttons.
Import chapters into clean Markdown notes with frontmatter
Convert chapter XHTML into readable Markdown that keeps headings, paragraphs, bold and italic text, inline code, fenced code blocks, ordered and unordered lists, nested lists, horizontal rules, links, and blockquotes. Script and style blocks are removed before writing notes.
Every imported note includes YAML frontmatter with title, author, language, chapter, reading_status, and source_epub. Book and chapter titles are cleaned into safe filenames across operating systems. The free version imports the book index note and the first three chapters.
Full-book batch import and quotes digest (Pro)
Pro removes the three-chapter import limit and writes every chapter of the book into an organized folder under your chosen output folder. When chapter navigation links are on, each chapter includes wikilinks to the previous chapter, the book index, and the next chapter.
Pro also scans every chapter for <blockquote>, <q>, <mark>, and highlighted elements, then writes a Book Notes and Quotes digest note with backlinks to the source chapters. You can also customize the body layout of imported chapters with template template tokens in Settings.
Reading library Bases tracker (Pro)
Run the command "Generate reading library base (Pro)" or select "Create reading library base" inside the reader modal to write a Reading Library.base file in your output folder. The generated base filters for imported book index notes (chapter == 0) and provides both a table view and a card view with book title, author, reading status, total chapters, and language.
4 Commands
Open the command palette and type the plugin name to see these commands. You can give each one a hotkey in Settings, Hotkeys.
| Command | Command id |
|---|---|
| Open EPUB book reader | epub-vault-reader:open-epub-reader |
| Import EPUB book into Markdown notes | epub-vault-reader:import-epub-book |
| Generate reading library base (Pro) | epub-vault-reader:generate-reading-library-base |
| Show what Pro adds | epub-vault-reader:what-pro-adds |
5 Settings
Open "Settings -> EPUB Vault Reader" to configure where imported books live and how Pro features format your notes.
| Setting | Default | What it does |
|---|---|---|
| Output folder | Books |
Vault folder where imported book folders and Reading Library.base are saved. |
| Default reading status | unread |
Initial reading_status YAML value (unread, reading, or finished) for new notes. |
| Chapter navigation wikilinks (Pro) | On | Adds previous, index, and next chapter wikilinks to imported chapter notes. |
| Quotes and highlights digest (Pro) | On | Creates a Notes & Quotes digest note from blockquotes and highlights. |
| Custom chapter template (Pro) | Default layout | Controls chapter body output using template tokens such as {{title}}, {{author}}, {{chapter}}, {{chapter_title}}, {{nav_links}}, and {{body}}. |
Select "What Pro adds" in Settings or run the command "Show what Pro adds" to preview sample outputs for full-book import, quotes extraction, the reading library base, and custom chapter templates without changing any vault files.
6 Privacy, payment and network
The core features are free. Pro features need a GitHub Sponsors sponsorship of theluckystrike: $5 a month or more, or $15 once. A total payment of $15 meets the payment requirement for Pro without further payment. Sign-in and the checks below still apply. Your notes stay readable and editable with or without Pro.
One payment turns on Pro in every NoteMods plugin.
GitHub handles the payment. Sponsor at https://notemods.com/pro/go?p=epub-vault-reader&s=readme. You need no account for the free features. Pro needs the GitHub account that sponsors.
Until you select "Sign in with GitHub" in the settings, EPUB Vault Reader makes no network requests. Sign in uses the GitHub device flow. EPUB Vault Reader sends its public client ID and the scope read:user to https://github.com/login/device/code and shows you a code. While you enter the code at https://github.com/login/device, it asks https://github.com/login/oauth/access_token every few seconds to check the sign-in status. The scope permits profile reads only. GitHub needs this access to show the sponsorship tier. It grants no repository scope and no write access.
After sign in, EPUB Vault Reader sends one query to https://api.github.com/graphql. It checks if the signed-in account sponsors theluckystrike. It asks for the tier and the total payment to theluckystrike. The plugin reuses a successful check for 7 days. Failed checks can retry after 6 hours. Select Refresh to request an earlier check. It sends no note content, file names or other vault data, and it has no telemetry.
After a successful check, Pro can work offline for up to 14 days. Sign out or a negative sponsorship answer turns Pro off. The plugin stores the GitHub token through the secret storage API of Obsidian. It does not put the token in its saved settings or its local sponsorship data. The local storage of this device keeps your GitHub login, the tier and the time of the last check. Sign out clears the token. You can also revoke the access in your GitHub settings, under Applications.
7 Questions and answers
Does EPUB Vault Reader work on mobile?
Yes. The plugin uses pure TypeScript for ZIP parsing, XML parsing, and XHTML conversion, and relies on the standard Web DecompressionStream API for deflated archives. It does not import Node-only modules or call external binaries.
Are DRM-protected or encrypted EPUB files supported?
No. Encrypted ZIP entries and DRM-protected files cannot be read and show a clear error message. Use DRM-free .epub files in EPUB 2 or EPUB 3 format.
Does importing a book modify the original EPUB file?
No. The plugin reads the .epub file in binary mode and writes new Markdown notes into your chosen output folder. Your original .epub file stays untouched.
What happens if I re-import a book?
Re-importing writes updated content to the existing index, chapter, and digest note paths inside that book's folder. If you plan to edit imported chapter notes heavily, keep personal notes in separate files or back up the folder before re-importing.
Which template tokens work in the custom chapter template?
Supported template tokens are {{title}}, {{author}}, {{language}}, {{chapter}}, {{chapter_title}}, {{reading_status}}, {{index_link}}, {{prev_link}}, {{next_link}}, {{nav_links}}, and {{body}}.
8 Support
Report bugs and feature requests in this repository's GitHub issues.