A small project to provide a web interface for reading comics and webnovels int he CBZ and CBR format.
Go to file
2024-10-17 10:55:21 -04:00
ajax Make sure all ajax calls properly redirect to login page when required 2024-10-17 10:55:21 -04:00
comics Initial Commit 2023-08-18 12:50:45 -04:00
core Initial Commit 2023-08-18 12:50:45 -04:00
cron Add cron script for removing aged extracted comics 2023-08-22 15:35:01 -04:00
css Clean up some styling and HTML layout 2024-03-10 13:31:03 -04:00
img Additions to implement manifest file for home screen app installation 2024-05-29 13:46:40 -04:00
install Add htaccess exclusion to the install/ folder 2024-10-09 16:44:25 -04:00
js Make sure all ajax calls properly redirect to login page when required 2024-10-17 10:55:21 -04:00
thumbs Initial Commit 2023-08-18 12:50:45 -04:00
.gitignore Add single character name PHP files to the ignore list as they are only used for spot testing. 2024-01-07 16:50:54 -05:00
.htaccess Initial Commit 2023-08-18 12:50:45 -04:00
authfunctions.php Make sure all ajax calls properly redirect to login page when required 2024-10-17 10:55:21 -04:00
downloadcomic.php Switch makePathSafe to use native realpath() 2023-08-18 13:19:41 -04:00
functions.php Better handle thumbnail creation inside archives when files have no extension 2024-05-29 13:12:03 -04:00
header.php Only start the session and create session variables when not running in CLI 2023-08-22 14:45:18 -04:00
htmlfooter.php Switch to jQuery/AJAX folder navigation 2023-08-21 20:55:09 -04:00
htmlheader.php Clean up some of the ending tags 2024-08-14 11:22:03 -04:00
index.php Clean up some styling and HTML layout 2024-03-10 13:31:03 -04:00
logout.php Initial Commit 2023-08-18 12:50:45 -04:00
manifest.json Fix the scope path for the main app 2024-08-14 11:22:30 -04:00
README.md Add cron stuff to don't forget list 2023-08-22 15:45:16 -04:00
sess.php Initial Commit 2023-08-18 12:50:45 -04:00
variables-dist.php Add ADULTMODE feature to hide adult themed comics 2023-11-14 08:25:05 -05: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
  • Set up the cron job for things in cron/