Spaces:
Running

stylescript / README.md
mhzftech's picture
Build a web application named "StyleScript" that allows users (especially students) to generate a PDF document from their code output or text files using a prompt. Core features: 1. A simple UI where user uploads a text file or enters output text manually. 2. User can enter a natural language prompt like: "Generate PDF of my output with dark background, Courier font, and title 'My Python Result'" 3. Parse the prompt to extract styling preferences (font, theme, title). 4. Generate a formatted PDF based on the prompt using Python (e.g., ReportLab, FPDF, pdfkit). 5. Provide a preview of the PDF and option to customize further (change font size, theme, alignment). 6. Allow download of the final PDF. 7. Bonus (optional): Save prompt history for logged-in users. Frontend Stack: HTML, CSS (Tailwind or Bootstrap), JavaScript Backend Stack: Python with Flask (or FastAPI) PDF Generator: Use libraries like ReportLab, WeasyPrint, or pdfkit Add comments and modular code structure so it's easy to expand in future. - Initial Deployment
f9689d2 verified
|
Raw History Blame Contribute Delete
212 Bytes
---
title: stylescript
emoji: 🐳
colorFrom: red
colorTo: yellow
sdk: static
pinned: false
tags:
- deepsite
---
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference