Skip to content

About

Top 5 in Singapore, CloudHacks 2023. A website that creates a PowerPoint Presentation on a topic by scraping information from a Wikipedia page and then using an LLM API.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ScribeShare / CloudHacks

PowerPoint generator built for CloudHacks. This project placed top 5 in Singapore.

The app turns a topic supplied by the user into a structured presentation using an LLM API, then exports the result as a downloadable .pptx file.

What it does

  • Takes a topic from the user
  • Scrapes and extracts the Wikipedia article text
  • Sends the text to an LLM-based generation API
  • Converts the generated output into a slide outline
  • Builds a PowerPoint automatically with python-pptx
  • Returns the finished presentation as a downloadable .pptx file

How it works

The app uses Flask to serve a simple web interface. When a user submits a Wikipedia link, the program fetches the page, extracts the article content, trims it to fit the model input, and sends it to an external generation API.

The model response is then parsed into a structured format containing:

  • a title slide
  • a contents slide
  • several content slides
  • a questions-to-the-class slide
  • a thank-you slide

That parsed structure is passed into python-pptx, which builds the final presentation in memory before sending it back to the user as a download.

Tech Stack

  • Python
  • Flask
  • Flask-Session
  • Requests
  • BeautifulSoup
  • wikipedia
  • python-pptx
  • Google authentication libraries
  • SQLite
  • HTML
  • CSS
  • JavaScript

Project Structure

The codebase includes:

  • Flask route handling for presentation generation
  • Wikipedia scraping and article extraction
  • LLM prompt generation
  • response parsing into slide components
  • PowerPoint creation logic
  • file download handling

Setup

Install the dependencies first:

pip install flask flask-session werkzeug requests beautifulsoup4 wikipedia python-pptx google-auth google-auth-oauthlib google-api-python-client

Then run the app:

python app.py

Update user-specific API data on lines 93, 94, and 133 of main.py. Open the local Flask server in your browser.

Notes

  • The app is designed to turn raw Wikipedia content into a finished presentation with minimal manual editing.
  • The slide format is structured so the LLM output can be parsed reliably.

Award

Top 5 in Singapore – CloudHacks

About

Top 5 in Singapore, CloudHacks 2023. A website that creates a PowerPoint Presentation on a topic by scraping information from a Wikipedia page and then using an LLM API.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages