A markdown file is imported, the bulletpoints are used to search google images and slides are created inserting the downloaded image to each slide along with the text.
# Title1
- bulletpoint 1
- bulletpoint 2
# Title2
- bulletpoint 1
- bulletpoint 2
conda create -n slide_generator python=3.9
conda activate slide_generator
pip install googlesearch-python
pip install Google-Images-Search
pip install python-pptx
To use this script, you'll need a Google API key and a Custom Search Engine ID (cx). You can obtain them by following the steps in the official documentation.
Once you have the API key and cx, you can run the script from the command line like this:
python slide_generator.py slides.md your_api_key your_cx
See ./sample/
folder for a sample output when the script is run with the slides.md
input.