Welcome to Threadcraft AI, a powerful AI-driven SaaS platform that generates optimized social media content for Twitter, Instagram, and LinkedIn. Built for content creators, marketers, and businesses, Threadcraft AI helps craft compelling Twitter threads, Instagram captions, and LinkedIn posts, all powered by cutting-edge AI technology.
AI-Powered Content Generation: Leveraging Google's Gemini AI for generating high-quality and engaging content across three platforms.
Next.js Framework: Optimized for fast performance and SEO with the power of Next.js.
ShadCN UI Components: Clean, accessible, and responsive UI elements, styled with Tailwind CSS.
Backend with Supabase & Neon: Scalable and secure data management powered by Supabase as a database and Neon for efficient PostgreSQL support.
Seamless Stripe Integration: Monetize your SaaS with Stripe for payments and subscriptions.
To get started with Threadcraft AI, follow these steps:
Make sure you have the following installed:
Clone the repository:
git clone https://github.com/<your-username>/ThreadcraftAI-SocialMedia-Content-Generator.git
Navigate to the project directory:
cd ThreadcraftAI-SocialMedia-Content-Generator
Install dependencies:
npm install
Set up environment variables:
Create a .env.local
file in the root of your project with the following variables:
NEXT_PUBLIC_SUPABASE_URL=<your_supabase_url>
NEXT_PUBLIC_SUPABASE_ANON_KEY=<your_supabase_anon_key>
DATABASE_URL=<your_neon_postgres_url>
STRIPE_SECRET_KEY=<your_stripe_secret_key>
GEMINI_API_KEY=<your_google_gemini_api_key>
Start the development server:
npm run dev
Run database migrations: Use Drizzle ORM to manage your database schema:
drizzle-kit migrate:run
If you're running the app locally and want to test Stripe payments, you'll need to expose your local environment to a public URL. Use ngrok to create a tunnel:
Install ngrok:
npm install -g ngrok
Run ngrok:
ngrok http 3000
Update your Stripe webhook settings with the ngrok-generated public URL.
For any questions or issues, feel free to reach out:
This project is licensed under the MIT License - see the LICENSE file for details.