Skip to content

awgh/php-cbviewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


php-cbviewer fork (awgh@awgh.org)
version 0.2
- based on php-cbviewer 0.1, Copyright (C) 2008 Paul Leonard

PHP-CBViewer is a web-based viewer for .cbr and .cbz "comic book archives".

Features:
- Lightweight, no cruft.
- Uses just the filesystem, no database required.
- Supports extensions: cbr, cbz, rar, zip, pdf, and txt.
- "Next Comic" button skips to next comic for binge reading.
- Page rotation for tablets (still buggy on some browsers)
- Touchscreen/Scrollwheel friendly
- Site-level password option with IP Subnet Whitelisting

Requirements: 
PHP/RAR library (http://us.php.net/manual/en/rar.installation.php)
PHP/Zip library (http://us3.php.net/manual/en/zip.installation.php)
PHP/GD library (http://php.net/manual/en/book.image.php)

Setup:

1) Create a cache directory, which is web-accessible, in the same directory as config.php.  
On Ubuntu:
sudo mkdir /var/www/html/comics/cache

2) Give the cache directory sufficient permissions that the web server process can write to it (777, or chown()ed to the process owner of apache).  
On Ubuntu: 
sudo chown www-data:www-data /var/www/html/comics/cache

3) Enter the basename of this directory (e.g., "cache") for $webcache in config.php.

4) Enter the full path to your comics directory for $base in config.php.  This directory does
not need to be web-accessible, but must be readable by the web server process.



This program is free software; you can redistribute it and/or modify
it under the terms of Version 2 of the GNU General Public License as 
published by the Free Software Foundation.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

About

Comic Book Reader in PHP. Supports CBZ and CBR. No database required. Ajax viewer.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published