Sweetdevil144 / Youtube-Shorts-Creator

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

Home Page:https://youtube-shorts-creator.onrender.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.py, conjures the video captions, extracting the text along with the respective mystical timestamps.
  2. Caption Analysis:

    • The alchemist in fetchresults.py 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

https://youtube-shorts-creator.onrender.com


Languages

Language:JavaScript 75.3%Language:CSS 16.6%Language:HTML 8.1%