irongit

'added readme'

huncholanehuncholaneauthored
parent 3322db7commit d6db171c11707f96a637171f99dfcef8b8e653bdBrowse files

1 file changed, +37 -0

+37-0README
@@ -0,0 +1,37 @@
1+# HTML to PDF
2+
3+## Description
4+
5+This project allows you to upload a PDF file, view the PDF rendered as an image on the page, and see its content converted into HTML. It leverages `pdf.js` for rendering the PDF and extracting text to display it in HTML format.
6+
7+### Features:
8+
9+- **Upload PDF**: Users can upload a PDF file.
10+- **Render PDF as Image**: The PDF is rendered as an image on the canvas, allowing users to view the PDF content.
11+- **PDF to HTML Conversion**: The text content of the PDF is extracted and displayed in HTML format.
12+
13+## Progress
14+
15+- **Uploaded PDF File**: The user can select and upload a PDF file.
16+- **Rendered as Image**: The PDF is displayed as an image using the `pdf.js` library, rendered to a `<canvas>`.
17+- **HTML Conversion**: The text content from the PDF is extracted and displayed on the webpage using HTML elements.
18+
19+## TODO
20+
21+1. **Implement Drag-and-Drop Upload**: Allow users to drag and drop the PDF file to upload it.
22+2. **View Multiple Pages**: Implement functionality to navigate between different pages of the PDF and render them as images.
23+3. **PDF to HTML Conversion**: Complete the PDF-to-HTML conversion process by ensuring text is displayed accurately with proper formatting.
24+
25+## Installation
26+
27+### Prerequisites
28+
29+- Ensure you have a modern web browser that supports HTML5 and JavaScript.
30+- No server-side installation is required; this project is client-side only.
31+
32+### Steps to Run:
33+
34+1. Clone the repository (if applicable):
35+ ```bash
36+ git clone https://github.com/yourusername/html-to-pdf.git
37+ ```