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
- Host: GitHub
- URL: https://github.com/riasatsk/viral-shorts-creator
- Owner: riasatsk
- Created: 2025-03-21T01:43:05.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-04-18T18:42:26.000Z (8 months ago)
- Last Synced: 2025-04-19T07:03:22.710Z (8 months ago)
- Topics: ai, elevenlabs, gemini, video, viral, youtube
- Language: JavaScript
- Homepage:
- Size: 16.7 MB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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
[](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!** 🚀