Skip to content

Latest commit

ย 

History

History
280 lines (212 loc) ยท 8.38 KB

File metadata and controls

280 lines (212 loc) ยท 8.38 KB

๐Ÿ“„ pdfreaderX

Version License Platform React

"Universal access to knowledge is a collective responsibility. Sustainability fuels the mission."

pdfreaderX is a high-performance, institutional-grade PDF document platform engineered for the modern web. It provides a specialized, privacy-centric environment for reading, annotating, and listening to PDF documents with advanced text-to-speech capabilities.


โœจ What's New in v1.0.1

Feature Description
๐Ÿ“ด Offline Mode Read PDFs without internet after first load
๐Ÿ“ฑ PWA Install as native app on any device
๐Ÿ“„ Local Default PDF Built-in motivational quotes document
๐Ÿ”Š Continuous Reading Automatically reads through entire PDF, page by page
๐Ÿ’พ Audio Export Save TTS audio as MP3 (Google/OpenAI providers)
๐Ÿ–จ๏ธ Print Support Print current page via browser dialog
๐Ÿ–ฅ๏ธ Electron Desktop Windows .exe installer
๐Ÿ› Bug Fixes Thumbnail quality, thumbnail rendering improvements

๐Ÿ“ฅ Download

Windows Desktop App

Type File Size
Installer PDFReaderX Setup 1.0.1.exe ~120 MB

Web Version

Access the pdfreaderX web app directly at: pdfreaderx.itforsec.com/


๐Ÿš€ Key Features

1. Text-to-Speech Engine

  • 3 TTS Providers: Browser (free), OpenAI (ultra-realistic), Google Neural2 (free tier)
  • Continuous Mode: Auto-reads all pages sequentially
  • Audio Export: Download generated audio as MP3
  • Speed Control: Adjustable rate (0.25x - 4.0x)
  • Voice Selection: Multiple voices per provider

2. PDF Reading

  • ๐Ÿ“– High-fidelity PDF.js rendering
  • ๐Ÿ” Zoom (10% - 500%) + rotation (90ยฐ increments)
  • ๐Ÿ“‘ Page navigation (prev/next + jump to page)
  • ๐Ÿ”Ž Search through entire document
  • ๐Ÿ–ผ๏ธ Thumbnail sidebar
  • ๐Ÿ”– Bookmarks with localStorage persistence
  • ๐Ÿ–จ๏ธ Print support

3. Privacy & Security

  • ๐Ÿ”’ Zero Tracking: No analytics, no telemetry
  • ๐Ÿ’ป Local Processing: PDF.js worker runs locally
  • ๐Ÿ”‘ API Keys: Stored on-device only
  • ๐ŸŒ No External Servers: Keys go directly to OpenAI/Google

4. PWA & Offline

  • ๐Ÿ“ฑ Installable: Add to home screen on any device
  • ๐Ÿ“ด Offline: Works without internet after first load
  • ๐Ÿ”„ Auto-Update: Service worker updates in background

5. Cross-Platform

Platform Status Description
๐ŸŒ Web โœ… PWA installable
๐ŸชŸ Windows โœ… .exe installer
๐ŸŽ macOS ๐Ÿ”„ Build config ready
๐Ÿง Linux ๐Ÿ”„ Build config ready
๐Ÿ“ฑ iOS/Android โœ… Responsive

๐Ÿ“ธ Screenshots

image

๐Ÿ› ๏ธ Installation

Quick Start (Web)

# Install dependencies
npm install

# Start development server
npm run dev

# Open http://localhost:5173

Production Build (Web)

# Build for production
npm run build

# Output: dist/ folder

Electron Desktop App

# Development mode
npm run electron:dev

# Build Windows installer
npm run electron:build

# Output: release/PDFReaderX Setup 1.0.1.exe

โš™๏ธ Configuration

Text-to-Speech Providers

Provider Quality Cost Audio Export
Browser Good Free โŒ
OpenAI Ultra-realistic Pay-per-use โœ…
Google Neural2 Free tier โœ…

Getting API Keys

OpenAI (https://platform.openai.com/api-keys)

- Model: tts-1
- Cost: ~$0.003/1,000 characters
- Voices: alloy, echo, fable, onyx, nova, shimmer

Google Cloud (https://cloud.google.com/text-to-speech)

- Free tier: 4M characters/month
- Premium: $4/1M characters
- Voices: Neural2 (18 languages)

๐Ÿ“ Project Structure

pdfreaderX/
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ components/
โ”‚   โ”‚   โ”œโ”€โ”€ Controls/
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ Toolbar.tsx       # Main toolbar
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ VoicePanel.tsx    # TTS controls
โ”‚   โ”‚   โ”œโ”€โ”€ PDFViewer.tsx         # PDF rendering
โ”‚   โ”‚   โ”œโ”€โ”€ Sidebar.tsx           # Navigation
โ”‚   โ”‚   โ”œโ”€โ”€ Thumbnail.tsx        # Page thumbnails
โ”‚   โ”‚   โ””โ”€โ”€ Settings/
โ”‚   โ”‚       โ””โ”€โ”€ SettingsModal.tsx # Settings
โ”‚   โ”œโ”€โ”€ hooks/
โ”‚   โ”‚   โ””โ”€โ”€ useSpeech.ts        # TTS logic
โ”‚   โ”œโ”€โ”€ store/
โ”‚   โ”‚   โ””โ”€โ”€ usePdfStore.ts     # Zustand state
โ”‚   โ””โ”€โ”€ App.tsx                # Main app
โ”œโ”€โ”€ electron/
โ”‚   โ”œโ”€โ”€ main.cjs               # Electron main
โ”‚   โ””โ”€โ”€ preload.cjs            # Preload script
โ”œโ”€โ”€ dist/                      # Built web files
โ”œโ”€โ”€ release/                   # Built executables
โ”œโ”€โ”€ package.json
โ”œโ”€โ”€ vite.config.ts
โ””โ”€โ”€ README.md

๐Ÿ› Known Limitations

Issue Status Workaround
Large PDFs (>50MB) โš ๏ธ May be slow Use local files
Browser TTS export โŒ Not supported Switch to Google/OpenAI
Print formatting โš ๏ธ Browser-dependent Adjust zoom before print
Shared devices โš ๏ธ Keys visible Clear localStorage

๐Ÿ”ฎ Future Roadmap

v1.0.2 (Enhancements)

  • Error boundaries for better error handling
  • Keyboard shortcuts (arrow keys for navigation)
  • Recent files history
  • Dark mode toggle

v1.1 (Advanced Features)

  • Table of Contents extraction (PDF outline)
  • Persistent text highlights/annotations
  • Multi-page audio batch export
  • Custom page range selection

v1.2 (AI Integration)

  • Local LLM via Ollama for Q&A
  • Transformers.js summarization
  • RAG-based semantic search
  • Auto-summarize pages

v1.3 (Native Desktop)

  • System tray (minimize to tray)
  • Global media key support
  • File association (.pdf)
  • Auto-updater
  • macOS/Linux builds

๐Ÿค Support & Contribution

Found pdfreaderX Valuable?

Action Link
โญ Star the repo https://github.com/wikicrafter/pdfreaderX
๐Ÿ’ฐ Support https://ko-fi.com/gigaa
๐Ÿ”” Follow https://github.com/wikicrafter/pdfreaderX

Need Help?

  1. Check browser console for errors
  2. Verify API keys in Settings โ†’ Voice Engine
  3. Try local PDF files first
  4. Clear localStorage to reset: localStorage.clear()

๐Ÿ“œ License

MIT License

Copyright (c) 2026 pdfreaderX
Copyright (c) 2026 wikicrafter

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

Built with Made with love

Version: 1.0.1
Author: wikicrafter
License: MIT ยฉ 2026