ThreadCraft AI Logo

ThreadCraft AI: Social Media Content Generator

ThreadCraft 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.

Features

  • 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)

Tech Stack

Getting Started

  1. Clone the repository:

    git clone https://github.com/your-username/threadcraft-ai.git
    cd threadcraft-ai
  2. Install dependencies:

    npm install
  3. Set up environment variables: Create a .env.local file in the root directory and add the following variables:

    NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=your_clerk_publishable_key
    CLERK_SECRET_KEY=your_clerk_secret_key
    NEXT_PUBLIC_GEMINI_API_KEY=your_gemini_api_key
    DATABASE_URL=your_neon_database_url
    STRIPE_SECRET_KEY=your_stripe_secret_key
    NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=your_stripe_publishable_key
    
  4. Run the development server:

    npm run dev
  5. Open http://localhost:3000 with your browser to see the result.

Deployment

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.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.