web EPUB reader using EPUB.js, Bootstrap, and Calibre.

Andrew Dolgov 80a289489d desaturate read covers 1 week ago
css 80a289489d desaturate read covers 1 week ago
db 05b286c2b5 add db/ 1 year ago
img 86d02c4cba update hires favicon 1 year ago
js f72b1c271a reader: return back to favorites view on exit if called from it 1 month ago
lib 38a03bd23b another attempt at smarter swipe behavior 1 month ago
sessions e12535e601 add .empty back 11 months ago
themes cf4f0ca070 update plan9 theme 4 months ago
.gitignore e6db30b32f update .gitignore 11 months ago
COPYING 1acf84942d add COPYING 1 year ago
README.md 59ddd75559 screenshots -> wiki 3 months ago
backend.php 80905f7477 use expires: for covers 3 months ago
config.php-dist dfee22901d * use PDO::sqlite 7 months ago
db.php dfee22901d * use PDO::sqlite 7 months ago
index.php f72b1c271a reader: return back to favorites view on exit if called from it 1 month ago
login.php dfee22901d * use PDO::sqlite 7 months ago
logout.php 9f4927825b move to internal user management because it's impossible to implement 1 year ago
manifest.json f37c9975ee add hires favicon, add support for run-as-app on chrome 1 year ago
offline.html cfc197038f js: enable strict mode 3 months ago
read.html abddef1155 reader: only start doing stuff after registering service worker 1 month ago
schema.sql 55f2b0090a add basic favorites via a horrible hack 11 months ago
sessions.php dfee22901d * use PDO::sqlite 7 months ago
useradm.php 76760cffe0 update password if adding but user exists 2 months ago
worker.js 33511390d6 add swipes lib back to worker cache 1 month ago

README.md

The Epube

web EPUB reader using EPUB.js, Bootstrap, and Calibre.

  • responsive design
  • has transparent offline mode via service workers
  • can optionally store files locally for later reading
  • supports word definition lookups using dictd
  • supports Chrome homescreen "app mode"
  • has several color themes

Screenshots

See here: https://git.tt-rss.org/fox/the-epube/wiki/Home

Installation

  1. Initialize scratch.db

    sqlite3 db/scratch.db < schema.sql
  2. Ensure both scratch.db and its containing folder (i.e. db/) are writable by the application, normally this means chown-ing them as www-data or whatever user your httpd is running under.

    chown www-data db/ db/scratch.db
  3. Copy config.php-dist to config.php and edit path to Calibre, etc.

  4. Setup users via useradm.php (command line)

Upgrading

When upgrading from an older Git snapshot which used HTTP Authentication:

  1. Disable HTTP Authentication in httpd configuration
  2. Reopen browser to clear HTTP auth
  3. Add two new tables to scratch.db (epube_users & epube_sessions)
  4. Add users via useradm.php (use same names as http auth, all data will be kept)

Requirements

  • PDO::sqlite
  • Calibre books directory and metadata.db

Acknowledgements

  1. Hires favicon by Flaticon - https://www.shareicon.net/business-school-material-open-book-education-leisure-reader-reading-794233
  2. Normal favicon from Silk icon pack - http://www.famfamfam.com/lab/icons/silk/

License

GNU GPL version 3.