This project is a comprehensive platform designed to streamline the creation of engaging content, leveraging AI to generate text, audio, and video. It offers features like automated hook generation for social media, text-to-speech synthesis, and video creation from images and audio. The platform aims to empower users to produce high-quality content quickly and efficiently. It solves the problem of time-consuming content creation by automating various aspects of the process, from idea generation to final video production.
- User Authentication & Authorization: Secure user management with Google OAuth integration and session management.
- Subscription Management: Handles user subscriptions with free and pro tiers, integrated with PayPal for payments and webhook verification.
- AI-Powered Hook Generation: Generates attention-grabbing hooks for social media content using LLMs.
- Text Generation: Leverages LLMs to generate creative and engaging text content.
- Text-to-Speech (TTS): Synthesizes high-quality audio from text using PiperVoice.
- Video Generation: Creates videos from images, audio, and text, supporting various formats like YouTube and Shorts.
- Cloud Storage Integration: Utilizes Cloudflare R2 for storing and managing media files.
- Internationalization (i18n): Supports multiple languages for a global user base.
- Multi-Step Video Creation Wizard: Guides users through the video creation process with an intuitive interface.
- Frontend:
- React
- React Router DOM
- i18next
- clsx
- tailwind-merge
- lucide-react
- axios
- Backend:
- FastAPI
- Motor (Async MongoDB Driver)
- GridFS
- aiohttp
- requests
- PiperVoice
- emergentintegrations.llm.chat
- Database:
- MongoDB
- AI Tools:
- Large Language Models (LLMs) - e.g., GPT-3.5-turbo
- Pollinations AI (for image generation)
- Piper (for text-to-speech)
- faster-whisper (optional, for subtitle timing)
- Payment Integration:
- PayPal
- Cloud Storage:
- Cloudflare R2
- Build Tools:
- Create React App (CRA)
- Craco (CRA Configuration Override)
- Webpack
- Babel
- Other:
- Python
- Node.js
- dotenv
- os
- logging
- uuid
- datetime
- timezone
- timedelta
- typing
- hmac
- hashlib
- urllib
- json
- wave
- pydub
- re
- struct
- concurrent.futures
- multiprocessing
- psutil
- time
- gc
- Node.js and npm (or yarn) for frontend development.
- Python 3.7+ for backend development.
- MongoDB installed and running.
- Cloudflare R2 bucket configured.
- PayPal developer account for API credentials.
- Environment variables configured (see
.env.examplefiles infrontendandbackenddirectories).
Backend:
cd backend
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txtFrontend:
cd frontend
npm install # or yarn installBackend:
- Set the environment variables in a
.envfile based on.env.example. - Run the FastAPI server:
cd backend
uvicorn server:app --reloadFrontend:
- Set the environment variables in a
.envfile based on.env.example. Make sureREACT_APP_BACKEND_URLpoints to your running backend. - Start the React development server:
cd frontend
npm start # or yarn start📂 project-root
├── backend/
│ ├── __init__.py
│ ├── auth.py # Handles user authentication
│ ├── models.py # Data models (User, Subscription, etc.)
│ ├── r2_service.py # Cloudflare R2 service
│ ├── server.py # Main FastAPI application
│ ├── subscription.py # Subscription management logic
│ ├── viral_hooks.py # AI hook generation
│ ├── video_service.py # Video generation service
│ ├── venv/ # Python virtual environment
│ └── requirements.txt # Python dependencies
├── frontend/
│ ├── public/ # Static assets
│ ├── src/
│ │ ├── App.js # Main application component
│ │ ├── App.css # Global CSS styles
│ │ ├── index.js # Entry point for React application
│ │ ├── index.css # Global CSS styles
│ │ ├── i18n.js # Internationalization configuration
│ │ ├── contexts/ # React Contexts (Auth, Theme)
│ │ ├── components/ # Reusable React components
│ │ ├── pages/ # Page-level components
│ │ ├── lib/ # Utility functions
│ │ └── ...
│ ├── craco.config.js # CRA configuration override
│ ├── package.json # Frontend dependencies
│ └── ...
├── README.md # This file
└── ...
(Space for screenshots of the application in action)
We welcome contributions to this project! Please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them with clear, concise messages.
- Submit a pull request.
This project is licensed under the MIT License.
For questions or inquiries, please contact: [Your Name/Organization] at [Your Email].
Thank you for checking out our project! We hope you find it useful and we appreciate any feedback or contributions.
This is written by readme.ai, your go-to platform for generating beautiful and informative README files.