Skip to content

Sweetdevil144/Youtube-Shorts-Creator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README: Fantastic YouTube Shorts Extractor 🚀

🎉Welcome to Fantastic YouTube Shorts Extractor🎉 – Your one-stop solution to automagically identify and carve out the most engaging shorts from your favorite YouTube videos! Be ready to harvest the power of AI to transform boring long videos into crisp, catchy, and share-worthy short segments!

🌪 Whirlwind Magic Behind the Curtain 🎩

Your beloved video enters our mystical tool, gets stripped down to its bare captions, and voilà – analyzed by the arcane powers of GPT-4. This enchanted process sifts through every word, seeking out those hidden gems – clear, relevant, and punchy text segments that can stand tall and proud on their own as YouTube shorts!🎥✨

🚀 Blast Off: Get It Running Locally 🛠

Pre-requisites:

Enchanting the Environment:

  1. Clone the repository:
    git clone [repo_url] && cd [repo_name]
  2. Weave the Node.js spells:
    npm install
  3. Secret Whispers (Env Variables):
    • Create a .env file in your project root.
    OPENAI_API_KEY=YourOpenAIKeyHere
    PORT=3000

    🚨 Keep your secrets safe. Never share the .env file!

🔥Ignite the Engines:

🧙 How the Magic Happens...

  1. Caption Extraction:

    • The sorcerer, aka youtube.js, conjures the video captions, extracting the text along with the respective mystical timestamps.
  2. Caption Analysis:

    • The alchemist in fetchresults.js transforms the captions, utilizing the mighty GPT-4 from OpenAI, recognizing the text chunks prime for transmutation into compelling YouTube shorts.
  3. Segment Identification:

    • Upon analysis, clear and tantalizing segments are identified, extracting their timestamps, ready to be forged into dazzling video shorts.

Conjure your shorts with the Fantastic YouTube Shorts Extractor and let the worlds of AI and Video enchant your audience to the realm of endless engagement! 🚀🎥✨

About

A Website that helps extract shorts segments from a youtube video link

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •