HTML to JPEG/PNG/PDF Converter

Instantly convert your URL & Html File into various formats JPEG/PNG/PDF

Share on Social Media

Screenshots


Details


      • Features:
          • Build with Laravel 5.4
          • Build with Bootstrap 3.3.7
          • Includes both client and server side validation
          • Includes Summernote WYSIWYG Editor
          • Includes Nodejs application for webpage screenshot and PDF generation
          • Fast capturing screenshot to convert url and html into JPEG/PNG/PDF using Phantom JS
          • Option to change the viewport dimensions to get screen sizes of all shapes and sizes.
          • Renders all Web font to JPEG/PNG/PDF



  • Installation Instructions
  • Requirements:
      • PHP >=5.6.4
      • Nginx
      • Nodejs > 6
      • PhantomJS 2.1.1
      • Composer

  • Please follow the below steps to install the application
  • Step 1: Please follow the below link to install PhantomJS on ubuntu 16.04
  •     https://www.vultr.com/docs/how-to-install-phantomjs-on-ubuntu-16-04
  • Step 2:


  1. After clonning or downloading the application cd to the folder and run the following command
    composer install

  2. Give write permissions to the following folders
    public/storage
    nodejs/storage
    storage


Step3:




  1. Web Server Configuration Nginx for laravel


    server {
    listen 80;
    listen [::]:80;

    root /home/ubuntu/htmltopdf/public;
    index index.html index.php index.htm index.nginx-debian.html;

    server_name htmtopdf.dev;

    location / {
    try_files $uri $uri/ =404;
    }

    location ~ \.php$ {
    include snippets/fastcgi-php.conf;
    fastcgi_pass unix:/run/php/php7.0-fpm.sock;
    }

    location ~ /\.ht {
    deny all;
    }
    }


  2. Please change your root and server name according your setup


Step4:



  1. Cd the following nodejs folder and run the following command to run the nodejs application required for the laravel application
    nohup node index.js > /dev/null 2>&1 &

Version History


v1.0

Released On: November 20, 2017


Reviews


Not yet reviewed

Question or Comment


No support questions or comments