A web service and interface for providing access to a local collections of e-books in various formats.
Go to file
2025-05-06 19:30:25 -04:00
ajax Add admin status to response data in getcontents 2025-05-06 12:37:38 -04:00
core Initial commit 2024-11-10 16:10:07 -05:00
css Add parse books feature for admin users. 2025-05-06 13:01:59 -04:00
install Move parsebooks to /scripts 2025-05-06 12:13:04 -04:00
js Improve logic for catching expired credentials. 2025-05-06 19:18:40 -04:00
scripts Fix reference to variables instead of scalar 0 when session is expired 2025-05-06 19:30:25 -04:00
.gitignore Initial commit 2024-11-10 16:10:07 -05:00
.htaccess Add rewrite rule and a bit of JS tweaking to make book download URLs more clean 2025-05-06 15:11:40 -04:00
authfunctions.php Catch ajax calls when session has expired and redirect to login 2024-12-02 07:21:32 -05:00
composer.json Initial commit 2024-11-10 16:10:07 -05:00
composer.lock Initial commit 2024-11-10 16:10:07 -05:00
download.php Rename pushbook to download 2025-03-13 13:48:50 -04:00
functions.php Initial commit 2024-11-10 16:10:07 -05:00
header.php Require login for parsebooks if not on CLI. Only initialize session if not on CLI. 2025-05-06 12:24:21 -04:00
index.php Add parse books feature for admin users. 2025-05-06 13:01:59 -04:00
logout.php Initial commit 2024-11-10 16:10:07 -05:00
README.md Change instructions to reference new path for parsebooks 2025-05-06 12:25:36 -04:00
variables-dist.php Initial commit 2024-11-10 16:10:07 -05:00

Book Depot

A quick and dirty web interface to provide access for downloading e-books and sending them directly to a Kindle email address.

Installation

  • Clone repository and enter that folder
  • Execute: composer install
  • Copy variables-dist.php to variables.php and edit appropriately
  • Create database on SQL server, create a DB user for this application, and import the books_initial.sql
  • Create a cron job that runs scripts/parsebooks.php daily