An open API service indexing awesome lists of open source software.

https://github.com/riasatsk/viral-shorts-creator

easily create commentary YouTube shorts video which are currently going viral on reddit, x and youtube
https://github.com/riasatsk/viral-shorts-creator

ai elevenlabs gemini video viral youtube

Last synced: 3 months ago
JSON representation

easily create commentary YouTube shorts video which are currently going viral on reddit, x and youtube

Awesome Lists containing this project

README

          

# 🚀 Viral Shorts Creator - The Ultimate Commentary Video Generator!

Welcome to **Viral Shorts Creator**, the revolutionary tool that lets you create **highly engaging YouTube Shorts** featuring viral content from **Reddit, X (Twitter), and YouTube!** 🎥🔥

---
## 🛠️ Requirements
Before you start, make sure you have the following installed:

- **Node.js LTS** 🟢
- **Python** 🐍 + `yt_dlp` 📥
- **FFMPEG** 🎬
- **Gemini API Key** 🔑 (For generating video scripts)
- **ElevenLabs API Key** 🎤 (For high-quality voice generation)

---
## 🌍 Environment Variables Setup
Set up your API keys as environment variables:
## Mac and Linux
```sh
export GEMINI_API_KEY=your_gemini_api_key_here
export EL_KEY=your_elevenlabs_api_key_here
```
## Windows
```powershell
setx GEMINI_API_KEY "your_gemini_api_key_here"
setx EL_KEY "your_elevenlabs_api_key_here"
```

> 📝 **Important:** Make sure to update the **ElevenLabs Voice ID** in `./util/speech.js`, as every account has a different voice ID!

---
## 🚀 How It Works
1️⃣ Fetch trending content from **Reddit, X (Twitter), and YouTube** 📊
2️⃣ Generate a **script** using **Gemini AI** ✍️
3️⃣ Convert the script into a **voiceover** using **ElevenLabs** 🎙️
4️⃣ Merge voiceover with visuals using **FFMPEG** 🎞️
5️⃣ **Boom!** Your **viral-ready YouTube Shorts** is created! ⚡

---
## 🔧 Installation & Usage

### 1️⃣ Clone the Repository
```sh
git clone https://github.com/riasatsk/viral-shorts-creator.git
cd viral-shorts-creator
```

### 2️⃣ Install Dependencies
```sh
npm install # Install Node.js dependencies
pip install yt-dlp # Install Python dependencies
```

### 3️⃣ Run the Script
```sh
npm start
```

---
## 🎬 Example Video
[![Watch on YouTube](https://img.youtube.com/vi/IT5baKwiqy0/maxresdefault.jpg)](https://www.youtube.com/shorts/IT5baKwiqy0)
---
## 🔥 Why Use This?
✅ **Automates** the entire Shorts creation process 🚀
✅ Uses **AI** to generate scripts 📜
✅ High-quality **voiceover generation** with ElevenLabs 🎙️
✅ Fetches **real-time trending content** 📈
✅ **Fast & efficient** - Save hours of editing! ⏳

---
## 💡 Future Updates
✅ Support for more platforms 🌎
✅ Advanced voice modulation 🎭
✅ Customizable video templates 🎨
✅ Automated social media posting 📢

---
## 🎯 Contribute
Want to improve this project? Fork it, make changes, and submit a PR! Contributions are welcome! 🤝

⚡ **Start creating viral YouTube Shorts now!** 🚀