HANA PDF is your go-to solution for effortlessly managing your PDFs. We've designed it with simplicity in mind, so you can edit, combine, shrink, convert, and personalize your PDFs with just a few clicks. And was implemented with front-end framework like ViteJS and Tailwind CSS and used of Flowbite library to maintain responsive and materialize interface. And powered with iLovePDF and Aspose Cloud API as one of the back-end.
- Apache 2.4 or Nginx
- Composer
- Docker
- On Windows use Docker Desktop
- On Linux use docker-compose and docker.io
- Node JS 20.11
- PHP 8.2.12
- PostgreSQL 16.2
- Python 3.10.x
- Vite JS
- Requests
- Clone the repository with git clone
- Go to root directory from this project
- Start to deploy
-
Windows based [Using docker desktop]
- docker compose up -d - docker compose exec hana-container-instance php artisan migrate - docker stats
-
Linux based [Using docker.io & docker-compose]
- sudo docker-compose up -d - sudo docker-compose exec hana-container-instance php artisan migrate - sudo docker stats
-
- Configure REST API and Telegram Notification
-
Windows based [Using docker desktop]
- docker compose exec hana-container-app-pdf echo "TELEGRAM_BOT_ID=YOUR_TELEGRAM_BOT_ID" >> .env - docker compose exec hana-container-app-pdf echo "TELEGRAM_CHAT_ID=YOUR_TELEGRAM_CHANNEL_ID" >> .env - docker compose exec hana-container-app-pdf echo "TOKEN_GENERATE=YOUR_ENCODE_SHA512_TOKEN" >> .env
-
Linux based [Using docker.io & docker-compose]
- sudo docker-compose exec hana-container-app-pdf echo "TELEGRAM_BOT_ID=YOUR_TELEGRAM_BOT_ID" >> .env - sudo docker-compose exec hana-container-app-pdf echo "TELEGRAM_CHAT_ID=YOUR_TELEGRAM_CHANNEL_ID" >> .env - sudo docker-compose exec hana-container-app-pdf echo "TOKEN_GENERATE=YOUR_ENCODE_SHA512_TOKEN" >> .env
-
- Clone the repository with git clone
- Copy .env.example file to .env and modify database credentials
- Add additional environment into .env with this string (Add yourself value :p)
- ASPOSE_CLOUD_CLIENT_ID="ASPOSE_CLOUD_CLIENT_ID" [https://dashboard.aspose.cloud/]
- ASPOSE_CLOUD_TOKEN="ASPOSE_CLOUD_TOKEN" [https://dashboard.aspose.cloud/]
- ADOBE_CLIENT_ID="ADOBE_CLIENT_ID" [https://developer.adobe.com/document-services/docs/overview/pdf-embed-api/]
- FTP_USERNAME="FTP_USERNAME" [https://dashboard.aspose.cloud/]
- FTP_USERPASS="FTP_USERPASS" [https://dashboard.aspose.cloud/]
- FTP_SERVER="FTP_SERVER" [https://dashboard.aspose.cloud/]
- ILOVEPDF_ENC_KEY="ILOVEPDF_ENC_KEY" [Generate your hash key (Max. 25 digits)]
- ILOVEPDF_PUBLIC_KEY="ILOVEPDF_PUBLIC_KEY" [https://developer.ilovepdf.com/]
- ILOVEPDF_SECRET_KEY="ILOVEPDF_SECRET_KEY" [https://developer.ilovepdf.com/]
- PDF_IMG_POOL="image"
- PDF_BATCH="batch"
- PDF_UPLOAD="upload"
- PDF_DOWNLOAD="download"
- PDF_POOL="pool"
- TELEGRAM_BOT_ID="YOUR_TELEGRAM_BOT_ID" [https://telegram-bot-sdk.com/docs/getting-started/installation]
- TELEGRAM_CHAT_ID="YOUR_TELEGRAM_CHANNEL_ID" [https://telegram-bot-sdk.com/docs/getting-started/installation]
- TOKEN_GENERATE="YOUR_ENCODE_SHA512_TOKEN"
- Run the following command [Make sure to configure database connectivity before use migrate function]
- composer install
- php artisan key:generate
- php artisan storage:link
- php artisan migrate
- Create new directory inside storage/app/public
- image
- batch
- upload
- download
- pool
- Start to deploy
- npm run dev -- --host - php artisan serve --host=localhost --port=80
The HANA PDF is a open source Laravel Project that has licensed under the MIT license.