ContentTura AI is a powerful Next.js application that leverages AI to generate engaging content for various social media platforms. This project uses cutting-edge technologies to provide users with an intuitive interface for creating Twitter threads, Instagram captions, and LinkedIn posts.
- AI-powered content generation for Twitter, Instagram, and LinkedIn
- User authentication and account management with Clerk
- Points-based system for content generation
- Content history and regeneration
- Responsive design for desktop and mobile devices
- Preview functionality for generated content
- Integration with Google's Generative AI (Gemini)
- Next.js - React framework for building the frontend and API routes
- TypeScript - Typed superset of JavaScript
- Tailwind CSS - Utility-first CSS framework
- Clerk - Authentication and user management
- Google Generative AI - AI model for content generation
- Drizzle ORM - TypeScript ORM for database management
- Neon Database - Serverless Postgres database
- Stripe - Payment processing for subscriptions
- Lucide React - Icon library
-
Clone the repository:
git clone https://github.com/gautamkumar1/Contentura-AI cd contentura-ai
-
Install dependencies:
npm install
-
Set up environment variables: Create a
.env.local
file in the root directory and add the following variables:NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY= CLERK_SECRET_KEY= WEBHOOK_SECRET= NEXT_PUBLIC_DATABASE_URL= NEXT_MAILTRAP_TOKEN= NEXT_MAILTRAP_SENDER_EMAIL= NEXT_MAILTRAP_RECIPIENT_EMAIL= STRIPE_SECRET_KEY = NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY= NEXT_PUBLIC_BASE_URL= STRIPE_WEBHOOK_SECRET = NEXT_PUBLIC_GEMINI_API_KEY =
5. Run the development server:
```bash
npm run dev
- Open http://localhost:3000 with your browser to see the result.
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out the Next.js deployment documentation for more details.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.