Skip to content

Latest commit

 

History

158 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CatReader

Distraction-free PDF / EPUB / TXT reader. Progress syncs across devices (Firebase). No login required (anonymous + optional portable profile).

Version: see badge in app UI (APP_VERSION in src/utils/releaseNotes.ts) — currently v2.10.19.

Docs map

Doc What
docs/ARCHITECTURE.md Full app map (start here)
docs/reader-themes.md Themes + Modo lector
docs/paper-soul-implementation-plan.md Paper theme bake/render
docs/perf-and-tests.md Perf notes + test list
agents.md Agent directives / backlog
completed_tasks.md Shipped features archive

Quick start

npm install
npm run dev      # http://localhost:3000
npm test
npm run lint

Drop books into public/books/ (.pdf / .epub / .txt). predev/prebuild runs scripts/generate-library.jspublic/books.json.

Optional:

npm run enrich              # Gemini OCR + SVG covers
npm run paper-bake -- file.pdf

Env: copy .env.example.env (VITE_GEMINI_API_KEY, Firebase config via firebase-applet-config.json).

CATTS (PC — audiolibros / cola)

Backend en E:\zengatrivi-drive-e\catts · Tailscale 100.87.252.18

App URL
CatReader http://100.87.252.18:3000
Rosario http://100.87.252.18:3001
CatTS API http://100.87.252.18:59200

En la PC (cd catts):

npm start                 # API :59200 (Edge lean; sin STT warm)
npm run health
npm stop                  # liberar RAM
npm run stop:heavy        # API + Kokoro/STT/XTTS
.\scripts\start_reader_stack.ps1   # API + este CatReader :3000 + Rosario :3001

.env: VITE_CATTS_URL=http://100.87.252.18:59200 · VITE_CATTS_API_KEY= (o catts-local).
Audiolibro: audio + cattsBookId → cassette (stream + zip DL). Ready ids in docs/audiobook-bake.md.
Public (Vercel): Funnel → .\scripts\catts-funnel.ps1 then set Vercel VITE_CATTS_URL. Docs: docs/live-audio.md.

Deploy

Static Vite site (npm run builddist). Works on Vercel/Netlify. Books must be in public/books/ so they ship with the build (PWA caches PDFs at runtime; not precached).

Features (current)

  • Paged library: 4×4 racks, DnD, 8 shelves, wallpaper, / search
  • Continuous PDF scroll with ±8 page virtualization
  • EPUB + TXT; PDF “Modo lector” (ghost text)
  • Themes: light / sepia / paper / dim / dark
  • Zoom per device class (mobile / tablet / desktop)
  • Deep links + share URLs
  • Descubrir: feed de fragmentos de PDF/EPUB/TXT con retorno al libro
  • Google Drive pick/upload
  • Cover edit: Google Books / AI / paste / page crop

About

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages