An end-to-end automation pipeline that creates and publishes vertical videos (Reels/Shorts/TikToks) across multiple social media platforms with zero human intervention.
This project implements a fully automated content creation system that:
- Scrapes trending AI/tech content from TLDR.tech
- Generates engaging video scripts using AI
- Creates vertical videos with voice-overs, music, and captions
- Publishes to Instagram, TikTok, and YouTube Shorts
- Operates completely autonomously
The system consists of:
- n8n: Workflow automation platform
- crawl4ai: Web scraping service
- Ollama: Local AI model for content generation
- Docker: Containerized deployment
- Colima: Local Docker environment for macOS
At least 4GB RAM available for containers
git clone git@github.com:migush/ClipClap-Factory.git
cd ClipClap-Factorychmod +x start_colima.sh
./start_colima.shThis script:
- Stops any running Colima instance
- Starts a new Colima environment with 2 CPUs and 4GB RAM
- Mounts your project directories for file sharing
docker-compose up -dThis will start:
- n8n on
http://localhost:5678 - crawl4ai on
http://localhost:11235
- Open your browser and navigate to
http://localhost:5678 - Complete the initial n8n setup
- Import the workflow from
ClipClat_Factory.json
ClipClap-Factory/
βββ docker-compose.yml # Container orchestration
βββ start_colima.sh # Colima startup script
βββ ClipClat_Factory.json # Main workflow
βββ files/ # Generated content storage (mouted)
βββ .n8n/ # n8n configuration (mounted)
The existing workflow (ClipClat_Factory.json) performs:
- Content Discovery: Scrapes AI news from TLDR.tech
- AI Processing: Uses Ollama to generate video scripts
- Content Storage: Saves generated scripts to
files/directory
- Open n8n at
http://localhost:5678 - Create a new workflow and import
ClipClat_Factory.json - Navigate to the imported workflow
- Make necessary adjustments (e.g., API keys)
- Execute Workflow
- Check the
files/directory for generated content
- Infrastructure Setup: Docker containers for n8n and crawl4ai
- Content Scraping: Automated scraping from TLDR.tech AI section
- AI Integration: Ollama local AI model for content processing
- Workflow Automation: n8n workflow for content discovery and processing
- File Management: Automated file generation and storage system
- AI-Powered Script Generation: Automated script creation from scraped content
- Image Generation: AI-generated images for video content (OpenAI API integration)
- Video Generation: Automated video creation with Kling AI
- Content Processing Pipeline: End-to-end content transformation workflow
- Text-to-Speech Integration: Automated voice-over generation
- Background Music: AI-generated or curated background music
- Caption Overlay System: Automated subtitle generation and placement
- Video Editing: Automated trimming, transitions, and effects
- Quality Optimization: Video compression and format optimization
- Instagram Integration: Automated posting to Instagram Reels
- TikTok API Integration: Automated posting to TikTok
- YouTube Shorts: Automated posting to YouTube Shorts
- Cross-Platform Optimization: Platform-specific video formatting
- Scheduling System: Intelligent posting time optimization
- Trending Topic Discovery: AI-powered trend analysis
- Content Performance Analytics: Automated performance tracking
- Viral Prediction: AI algorithms for content virality prediction
- A/B Testing: Automated content variation testing
- Audience Engagement: Automated response and interaction management
- Multi-Account Management: Support for multiple social media accounts
- Content Calendar: Advanced scheduling and content planning
- Team Collaboration: Multi-user workflow management
- Advanced Analytics: Comprehensive reporting and insights
- API Integration: Third-party service integrations
The system currently successfully:
- Scrapes trending AI content from TLDR.tech
- Generates AI-powered scripts using Ollama
- Creates AI-generated images using OpenAI
- Produces videos using Kling AI
- Stores all generated content automatically
Next Milestone: Phase 3 - Adding audio, music, and caption features to complete the video production pipeline.
# Check if Docker is running
docker ps
# Restart Colima
colima stop
colima start --cpu 2 --memory 4# Check if containers are running
docker-compose ps
# Restart services
docker-compose down
docker-compose up -dView container logs:
# n8n logs
docker-compose logs n8n
# crawl4ai logs
docker-compose logs crawl4aiThis project is licensed under the MIT License - see the LICENSE file for details.
- n8n for workflow automation
- crawl4ai for web scraping
- Ollama for local AI processing
- Docker for containerization
- Colima for local Docker on macOS
For questions or issues:
- Review n8n documentation
- Review crawl4ai documentation
- Review Ollama documentation
- Review Docker documentation
- Review Colima documentation
- Open an issue on GitHub
Happy automating! π