https://github.com/sour-abh-raj/pptgen
https://github.com/sour-abh-raj/pptgen
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sour-abh-raj/pptgen
- Owner: Sour-abh-Raj
- Created: 2024-08-06T10:33:05.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-22T22:18:58.000Z (over 1 year ago)
- Last Synced: 2025-03-17T16:21:12.999Z (over 1 year ago)
- Language: Python
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PowerPoint Presentation Generator
This project generates a PowerPoint presentation from a JSON file using a provided template. The generated presentation can be downloaded directly from the Streamlit app interface.
## Features
- Upload a JSON file containing slide content
- Upload a PowerPoint template file
- Generate a formatted PowerPoint presentation based on the provided template and JSON data
- Download the generated presentation
## Requirements
- Python 3.6 or higher
- Streamlit
- python-pptx
## Installation
1. Clone the repository:
```bash
git clone origin https://github.com/Sour-abh-Raj/PPTGen.git
cd ppt-generator
```
2. Install the required packages:
```bash
pip install -r requirements.txt
```
## Usage
1. Run the Streamlit app:
```bash
streamlit run app.py
```
2. Open the provided URL in your browser.
3. Upload the JSON file with the slide content and the PowerPoint template file.
4. Click the "Download PPT" button to download the generated presentation.
## JSON Data Structure
The JSON file should be structured as follows:
```json
[
{
"title": "Slide Title 1",
"content": ["Content line 1", "Content line 2", "Content line 3"]
},
{
"title": "Slide Title 2",
"content": ["Content line 1", "Content line 2", "Content line 3"]
}
// Add more slides as needed
]
```