A small project to provide a web interface for reading comics and webnovels int he CBZ and CBR format.
Go to file
2023-08-18 13:59:21 -04:00
ajax Switch makePathSafe to use native realpath() 2023-08-18 13:19:41 -04:00
comics Initial Commit 2023-08-18 12:50:45 -04:00
core Initial Commit 2023-08-18 12:50:45 -04:00
css Initial Commit 2023-08-18 12:50:45 -04:00
img Remove execute bit from images 2023-08-18 12:51:25 -04:00
install Initial Commit 2023-08-18 12:50:45 -04:00
js Initial Commit 2023-08-18 12:50:45 -04:00
thumbs Initial Commit 2023-08-18 12:50:45 -04:00
.gitignore Initial Commit 2023-08-18 12:50:45 -04:00
.htaccess Initial Commit 2023-08-18 12:50:45 -04:00
authfunctions.php Initial Commit 2023-08-18 12:50:45 -04:00
downloadcomic.php Switch makePathSafe to use native realpath() 2023-08-18 13:19:41 -04:00
functions.php Switch makePathSafe to use native realpath() 2023-08-18 13:19:41 -04:00
header.php Reset compath to / if it's empty 2023-08-18 13:37:00 -04:00
index.php Properly fix the removal of makepathsafe(). Sheesh. 2023-08-18 13:42:42 -04:00
logout.php Initial Commit 2023-08-18 12:50:45 -04:00
README.md Add some details about a RAR module fix required for PHP 8.x. Add another Don't Forget step. 2023-08-18 13:59:21 -04:00
sess.php Initial Commit 2023-08-18 12:50:45 -04:00
variables-dist.php Initial Commit 2023-08-18 12:50:45 -04:00

Comics Viewer

This small project provides a web based viewer for comics in the CBZ and CBR formats. Bear in mind that much of the code in this project is very old and has had lots of "just get it working" updates over the decades (not kidding) to keep up with changing PHP API requirements. It is sooooo not pretty (but should be safe).

This project requires

  • PHP ImageMagick
  • PHP RAR (PECL)
    • Unfortunately RAR 4.2.0 has not been updated for PHP 8/8.2 (as of 2023-08-18). There is a fix available. Just replace the files in the version from PECL/Github with the ones in this.

Don't forget to:

  • Make sure the web server can read the folder than contains your comic book/novel archives
  • Create a MySQL/MariaDB database for the app with privileges granted to a user
  • Import the install/initial_db_mysql.sql database structure
  • Change the ownership of the comics/ and thumbs/ folders to the web server user
  • Copy the variables-dist.php file to variables.php and edit that file appropriately