Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Website-to-PDF Web Tool

A modern web application that converts any webpage into a downloadable PDF using Flask, Playwright, and a responsive frontend with TailwindCSS + Alpine.js.

Features

  • Input any URL and generate a high‑fidelity PDF.
  • Preview the website thumbnail before conversion.
  • Customize page size (A4/Letter), margin, dark mode, and JavaScript wait time.
  • Clean, modern UI with gradient background and smooth animations.
  • Error handling for invalid URLs, timeouts, and blocked sites.
  • Fully responsive and mobile‑friendly.

Tech Stack

  • Backend: Python 3.8+, Flask, Playwright (async)
  • Frontend: TailwindCSS (CDN), Alpine.js
  • Deployment: Runs locally, easy to deploy on Render, Railway, or any WSGI‑compatible host.

Installation

  1. Clone the repository:
    git clone https://github.com/mustapha-devstack/website-to-pdf.git
    cd website-to-pdf
    
    
    playwright install chromium

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages