Skip to content

yancj9ya/WebReader

Repository files navigation

Local PDF Reader Web

A cloud-deployed web app that reads PDF locally in the browser. image

Privacy model

  • PDF processing happens only in the browser.
  • No upload API is implemented.
  • Data is stored locally in IndexedDB.
  • CSP keeps connect-src 'self'.

Run

npm install
npm run dev

Build

npm run build
npm run preview

Core pages

  • Bookshelf page: show imported/previously read books
  • Reader page: focused reading UI (no upload area)

Current features

  • Import local PDF files
  • Import a whole local directory (webkitdirectory)
  • Build local index on bookshelf
  • Persist book data/progress/bookmarks in IndexedDB
  • Previous/next page, jump page, zoom
  • Single-page and continuous mode toggle
  • Full-text search (page-level matching)
  • Collapsible control panel
  • Collapsible left thumbnail preview panel
  • Outline navigation and bookmark navigation

Deploy

Deploy as a static site to Vercel or Netlify.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors