diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 2e9be9a1..30a5ce23 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,6 +1,6 @@ # These are supported funding model platforms -github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] +github: Frooodle # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] patreon: # Replace with a single Patreon username open_collective: # Replace with a single Open Collective username ko_fi: # Replace with a single Ko-fi username diff --git a/README.md b/README.md index 719cc8ae..e66c3595 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,7 @@ [![Docker Image Version (tag latest semver)](https://img.shields.io/docker/v/frooodle/s-pdf/latest)](https://github.com/Frooodle/Stirling-PDF/) [![GitHub Repo stars](https://img.shields.io/github/stars/frooodle/stirling-pdf?style=social)](https://github.com/Frooodle/stirling-pdf) [![Paypal Donate](https://img.shields.io/badge/Paypal%20Donate-yellow?style=flat&logo=paypal)](https://www.paypal.com/paypalme/froodleplex) +[![Github Sponser](https://img.shields.io/badge/Github%20Sponsor-yellow?style=flat&logo=github)](https://github.com/sponsors/Frooodle) This is a powerful locally hosted web based PDF manipulation tool using docker that allows you to perform various operations on PDF files, such as splitting merging, converting, reorganizing, adding images, rotating, compressing, and more. This locally hosted web application started as a 100% ChatGPT-made application and has evolved to include a wide range of features to handle all your PDF needs. @@ -42,6 +43,8 @@ Feel free to request any features of bug fixes either in github issues or our [D - [OcrMyPdf](https://github.com/ocrmypdf/OCRmyPDF) - HTML, CSS, JavaScript - Docker +- PDF.js +- PDF-LIB.js ## How to use @@ -95,4 +98,4 @@ Stirling PDF allows easy customization of the visible application name. Simply use environment variables APP_HOME_NAME, APP_HOME_DESCRIPTION and APP_NAVBAR_NAME with Docker or Java. If running Java directly, you can also pass these as properties using -D arguments. -Using the same method you can also change the default language by providing APP_LOCALE with values like de-DE fr-FR or ar-AR to select your default language (Will always default to English on invalid locale) \ No newline at end of file +Using the same method you can also change the default language by providing APP_LOCALE with values like de-DE fr-FR or ar-AR to select your default language (Will always default to English on invalid locale) diff --git a/build.gradle b/build.gradle index 1b44bae2..c72764de 100644 --- a/build.gradle +++ b/build.gradle @@ -21,7 +21,7 @@ dependencies { implementation 'commons-io:commons-io:2.11.0' //general PDF - implementation 'org.apache.pdfbox:pdfbox:2.0.27' + implementation 'org.apache.pdfbox:pdfbox:2.0.28' implementation 'com.itextpdf:itextpdf:5.5.13.3' developmentOnly("org.springframework.boot:spring-boot-devtools") diff --git a/src/main/resources/static/css/general.css b/src/main/resources/static/css/general.css index 47465094..f6e4809e 100644 --- a/src/main/resources/static/css/general.css +++ b/src/main/resources/static/css/general.css @@ -21,3 +21,17 @@ html[lang-direction=rtl] * { direction: rtl; text-align: right; } + +.align-top { + position: absolute; + top: 0; +} +.align-center-right { + position: absolute; + right: 0; + top: 50%; +} +.align-bottom { + position: absolute; + bottom: 0; +} diff --git a/src/main/resources/static/pdf-lib.min.js b/src/main/resources/static/js/pdf-lib.min.js similarity index 100% rename from src/main/resources/static/pdf-lib.min.js rename to src/main/resources/static/js/pdf-lib.min.js diff --git a/src/main/resources/templates/fragments/common.html b/src/main/resources/templates/fragments/common.html index 53ae9662..52a35367 100644 --- a/src/main/resources/templates/fragments/common.html +++ b/src/main/resources/templates/fragments/common.html @@ -23,7 +23,7 @@ - + diff --git a/src/main/resources/templates/page-manager.html b/src/main/resources/templates/page-manager.html index 720ba47b..664dbbb8 100644 --- a/src/main/resources/templates/page-manager.html +++ b/src/main/resources/templates/page-manager.html @@ -23,21 +23,21 @@ - - -