Lightweight comics reader (web version)

Andrew Dolgov 3185cb8e21 remove reduntant code from thumbnails 1 week ago
cache 7b10d9d518 initial 1 week ago
db 7b10d9d518 initial 1 week ago
img 7bda31a847 remove item padding 1 week ago
lib 8879df5cfb remove php-based reader; finalize merge of electron code 1 week ago
sessions 7b10d9d518 initial 1 week ago
.gitignore 85aa917f07 upd .gitignore 1 week ago
README.md 706c83a066 upd readme 1 week ago
backend.php fe2411d56e use webp for downsampled pages 1 week ago
common.php 3185cb8e21 remove reduntant code from thumbnails 1 week ago
config.php-dist 7b10d9d518 initial 1 week ago
db.php 372dae85df store metadata in the DB 1 week ago
index.php 4fbf51a612 fix missing favicon 1 week ago
login.php 4fbf51a612 fix missing favicon 1 week ago
logout.php 7b10d9d518 initial 1 week ago
manifest.json 6e39919c67 upd icons 1 week ago
reader.css 8879df5cfb remove php-based reader; finalize merge of electron code 1 week ago
reader.css.map 8879df5cfb remove php-based reader; finalize merge of electron code 1 week ago
reader.html 2f334589e8 add fs/zoom 1 week ago
reader.js d49b5e0afd downsample: respect devicepixelratio 1 week ago
reader.less 8879df5cfb remove php-based reader; finalize merge of electron code 1 week ago
schema.sql 372dae85df store metadata in the DB 1 week ago
sessions.php 7b10d9d518 initial 1 week ago
useradm.php e8a55993fe add reader skeleton 1 week ago

README.md

Pow! Comics Reader (web)

Responsive minimalistic CBZ reader with support for network sync.

See also: https://git.tt-rss.org/fox/tt-comics-web/wiki

Installation

WARNING: since database folder is, by default, accessible for unauthenticated HTTP requests it is recommended to set SCRATCH_DB to a secure random value (i.e. db/long-random-string.db) or put it outside of scope accessible by your http server. Alternatively, you can simply block access to db:

location /comics/db {
   deny all;
}
  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

Additionally, cache folder should also be writable by your httpd.

  1. Copy config.php-dist to config.php and edit paths, etc.

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

Requirements

  • GD to make comic cover thumbnails
  • PDO::sqlite
  • Comic archives in standard CBZ format

License

GNU GPL version 3.