MagicCuts is a powerful application that transforms long videos into viral short-form content. The platform uses AI to analyze video transcriptions, identify the most engaging moments, and automatically cut them into vertical short format videos optimized for social media platforms.
This project was created during a 12-hour YouTube challenge to build a tool that could help content creators repurpose their long-form content (like YouTube videos and livestreams) into viral shorts without manual editing.
MagicCuts:
- Analyzes video transcriptions to find the most engaging segments
- Automatically cuts these segments into vertical short-format videos
- Provides an intuitive dashboard to review and manage your viral clips
The project consists of two main components:
- Modern UI built with Remix, React, and TailwindCSS
- User authentication and project management
- Video preview and management dashboard
- RESTful API built with Hono
- Video processing and transcription with Deepgram
- AI analysis with OpenAI
- Video transformation with FFMPEG
- Storage with AWS S3
- Database management with Supabase
- Remix.js: React framework for building modern web applications
- React: UI library
- TailwindCSS: Utility-first CSS framework
- HeroUI: UI component library
- TypeScript: Type-safe JavaScript
- Zustand: State management
- Remotion: JavaScript library for creating videos programmatically
- Framer Motion: Animation library
- Node.js: JavaScript runtime
- Hono: Lightweight, fast web framework
- TypeScript: Type-safe JavaScript
- Deepgram: Audio transcription service
- OpenAI: AI for content analysis
- FFMPEG: Video processing tool
- AWS S3: Cloud storage
- Supabase: Backend-as-a-Service with PostgreSQL database
- Docker: Containerization
- Frontend: Deployed on Vercel
- Backend: Deployed on Railway
- Node.js (v20+)
- PNPM package manager
- FFMPEG installed on your system
- AWS, Supabase, Deepgram, and OpenAI accounts
- Navigate to the frontend directory and copy the example environment file:
cd frontend
cp .env.example .env
- Update the
.env
file with your API keys and endpoints.
- Navigate to the server directory and copy the example environment file:
cd server
cp .env.exemple .env
- Update the
.env
file with your API keys and service credentials.
cd frontend
pnpm install
pnpm run dev
cd server
pnpm install
pnpm run dev
Alternatively, you can use Docker for the backend:
cd server
docker compose up -d --build
docker compose logs -f
- Upload: Users upload their long-form video content
- Transcription: The system transcribes the video using Deepgram
- Analysis: AI analyzes the transcription to identify viral-worthy moments
- Processing: The system cuts the video into short segments
- Delivery: Users can preview and download the generated short videos
- AI-powered identification of viral-worthy moments
- Automatic video cutting and formatting
- User-friendly dashboard
- Video preview
- Transcription review
- Cloud storage integration
- Customizable output format
Contributions are welcome! This project was built during a 12-hour challenge but is open to improvements and new features.
This project is licensed under the MIT License.