Skip to content

zfakhoury/Quran-Shorts-Media-Preparation

Repository files navigation

Quran-Shorts-Media-Preparation

This repository showcases my workflow to automate the preparation of media files for my Quran shorts on https://www.youtube.com/@islamic-vibes-33/shorts

Preparing prerequisite media - required for initial setup only

Before we run main.py, we need to have the images locally on our machine for the script to run correctly.

1. Download all ayats of every surah

  • Open https://everyayah.com/data/quranpngs/, download the 000_images.zip file and extract the data
  • Open main.py, navigate to invert_image function and set the correct path to the extracted folder

2. Download calligraphy styling of every surah

  • Open prepare_surah_calligraphy.py and adjust the output directory where the images will be saved

3. Preparing Pexels API key

Pexels is a platform that contains free high quality images and videos shared by creators.

Read Pexels' API documentaion if needed.

Running main.py

Once the above steps were completed, you are set to save time by automatically generating media files for Quran videos. Don't forget to edit all the paths in the file.

About

Saves time by automatically generating Quran media files for shorts/videos

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages