Skip to content

JackByteBack/Snap2pdf-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“Έ Snap2PDF

A lightweight, browser-based tool to convert images into a single PDF β€” no uploads, no server, no installs. Everything runs locally in your browser.

πŸ”— Live Demo: snap2doc.vercel.app


✨ Features

  • Upload up to 20 images β€” JPG, JPEG, PNG, and WEBP supported (max 20 MB)
  • Drag & drop or click-to-upload support
  • Auto smart layout β€” automatically arranges 1–8 images per page in an optimized grid
  • Portrait & Landscape orientation toggle
  • Auto-rotation β€” portrait (vertical) images are automatically rotated to landscape for better fit
  • Subject name field β€” label your PDF with a subject name before exporting
  • Save to Device β€” download the generated PDF directly
  • Share to WhatsApp β€” uses the native share sheet on mobile; desktop falls back to download + prefilled WhatsApp message
  • Progress indicator β€” live progress bar while generating the PDF
  • Fully client-side β€” your images never leave your device

πŸ› οΈ Tech Stack

Technology Purpose
HTML / CSS / JavaScript Core frontend (single-file app)
jsPDF 2.5.1 PDF generation in the browser
Google Fonts (Nunito) Typography
Vercel Hosting & deployment

πŸš€ Getting Started

No build step required. Just open index.html in any modern browser.

git clone https://github.com/JackByteBack/Snap2pdf-.git
cd Snap2pdf-
# Open index.html in your browser
open index.html

Or deploy instantly to Vercel:

Deploy with Vercel


πŸ“‚ Project Structure

Snap2pdf-/
β”œβ”€β”€ index.html      # Entire app β€” HTML, CSS, and JS in one file
└── README.md

πŸ“± How to Use

  1. Open the app in your browser
  2. Upload images by clicking Upload or dragging and dropping them
  3. (Optional) Enter a subject name
  4. Choose Portrait or Landscape orientation
  5. Click Convert to PDF
  6. Download with Save to Device or send via Share to WhatsApp

🀝 Contributing

Pull requests are welcome! Feel free to open an issue for bugs or feature suggestions.


πŸ‘€ Author

Made with ❀️ by JackByteBack

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages