All-in-One PDF Tool

A comprehensive web application for PDF manipulation and conversion operations.

Features

  • PDF Merge: Combine multiple PDF files into one
  • PDF Split: Extract specific pages or split into separate files
  • PDF to Images: Convert PDF pages to PNG/JPG images
  • Images to PDF: Convert images to PDF format
  • PDF Compression: Reduce PDF file size
  • PDF Info: View PDF metadata and page count
  • Password Protection: Add/remove password protection
  • Page Rotation: Rotate PDF pages

Project Structure

├── backend/
│   ├── index.ts           # Main Hono server
│   └── routes/
│       ├── pdf.ts         # PDF processing endpoints
│       └── static.ts      # Static file serving
├── frontend/
│   ├── index.html         # Main HTML template
│   ├── index.tsx          # React frontend entry
│   ├── components/
│   │   ├── App.tsx        # Main app component
│   │   ├── FileUpload.tsx # File upload component
│   │   └── ToolSelector.tsx # Tool selection component
│   └── style.css          # Custom styles
└── shared/
    └── types.ts           # Shared TypeScript types

Usage

  1. Select a PDF operation from the tool selector
  2. Upload your PDF file(s) or images
  3. Configure operation parameters
  4. Process and download the result

Tech Stack

  • Backend: Hono + PDF-lib for PDF processing
  • Frontend: React + TailwindCSS
  • File Handling: Browser File API
  • PDF Processing: PDF-lib library