Back to Trending
RepositoryPython
alexfazio

alexfazio/viral-clips-crew

Your CrewAI Powered Video Editing Assistant

776stars
119forks
4issues
2views

Featured achievements

The project's latest awards

2
TINIX TRENDING·Topic: crewai

#2 Repository of the week

8
TINIX TRENDING·Topic: yt-dlp

#8 Repository of the week

1
TINIX TRENDING·Topic: crewai

#1 Repository of the week

OpenAI Cookbook Logo

Your CrewAI Powered Video Editing Assistant

Are you a social media content curator? Skip the tedious editing process and get polished video highlights in minutes. viral-clips-crew watches and listens to long-form content, extracting the most striking and potentially viral segments, ready for publication on social media.

[!note] This project was 99% vibe coded as a fun Saturday hack. I'm not going to support it in any way, it's provided here as is for other people's inspiration and I don't intend to improve it. Code is ephemeral now and libraries are over, ask your LLM to change it in whatever way you like.

Content Repurposing Made Easy

viral-clips-crew helps you repackage your valuable content in new and engaging ways to capture attention on social media and drive traffic back to the original long-form piece. Whether you're looking to refresh your own content or recycle content from other creators, this tool streamlines the process, making content repurposing effortless and efficient.

Requirements

This project requires:

  • Python 3.7+
  • CrewAI
  • OpenAI API key and Google Gemini API key

All required Python libraries are listed in pyproject.toml.

Installation

  1. Clone this repository to your local machine:

    git clone https://github.com/alexfazio/viral-clips-crew.git
    
  2. Install Poetry to automatically manage project dependencies:

    pip install poetry
    
  3. Install the required Python packages using Poetry:

    poetry install
    
  4. Update Pydantic:

    poetry update pydantic
    
  5. Open .env and insert your OpenAI API key and Google Gemini API key.

    echo -e "OPENAI_API_KEY=<your-api-key>\nGEMINI_API_KEY=<your-api-key>" > .env
    

Usage

After setting up, drag your desired clip into the input_files directory.

Gemini can process videos up to 1 hour in length. If you are using the OpenAI API, please ensure that the clip is less than 15 minutes in length. The current LLM context windows are approximately 15 minutes.

Run viral-clips-crew using Poetry with the following command:

```shell
poetry run python app.py
```

This will kickstart the process from beginning to completion.

Final output will be in the subtitler_output directory.

Support

If you like this project and want to support it, please consider leaving a star. Every contribution helps keep the project running. Thank you!

Troubleshooting

If you encounter a TypeError: 'NoneType' object is not iterable, please check the following:

  • Ensure your API keys are correctly set in the .env file.
  • Verify that you have enough pay-as-you-go credits in your OpenAI account and Google Cloud account.

Note

The code for viral-clips-crew is intended for demonstrative purposes and is not meant for production use. The API keys are hardcoded and need to be replaced with your own. Always ensure your keys are kept secure.

Credits

Thank you to Rip&Tear for his ongoing assistance in improving this tool.

License

MIT

Copyright (c) 2024-present, Alex Fazio


Watch the video

Similar Projects

Discover other similar projects and AI models.

RepositoryPython
harry0703/MoneyPrinterTurbo

利用 AI 大模型和自动化工作流,根据主题或关键词一键生成高清短视频。Generate HD short videos from a topic or keyword with an automated AI workflow.

147.4k
Dec 3, 2026
RepositoryPython
iamajmeena/neonclipping

Paste a link, get captioned 9:16 clips in ~2 min. Free, local, open-source clipping engine (audio-first, YouTube captions, local LLM).

3.3k
Nov 24, 2026
RepositoryPython
OpenMontageInc/OpenMontage

World's first open-source, agentic video production system. 12 production pipelines, 100+ tools, 700+ agent skill and production-knowledge files. Turn your AI coding assistant into a full video production studio.

85.3k
Dec 1, 2026
RepositoryC#
umlx5h/LLPlayer

The media player for language learning, with dual subtitles, AI-generated subtitles, real-time translation, and more!

4.8k
Nov 5, 2026
RepositoryC
Genymobile/scrcpy

Display and control your Android device

156.4k
Dec 1, 2026
RepositoryTypeScript
heygen-com/hyperframes

Open-source AI video editor: edit your own footage, or create and remake any video with Claude Code, Codex or the free Studio app. Write HTML, render MP4. By HeyGen.

95.2k
Dec 3, 2026
RepositoryC
FFmpeg/FFmpeg

Mirror of https://git.ffmpeg.org/ffmpeg.git

68.8k
Dec 3, 2026
RepositoryPython
yt-dlp/yt-dlp

A feature-rich command-line audio/video downloader

212.6k
Dec 2, 2026
Modelsentence-similarity
sentence-transformers/all-MiniLM-L6-v2

all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...

♥0
156.6M
Jun 1, 2026