PDF Sucker is a fast and reliable desktop application built with Next.js and Tauri. It allows you to seamlessly convert PDF documents into high-quality JPG images and extract pages effortlessly.
- PDF to Image Conversion: Quickly convert your PDF files into individual JPG images.
- Bulk Export: Utilizes
jszipto easily compress and export your extracted images as a single ZIP file. - Modern UI: A sleek, responsive, and user-friendly interface built with Next.js, Tailwind CSS, and Radix UI components.
- Cross-Platform: Built on top of Tauri, ensuring it runs efficiently as a native desktop application with minimal resource overhead.
- Local Processing: All conversions happen locally on your machine, ensuring your documents remain private and secure.
Before you begin, ensure you have met the following requirements:
- Node.js (v18 or higher recommended)
- pnpm (as the package manager used in this project)
- Rust and Cargo (required for building the Tauri backend)
- Any OS-specific dependencies required by Tauri (e.g., C++ build tools on Windows). Refer to the Tauri Prerequisites Guide for more details.
-
Clone the repository:
git clone <repository-url> cd pdf-to-jpg-conversion
-
Install frontend dependencies:
pnpm install
To run the application in development mode with hot-reloading for both the frontend and the Tauri backend:
pnpm tauri devTo build the application for release (creates a standalone executable for your operating system):
pnpm tauri buildThe compiled executable will be located in the src-tauri/target/release/ directory.
- Frontend: Next.js, React, Tailwind CSS
- UI Components: Radix UI, Lucide React
- Backend/Desktop: Tauri
- PDF Processing: PDF.js
- Archiving: JSZip
- Icon Logo: main-logo.png
- Command to generate icon: npx tauri icon public/main-logo.png