VS Code EPUB Reader

A seamless, ultra-lightweight EPUB Reader built natively for VS Code / Antigravity IDE. Immerse yourself in an elegant reading experience, while leveraging the power of AI Agents to summarize, analyze, and learn from your favorite books—all without leaving your code editor.

✨ Features
🌟 Killer Features
- Elegant, Book-Like Reading Experience: Focus on your reading with a sleek UI inspired by high-end e-readers. Toggle between 1 Page (Book), 2 Pages (Spread), or Vertical Scroll (Web) layouts. Experience beautiful, typography-focused fonts like Literata (default), Lora, and Merriweather out-of-the-box. Toolbar menus use elegant, native-feeling dropdowns powered by Lucide icons.
- Deep AI Agent Integration (Antigravity IDE): Don't just read books—interact with them!
- Send to AI Context: Highlight any text and send it directly to your active AI Agent with a single click. The agent will instantly understand the context of the book and answer your questions.
- AI Summarization: Instantly summarize the current page, a specific chapter, or the entire book using native AI integration.
- Smart Annotations & Highlights: Highlight text, add custom notes with beautiful colors, and bookmark your progress. All annotations are automatically parsed and saved to local markdown files, ready to sync with your PKM (Personal Knowledge Management) systems like Obsidian.
- Frictionless Markdown Export: Effortlessly export your book's annotations, highlights, or full chapters into pristine Markdown format (
.md). The exported file includes hidden %% metadata blocks, ensuring your notes stay clean while remaining machine-readable for automated workflows.
✨ Quality of Life
Navigation & Organization
- Intuitive Pagination: Turn pages effortlessly using your keyboard (Arrow keys, Page Up/Down, Space), or simply scroll with your mouse wheel. Jump instantly to the beginning (
Home) or end (End) of the book.
- Interactive Sidebar: Easily navigate through the Table of Contents, manage your Bookmarks, and review all your colorful Highlights & Notes in one convenient sidebar.
- Smart Memory: The reader automatically remembers your exact reading progress (
CFI), keeping track of where you left off even if you close the editor.
- Media Extraction: Right-click on any image within the EPUB to instantly copy it to your clipboard.
Frictionless UX
- Dynamic Typography & Themes: Switch instantly between Light, Sepia, and Dark themes. Increase or decrease font sizes seamlessly, and apply Google Fonts on the fly without refreshing the page.
- Fully Local & Offline: Your books stay on your machine. No server uploads, no privacy concerns. It renders large EPUB files blazing fast using a highly optimized internal buffer.
- Multi-Language UI: Fully localized interface. Choose between English and Vietnamese seamlessly through your VS Code Settings.
🚀 Getting Started
- Install the extension from the VS Code Marketplace.
- Open any
.epub file directly from your Explorer.
- The EPUB Reader will launch automatically, rendering your book instantly!
⚙️ Configuration
The extension provides several customization options available in your VS Code settings (Cmd/Ctrl + ,):
| Setting |
Description |
Default |
vscode-epub-reader.language |
UI Language (en or vi) |
en |
vscode-epub-reader.notesDirectory |
Folder where exported Markdown annotations will be saved. |
notes |
⌨️ Keyboard Shortcuts
| Action |
Mac |
Windows/Linux |
| Next Page |
Right Arrow / Page Down / Space |
Right Arrow / Page Down / Space |
| Previous Page |
Left Arrow / Page Up |
Left Arrow / Page Up |
| Start of Book |
Home |
Home |
| End of Book |
End |
End |
| Turn Page |
Mouse Wheel Scroll |
Mouse Wheel Scroll |
| AI Context (Highlighted Text) |
Right Click -> Send to AI Context |
Right Click -> Send to AI Context |
🤝 Credits & Acknowledgements
Read smarter, learn faster, and integrate your books seamlessly into your dev workflow.
| |