Skip to content

twalderman/obsidian-awesome-reader

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

66 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Coffee Reader

An advanced ebook reader plugin for Obsidian with deep Coffee Shop integration.

Forked from Awesome Reader

Features

Reading

  • EPUB Support - Full EPUB reading with table of contents
  • Reading Progress - Automatically saves and syncs reading position
  • Dark Mode - Follows Obsidian theme or manual override
  • Scrolled View - Seamless continuous scrolling (EPUB)
  • Customizable - Font size and line height settings

Books Sidebar Panel

  • Searchable - Filter books by title instantly
  • Currently Reading - Quick access to recent books
  • All Books - Browse every EPUB in your vault
  • Book Notes - See all your book notes in one place
  • One-click actions - Open books, create/open notes
  • Highlight counts - See how many highlights per book

Highlights & Annotations

  • Text Highlighting - Select text and highlight in multiple colors (yellow, green, blue, red)
  • Notes - Add notes to any highlight
  • Copy to Clipboard - Quick copy selected text
  • Export Highlights - Export all highlights to markdown with citations

EPUB Import (replaces epub-importer plugin)

  • Convert to Markdown - Import EPUB books as markdown notes
  • Chapter Organization - Each chapter becomes a separate note
  • Metadata Preservation - Title, author, and book info in frontmatter
  • Index File - Auto-generated table of contents with links

Book Notes System

  • Centralized Storage - All book notes in Coffee Shop/Books/
  • Auto-generated Content - Metadata, TOC, highlights, Memory links
  • Books Index - Auto-maintained index of all books with stats
  • Dataview Integration - Queries for related Memory items

Citations

  • Citation Management - Track chapter and location
  • Multiple Formats - APA, MLA, Chicago, or custom templates
  • Book Notes - Auto-generate book notes from TOC

Coffee Shop Integration

  • Book Companion - Load books directly into Coffee Shop for AI discussion
  • Memory System - Save highlights to Coffee Shop Memory automatically
  • Progress Sync - Sync reading position with Book Companion
  • AI Actions - Context menu for explain, define, and discuss with AI

Installation

Manual Installation

  1. Download the latest release
  2. Extract to .obsidian/plugins/coffee-reader/
  3. Enable in Community Plugins settings

From Source

git clone https://github.com/twalderman/obsidian-awesome-reader.git
cd obsidian-awesome-reader
npm install
npm run build

Copy main.js, manifest.json, and styles.css to your vault's .obsidian/plugins/coffee-reader/ folder.

Usage

Books Sidebar

  • Click the book icon in the left ribbon to open the Books panel
  • Use the search box to filter books by title
  • Currently Reading shows your 5 most recent books
  • Click a book title to open it
  • Click πŸ“ to open an existing note, or βž• to create one
  • Click πŸ“š Open Books Index for the full index

Reading Books

  • Drop EPUB files into your vault
  • Click to open and read
  • Reading progress is automatically saved

Highlighting

  1. Select text in the reader
  2. Choose a highlight color from the popup menu
  3. Click the note icon to add a note
  4. Highlights sync to Coffee Shop Memory (if enabled)

AI Actions

When text is selected:

  • πŸ’‘ Explain - Send to Coffee Shop for explanation
  • πŸ“– Define - Get word/phrase definition
  • β˜• Discuss - Open discussion with AI about the passage

EPUB Import

  • Right-click any EPUB file β†’ "Import EPUB to Markdown"
  • Or use Command Palette: "Coffee Reader: Import EPUB to Markdown"
  • Creates a folder with:
    • Index file with metadata and TOC
    • Individual chapter files as markdown

Book Notes

  • Click πŸ“ in the Books sidebar, or
  • Use the book icon in the reader header, or
  • Right-click a book file β†’ "Open/create book note"
  • Notes are stored in Coffee Shop/Books/

Coffee Shop Integration

  1. Enable in Settings β†’ Coffee Shop Integration
  2. Right-click book β†’ "Load into Book Companion"
  3. Discuss the book with AI using your highlights as context

Settings

Setting Description
Display
Scrolled View Enable continuous scrolling for EPUB
Dark Mode Auto, Light, or Dark
Font Size Reading font size (50-200%)
Line Height Line spacing (1.0-2.5)
Coffee Shop
Enable Integration Connect with Coffee Shop plugin
Auto-sync Progress Sync reading position
Highlight to Memory Save highlights to Memory
Book Notes
Book notes folder Where notes are stored (default: Coffee Shop/Books)
Auto-update Index Keep Books Index current
EPUB Import
Save Path Folder for imported books
Create Folders Subfolder per book
Extract Images Save images from EPUB
Citations
Format APA, MLA, Chicago, or Custom
Custom Template Your citation template

Commands

Command Description
Import EPUB to Markdown Convert EPUB to markdown notes
Export highlights Export highlights as markdown
Sync highlights to Memory Bulk sync to Coffee Shop
Open Book Companion Load current book into Coffee Shop

Coffee Shop Events

Coffee Reader emits these events for Coffee Shop integration:

Event Description
coffee-shop:load-book Load book into Book Companion
coffee-shop:sync-progress Sync reading position
coffee-shop:save-memory Save highlight to Memory
coffee-shop:analyze Send text for AI analysis
coffee-shop:context Provide reading context

Development

# Install dependencies
npm install

# Development build (watch mode)
npm run dev

# Production build
npm run build

Credits

License

MIT License - see LICENSE for details

About

Make Obsidian a proper Reader.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • TypeScript 88.3%
  • CSS 9.5%
  • JavaScript 2.2%