Commit Graph

41 Commits

Author SHA1 Message Date
abdullahalam123
8a494c0a01 feat(pdf-tools): add linearize pdf tool for web optimization
Add new linearize PDF tool that optimizes PDFs for fast web viewing using qpdf-wasm. Includes UI components, logic implementation, and test updates. The tool processes multiple PDFs and downloads them in a ZIP archive.
2025-10-19 13:59:25 +05:30
Alam
8e549b7304 Update README.md 2025-10-18 21:30:59 +05:30
Alam
574ed4bd36 Merge pull request #42 from Kimforee/feature/multiple-blank-pages
feat: add support for multiple blank pages insertion
2025-10-18 17:05:34 +05:30
Alam
7d1a1c9064 Merge pull request #43 from 414nx/multiupload-handle-encrypted-pdf
Multiupload handle encrypted pdf
2025-10-18 17:02:05 +05:30
414nx
560d45d290 changed for loop into promise.all for parallel loading of PDFs during encryption check multifileupload, added better seperation between alert text for encrypted pdf found merge warning, changed loose equality check in encrypted pdf check logic in handlemultifileupload to strict equality 2025-10-18 02:45:24 -06:00
keshav
a48ce08d39 test: add comprehensive test suite for add-blank-page functionality 2025-10-18 13:52:43 +05:30
Keshav Singh
f8579fb291 feat: add support for multiple blank pages insertion 2025-10-18 11:14:04 +05:30
414nx
f9ef634b6f modifies handleMultiFileUpload function to check if PDFs are password protected when using merge or alternate-merge 2025-10-17 12:50:53 -06:00
414nx
6841b38eac add whitespace-pre-line to div id=alert-message so that \n can be used for line breaks in alert messages 2025-10-17 12:07:45 -06:00
abdullahalam123
d98e18b51f build(docker): add docker-compose.dev.yml and update docker-compose.yml
Add development docker-compose configuration and switch production config to use pre-built image
docs: update README with improved setup instructions and new features
2025-10-17 21:27:25 +05:30
abdullahalam123
cc83d7951f refactor: fix type errors and improve type safety in PDF logic
- Add proper type assertions for DOM element properties
- Remove unused md-to-pdf feature
- Fix type errors in various PDF manipulation functions
- Improve type safety for HTML element interactions
2025-10-17 15:01:48 +05:30
Alam
298135ab0d Merge pull request #30 from NanditaPatil-dotcom/main
feat:Setup Prettier for code formatting
2025-10-17 14:28:48 +05:30
Alam
a61ec759ec Update .prettierrc 2025-10-17 14:27:24 +05:30
NanditaPatil-dotcom
d33a02b1a5 feat: "singleQuote" : false 2025-10-17 13:52:45 +05:30
NanditaPatil-dotcom
f1d830d81d feat:Setup Prettier for code formatting 2025-10-17 11:37:32 +05:30
Alam
87c191213c Merge pull request #24 from soultaco83/add-unraid-png
created png as unraid does not supprot svg
2025-10-16 20:07:52 +05:30
soultaco83
2e53b68631 created png as unraid does not supprot svg 2025-10-16 05:35:57 -04:00
Alam
17557d294b Merge pull request #23 from soultaco83/add-unraid-template
adding unraid template
2025-10-16 15:02:40 +05:30
soultaco83
886b81eb4f adding unraid template 2025-10-16 05:20:13 -04:00
Alam
70030fedda Merge pull request #21 from alam00000/alternate-merge
feat(pdf-tools): add alternate merge tool for mixing pdf pages
2025-10-16 12:39:02 +05:30
abdullahalam123
48baad9bf9 feat(pdf-tools): add alternate merge tool for mixing pdf pages
Implement new tool that allows users to combine PDFs by alternating pages from each document. Includes UI components, logic for processing, and test coverage.

- Add new tool to configuration arrays and categories
- Create UI with drag-and-drop file ordering
- Implement core logic for alternating pages
- Add comprehensive unit tests
2025-10-16 12:35:43 +05:30
Alam
a82148c253 Merge pull request #19 from alam00000/remove-blank-pages
feat: add remove blank pages tool with sensitivity control
2025-10-15 23:42:37 +05:30
abdullahalam123
39080c800f feat: add remove blank pages tool with sensitivity control
Implement new tool to detect and remove blank pages from PDFs with configurable sensitivity. Includes UI with preview functionality and comprehensive tests.
2025-10-15 23:34:53 +05:30
Alam
d4633e1429 Merge pull request #17 from alam00000/posterize
Posterize
2025-10-15 13:06:01 +05:30
abdullahalam123
1cf40d9328 docs: add issue and pull request templates
Add standardized templates for GitHub issues and pull requests to improve contribution consistency. The templates guide users to provide necessary details when reporting bugs, requesting features, or submitting code changes.
2025-10-15 12:57:38 +05:30
abdullahalam123
23e414a8be test: update expected tool count in pdf-tools test 2025-10-15 11:55:25 +05:30
abdullahalam123
f682986c29 Merge branch 'main' into posterize 2025-10-15 11:23:48 +05:30
Alam
ae18e5c647 Merge pull request #15 from phamleduy04/main
feat: cicd for build and push to docker registry
2025-10-14 22:19:56 +05:30
Duy Pham
412f83950d feat: cicd for build and push to docker registry 2025-10-14 10:29:36 -05:00
abdullahalam123
1424540081 fix: add mjs MIME type to nginx configuration
Ensure proper handling of JavaScript modules with .mjs extension by adding the correct MIME type
2025-10-14 15:40:56 +05:30
abdullahalam123
bbe2283611 feat(posterize): enhance posterize tool with page navigation and auto orientation
- Add page navigation controls to preview different pages
- Implement automatic orientation detection based on page dimensions
- Improve grid overlay rendering to only show for selected pages
- Cache page snapshots for better performance
2025-10-14 14:35:38 +05:30
Alam
6df86037f9 Merge pull request #10 from compliment/posterize
Fix(posterize): Resolve incorrect vertical tiling/cropping
2025-10-14 12:33:33 +05:30
Nishant
ed2629e69b Fix(posterize): Resolve incorrect vertical tiling/cropping
The Y-axis calculation in the `posterize` function was backward for `pdf-lib`'s bottom-left origin, causing the resulting PDF tiles to display only the bottom portion of the content, leaving large empty crops.

Corrected the `y` coordinate calculation using `tileRowIndexFromBottom = rows - 1 - r` to properly map the top-to-bottom loop index to the required bottom-up positioning.
2025-10-14 12:20:04 +05:30
abdullahalam123
0c1351adc5 feat(pdf-tools): add posterize tool to split pages into grid
Add new posterize feature that allows splitting PDF pages into a grid of smaller pages. The tool includes:
- Configurable rows and columns
- Page size and orientation options
- Content scaling modes
- Overlap settings for assembly
- Page range selection
2025-10-14 11:40:22 +05:30
Alam
ea8b350215 Update README.md
Added kofi link
2025-10-13 16:51:26 +05:30
abdullahalam123
7e9ac95375 fix: update contact email in Code of Conduct and Contributing documents; enhance HTML structure and styling in index.html 2025-10-12 20:26:24 +05:30
abdullahalam123
3f90e5ed8d feat(docker): add docker configuration files and update styles
refactor: convert script tags to link tags for stylesheets in HTML files
fix: update PDF download to use Uint8Array for blob creation
style: reformat CSS file for better readability and organization
2025-10-12 18:23:13 +05:30
abdullahalam123
5e72d7ca2d feat(test): add comprehensive test suite and testing infrastructure
- Add vitest configuration with coverage reporting
- Create test setup file with DOM mocks
- Add tests for state management, helpers, and tool configurations
- Update tsconfig and package.json for testing support
- Clean up unused comments and improve code style
2025-10-12 17:47:08 +05:30
abdullahalam123
3e52545a6c feat: add Code of Conduct, Contribution guidelines, and License files; update HTML files to use module stylesheets 2025-10-12 15:24:29 +05:30
abdullahalam123
47f4818e25 refactor(file-handler): replace innerHTML with DOM methods for safer rendering
refactor(form-filler): improve form field creation with DOM methods
refactor(compare-pdfs): use textContent instead of innerHTML
refactor(duplicate-organize): replace innerHTML with DOM methods
style(main): remove commented start app line
feat(config): add pdf-tools config file with tool categories
2025-10-12 12:51:54 +05:30
abdullahalam123
671297320e feat: add initial project setup with core PDF tools and utilities
- Implement core PDF manipulation tools (split, merge, convert, etc.)
- Add state management and UI utilities
- Set up build configuration with Vite and TailwindCSS
- Include essential dependencies for PDF processing
- Add gitignore and basic project configuration files
2025-10-12 11:55:45 +05:30