The platform behind PDFy, a free instant PDF host.
The PDF hosting software powering http://pdf.yt/.
For the Internet Archive auto-mirror script (optional):
internetarchive Python module (pip install internetarchive)oursql Python module (pip install internetarchive, depends on libmysqlclient being installed)If you wish to run PDFy yourself, this is how:
/var/sites, so the resulting folder would be /var/sites/pdfy./var/sites - this will become /var/sites/cphp.feature/formhandler branch - this is temporary until experimental CPHP features are merged into the master branch.config.json.example to config.json and configure the database./var/sites/pdfy/storage and ensure that it is owned by the user and group that your PHP / HTTPd run under. This is where PDF files will be stored./var/sites/pdfy/public_html/static/thumbs to that same user and group.CPHP, the PHP framework used for PDFy, will handle URL rewriting. To make this work, you will need to tell your HTTPd to forward any non-existent requests to /var/sites/pdfy/public_html/rewrite.php. This is how you do that for most common HTTPds. Make sure to place this in your virtual host configuration, not your global configuration!
FallbackResource /rewrite.phpRewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ rewrite.php [L]server.error-handler-404 = "/rewrite.php"location / {
try_files $uri $uri/ /rewrite.php;
}Please include the following information (where possible) in bug reports:
git rev-parse HEAD on the server)You may also file bugs related to the PDF viewer; if necessary, these will be forwarded upstream to the pdf.js project.
No open issues yet, or sync has not completed.