Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sour-abh-raj/pptgen
https://github.com/sour-abh-raj/pptgen
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/sour-abh-raj/pptgen
- Owner: Sour-abh-Raj
- Created: 2024-08-06T10:33:05.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-06T15:14:15.000Z (5 months ago)
- Last Synced: 2024-08-07T13:09:16.226Z (5 months ago)
- Language: Python
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
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
]
```