Giter Site home page Giter Site logo

toannvbk93 / php-cbviewer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from awgh/php-cbviewer

0.0 2.0 0.0 276 KB

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

License: GNU General Public License v2.0

PHP 61.34% CSS 22.94% JavaScript 15.72%

php-cbviewer's Introduction


php-cbviewer fork ([email protected])
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.

php-cbviewer's People

Contributors

awgh avatar

Watchers

James Cloos avatar ToanNV avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.