Skip to content

✂️ A fast, beautiful, and privacy-friendly PDF Tools built with React, Vite, and Tailwind — crop pages your way, all in the browser.

Notifications You must be signed in to change notification settings

SabarinathRajendran/open-pdf-tools

Repository files navigation

OpenPDF Tools 🛠️📄 (Local, Private & Snappy)

Welcome to OpenPDF Tools – your one-stop, open-source playground for slicing, rotating, merging, and splitting PDFs. No uploads. No servers. Just clean, local PDF magic, straight from your browser.

🚀 Built with Vite, React, Tailwind CSS, and sprinkled with shiny Lucide React icons — this project is as sleek under the hood as it is on-screen.


🌐 Live Demo

Explore the landing page and tools here:
👉 https://openpdftools.sabarinath.dev/

Jump straight into cropping:
✂️ https://openpdftools.sabarinath.dev/#/crop


🧰 Tools Available

  • ✂️ PDF Cropper – Crop one page, selected pages, or the whole document.
  • 🔄 PDF Rotator – Coming soon!
  • 🔗 Merge PDFs – Coming soon!
  • ✂️ Split PDFs – Coming soon!

All tools run 100% in-browser. No file uploads. Your PDFs stay with you.


Features That’ll Make You Smile 😄

  • Drag and drop PDFs like it’s 1999
  • Crop one page, selected pages, or the whole book — your call
  • Built on Vite for lightning-fast performance ⚡
  • Styled with Tailwind CSS for sleek, responsive UI
  • Works completely offline — your PDFs stay safe and private

Getting Started (Because Everyone Loves a Good Tutorial) 🚀

What You’ll Need

  • Node.js (we used v22.17.0 — but anything recent should work)
  • npm or yarn — pick your favorite package manager

How To Get This Party Started

  1. Clone the repo:

    git clone https://github.com/SabarinathRajendran/open-pdf-tools.git
    cd open-pdf-tools
  2. Install all the goodies:

    npm install
    # or
    yarn install
  3. Fire it up:

    npm run dev
    # or
    yarn dev
  4. Visit http://localhost:5173 and behold your tool kingdom.


🛠 How To Use the PDF Cropper

  1. Upload your PDF like a boss
  2. View pages with smooth, scrollable previews
  3. Use crop handles to define the area to keep
  4. Apply the crop to a specific page, multiple pages (comma-separated), or all pages
  5. Export and download your cleanly cropped PDF

What’s Under The Hood? 🐎

  • PDF wizardry powered by pdf.js
  • React + SVG overlays for precise, buttery cropping
  • Crop logic with multi-page support
  • No servers, no nonsense — everything runs in your browser

Tech Stack — The Secret Sauce 🌶️


Wanna Contribute? We ❤️ That!

Got ideas? Found a bug? Wanna add a funky new feature? Here’s how:

  1. Fork the repo
  2. Create a new branch:
    git checkout -b feature/my-awesome-update
  3. Make your magic happen 💻
  4. Push and open a Pull Request
  5. Pat yourself on the back 🥳

Bonus points for clean code and thoughtful commits. Cookies for tests 🍪


License

Licensed under the MIT License — use it, fork it, remix it.


Talk To Me! 📬

Open an issue if you have questions, suggestions, or jokes.
I'm always happy to help (and rarely bite).


Thanks for checking out OpenPDF Tools — now go crop like a pro, merge like a master, and split like a ninja. ✂️🧙‍♂️📄

About

✂️ A fast, beautiful, and privacy-friendly PDF Tools built with React, Vite, and Tailwind — crop pages your way, all in the browser.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages