Transform your long-form videos and podcasts into engaging short clips using AI. Automatically generate captions, translate content, and create viral-ready content for social media.
- 🎥 AI Video Processing: Convert long videos into multiple short clips
- 🗣️ Language Dubbing: Translate and dub videos in multiple languages
- 📝 Auto Captions: Generate and customize captions automatically
- ☁️ Cloud Storage: Integrated with Cloudinary for video hosting
- 🔐 User Authentication: Secure login with Supabase Auth
- 📱 Responsive UI: Modern, mobile-friendly interface
Frontend:
- Next.js 15 with TypeScript
- Tailwind CSS + shadcn/ui components
- Supabase for authentication
- Framer Motion for animations
Backend:
- Django REST Framework
- OpenAI API for AI processing
- Faster Whisper for transcription
- Cloudinary for video storage
- SQLite/Supabase for database
- Node.js 18+ and npm
- Python 3.8+
- OpenAI API key
- Supabase account
- Cloudinary account
git clone https://github.com/Diveshmahajan4/MomentAI.git
cd MomentAI
cd client
npm install
Create .env.local
:
NEXT_PUBLIC_SUPABASE_URL=your_supabase_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
Start development server:
npm run dev
cd server
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txt
Create .env
:
OPENAI_API_KEY=your_openai_api_key
CLOUDINARY_CLOUD_NAME=your_cloud_name
CLOUDINARY_API_KEY=your_api_key
CLOUDINARY_API_SECRET=your_api_secret
SUPABASE_URL=your_supabase_url
SUPABASE_KEY=your_supabase_service_role_key
DEBUG=True
SECRET_KEY=your_django_secret_key
Run migrations and start server:
python manage.py migrate
python manage.py runserver
For production or if you prefer Supabase over SQLite:
- Create tables in Supabase using the schema in
server/supabase_migrations/
- Set
USE_SUPABASE=True
in your server.env
- Sign up/Login using Google OAuth or email
- Upload a YouTube URL or video file
- Select number of clips to generate
- Choose language for dubbing (optional)
- Download or share your processed clips
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
MIT License - see LICENSE file for details.