Open-source AI social media post generator — production-ready Next.js SaaS with live platform mockups for LinkedIn, Twitter/X, Instagram, Facebook & Reddit, multi-tone generation, and publish intents. Free Buffer AI & Jasper Social alternative with Stripe, credits, NextAuth, Prisma.
36
stars
15
commits
JavaScript
primary language
Jul 27, 2026
updated
Generate platform-native social media posts for LinkedIn, Twitter/X, Instagram, Facebook, Reddit, and LINE in seconds. A production-ready, self-hostable Next.js SaaS boilerplate with live platform mockups, multi-tone generation, publish intents, and built-in Stripe billing. A free open-source alternative to Buffer AI, Jasper Social, Hootsuite OwlyWriter, Publer, and Copy.ai — powered by the MuAPI AI engine.
Tech stack: Next.js 14 (App Router) · Prisma · PostgreSQL · NextAuth (Google OAuth) · Stripe · Tailwind CSS · MuAPI any-llm Use cases: Social media managers · Content creators · Marketing agencies · Influencers · Brand managers · Startup growth teams · E-commerce stores · Newsletter writers
Hosted Demo: social-post-woad.vercel.app
Experience the full glassmorphic, responsive interface. Sign in with Google to explore the Studio, customize dropdowns (Language, Character Length, and Tones), and preview mock social feeds directly from your browser.
AI Social Post Generator is not just another wrapper — it's a production-ready, highly-optimized AI web application. Out of the box, it seamlessly manages User Authentication, Credits & Billing, Creations Persistence, and asynchronous AI generation polling using a sleek Next.js (App Router) architecture. It empowers you to build professional-grade AI workflows with built-in mobile optimization, making it the perfect starting point for your next AI SaaS.
Why use AI Social Post Generator?

overscroll-contain wheel scroll-chaining preventions.Deploying an instance of AI Social Post Generator to the web requires minimal configuration. The architecture is engineered explicitly for Vercel serverless environments.
Pro Tip: Fork this repository, replace
YOUR_GITHUB_USERin the link above, to streamline deployments for your private forks.
To successfully deploy and run, you must populate the following environment variables in your Vercel project settings:
| Service | Variable | Description & Source |
|---|---|---|
| Database | DATABASE_URL | PostgreSQL connection string (Supabase shared pool with pgbouncer) |
DIRECT_URL | Direct DB connection for Prisma migrations and pushes | |
| NextAuth / Google | NEXTAUTH_SECRET | Secure random string generated via openssl rand -base64 32 |
NEXTAUTH_URL | Your production domain (e.g. https://social-post-woad.vercel.app) | |
GOOGLE_CLIENT_ID | Get from Google Cloud Console | |
GOOGLE_CLIENT_SECRET | Get from Google Cloud Console | |
| Stripe Billing | STRIPE_SECRET_KEY | Get from Stripe Dashboard |
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY | Get from Stripe Dashboard | |
STRIPE_WEBHOOK_SECRET | Webhook secret for resolving credit purchases | |
| AI Generator | MU_API_KEY | Create an account and get key from muapi.ai/access-keys |
WEBHOOK_URL | Callback URL for receiving slow-running generation events |
DATABASE_URL) and direct connection string (DIRECT_URL).npm run build).npx prisma db push && to your Vercel build command, or manually run it locally pointing to your production database URL.https://social-post-woad.vercel.app/api/auth/callback/googlehttps://social-post-woad.vercel.app/api/stripe/webhook and selecting the checkout.session.completed event to grab your webhook signing secret.Ready to iterate locally? Setup is straightforward.
# 1. Clone the repository
git clone https://github.com/SamurAIGPT/social-post
cd social-post
# 2. Install dependencies
npm install
# 3. Setup Environment
cp .env.example .env
# Open .env and insert your specific keys. You can use a local DB or your dev cloud DB.
# 4. Initialize Database Schema
npx prisma generate
npx prisma db push
# 5. Start the Development Server
npm run dev
The graphical console should now be heavily responsive on http://localhost:3000.
⚠️ Database Safety Warning: This application shares a single PostgreSQL database instance on Supabase with other applications in this workspace. Follow the cycle below to synchronize models safely:
npx prisma db pull (introspects all 20+ active tables)SocialPostCreation model in your local schema.prisma and link it inside the User model.npx prisma db push to merge changes safely.schema.prisma, leaving only Account, Session, User, VerificationToken, and SocialPostCreation.npx prisma generate to build your local Prisma client.This application decouples visually rich UI elements from core business logic layers, emphasizing modularization.
social-post/
├── prisma/
│ └── schema.prisma # Postgres tables: Users, Accounts, Creations
├── src/
│ ├── app/ # Next.js 16 App Router
│ │ ├── api/ # Backend API Routes (Stripe, MuAPI any-llm, Auth)
│ │ │ ├── auth/ # NextAuth catch-all routes
│ │ │ ├── billing/ # Stripe Checkout session builders and webhook listeners
│ │ │ └── creations/ # Creations database fetch and POST polling endpoints
│ │ ├── gallery/ # Detailed css grid completed user posts gallery
│ │ ├── pricing/ # Interactive packaging tier checkout selection page
│ │ ├── layout.js # Head assets and metadata
│ │ ├── globals.css # Styling system theme and gradients
│ │ └── page.js # Main Studio generation and social preview interface
│ ├── components/
│ │ └── Navbar.jsx # Collapsible responsive navigation component
│ └── lib/
│ ├── prisma.js # Shared ORM client singleton
│ ├── auth.js # Google OAuth callback options
│ ├── config.js # Platform metadata and price tiers
│ └── services/
│ ├── user.js # Credit adjustment database hooks
│ ├── billing.js # Stripe construction services
│ └── ai.js # MuAPI predictions submissions and fallback mocks
├── next.config.mjs # Next Configuration
├── tailwind.config.js # Project theme specs
└── package.json
MIT Licensed.
AI Social Post Generator: A modular, mobile-ready, production-grade AI web application engine built for creators and builders.
13 commits
2 commits
JavaScript
97.6%
CSS
2.2%
Open-source AI social media post generator — production-ready Next.js SaaS with live platform mockups for LinkedIn, Twitter/X, Instagram, Facebook & Reddit, multi-tone generation, and publish intents. Free Buffer AI & Jasper Social alternative with Stripe, credits, NextAuth, Prisma.
36
stars
15
commits
JavaScript
primary language
Jul 27, 2026
updated
Generate platform-native social media posts for LinkedIn, Twitter/X, Instagram, Facebook, Reddit, and LINE in seconds. A production-ready, self-hostable Next.js SaaS boilerplate with live platform mockups, multi-tone generation, publish intents, and built-in Stripe billing. A free open-source alternative to Buffer AI, Jasper Social, Hootsuite OwlyWriter, Publer, and Copy.ai — powered by the MuAPI AI engine.
Tech stack: Next.js 14 (App Router) · Prisma · PostgreSQL · NextAuth (Google OAuth) · Stripe · Tailwind CSS · MuAPI any-llm Use cases: Social media managers · Content creators · Marketing agencies · Influencers · Brand managers · Startup growth teams · E-commerce stores · Newsletter writers
Hosted Demo: social-post-woad.vercel.app
Experience the full glassmorphic, responsive interface. Sign in with Google to explore the Studio, customize dropdowns (Language, Character Length, and Tones), and preview mock social feeds directly from your browser.
AI Social Post Generator is not just another wrapper — it's a production-ready, highly-optimized AI web application. Out of the box, it seamlessly manages User Authentication, Credits & Billing, Creations Persistence, and asynchronous AI generation polling using a sleek Next.js (App Router) architecture. It empowers you to build professional-grade AI workflows with built-in mobile optimization, making it the perfect starting point for your next AI SaaS.
Why use AI Social Post Generator?

overscroll-contain wheel scroll-chaining preventions.Deploying an instance of AI Social Post Generator to the web requires minimal configuration. The architecture is engineered explicitly for Vercel serverless environments.
Pro Tip: Fork this repository, replace
YOUR_GITHUB_USERin the link above, to streamline deployments for your private forks.
To successfully deploy and run, you must populate the following environment variables in your Vercel project settings:
| Service | Variable | Description & Source |
|---|---|---|
| Database | DATABASE_URL | PostgreSQL connection string (Supabase shared pool with pgbouncer) |
DIRECT_URL | Direct DB connection for Prisma migrations and pushes | |
| NextAuth / Google | NEXTAUTH_SECRET | Secure random string generated via openssl rand -base64 32 |
NEXTAUTH_URL | Your production domain (e.g. https://social-post-woad.vercel.app) | |
GOOGLE_CLIENT_ID | Get from Google Cloud Console | |
GOOGLE_CLIENT_SECRET | Get from Google Cloud Console | |
| Stripe Billing | STRIPE_SECRET_KEY | Get from Stripe Dashboard |
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY | Get from Stripe Dashboard | |
STRIPE_WEBHOOK_SECRET | Webhook secret for resolving credit purchases | |
| AI Generator | MU_API_KEY | Create an account and get key from muapi.ai/access-keys |
WEBHOOK_URL | Callback URL for receiving slow-running generation events |
DATABASE_URL) and direct connection string (DIRECT_URL).npm run build).npx prisma db push && to your Vercel build command, or manually run it locally pointing to your production database URL.https://social-post-woad.vercel.app/api/auth/callback/googlehttps://social-post-woad.vercel.app/api/stripe/webhook and selecting the checkout.session.completed event to grab your webhook signing secret.Ready to iterate locally? Setup is straightforward.
# 1. Clone the repository
git clone https://github.com/SamurAIGPT/social-post
cd social-post
# 2. Install dependencies
npm install
# 3. Setup Environment
cp .env.example .env
# Open .env and insert your specific keys. You can use a local DB or your dev cloud DB.
# 4. Initialize Database Schema
npx prisma generate
npx prisma db push
# 5. Start the Development Server
npm run dev
The graphical console should now be heavily responsive on http://localhost:3000.
⚠️ Database Safety Warning: This application shares a single PostgreSQL database instance on Supabase with other applications in this workspace. Follow the cycle below to synchronize models safely:
npx prisma db pull (introspects all 20+ active tables)SocialPostCreation model in your local schema.prisma and link it inside the User model.npx prisma db push to merge changes safely.schema.prisma, leaving only Account, Session, User, VerificationToken, and SocialPostCreation.npx prisma generate to build your local Prisma client.This application decouples visually rich UI elements from core business logic layers, emphasizing modularization.
social-post/
├── prisma/
│ └── schema.prisma # Postgres tables: Users, Accounts, Creations
├── src/
│ ├── app/ # Next.js 16 App Router
│ │ ├── api/ # Backend API Routes (Stripe, MuAPI any-llm, Auth)
│ │ │ ├── auth/ # NextAuth catch-all routes
│ │ │ ├── billing/ # Stripe Checkout session builders and webhook listeners
│ │ │ └── creations/ # Creations database fetch and POST polling endpoints
│ │ ├── gallery/ # Detailed css grid completed user posts gallery
│ │ ├── pricing/ # Interactive packaging tier checkout selection page
│ │ ├── layout.js # Head assets and metadata
│ │ ├── globals.css # Styling system theme and gradients
│ │ └── page.js # Main Studio generation and social preview interface
│ ├── components/
│ │ └── Navbar.jsx # Collapsible responsive navigation component
│ └── lib/
│ ├── prisma.js # Shared ORM client singleton
│ ├── auth.js # Google OAuth callback options
│ ├── config.js # Platform metadata and price tiers
│ └── services/
│ ├── user.js # Credit adjustment database hooks
│ ├── billing.js # Stripe construction services
│ └── ai.js # MuAPI predictions submissions and fallback mocks
├── next.config.mjs # Next Configuration
├── tailwind.config.js # Project theme specs
└── package.json
MIT Licensed.
AI Social Post Generator: A modular, mobile-ready, production-grade AI web application engine built for creators and builders.
13 commits
2 commits
JavaScript
97.6%
CSS
2.2%