Evidence-backed use cases, prompts, integrations, evaluations, and safety notes for OpenAI GPT-6 Astra.
ai-agentsai-codingai-safetyartificial-intelligenceastraawesome-listcoding-agentscomputer-usecybersecuritydeveloper-toolsgenerative-aigpt-6gpt-6-astralarge-language-modelsllmmodel-evaluationopenaiopenai-apiprompt-engineeringresponses-api
Rebrand scheduler as Postiz-cheap
Anil-matchab62cdeba1268
diff --git a/README.md b/README.mdindex 5ae2b86..4b54bb3 100644--- a/README.md+++ b/README.md@@ -1,129 +1,102 @@-# Free AI Social Media Scheduler+<p align="center">+ <img src="https://img.shields.io/badge/open%20source-MIT-4f46e5?style=flat-square" alt="MIT license">+ <img src="https://img.shields.io/badge/Next.js-16-black?style=flat-square&logo=next.js" alt="Next.js 16">+ <a href="https://github.com/Anil-matcha/Postiz-cheap/stargazers"><img src="https://img.shields.io/github/stars/Anil-matcha/Postiz-cheap?style=flat-square" alt="GitHub stars"></a>+</p>-[](https://muapi.ai?utm_source=github&utm_medium=badge&utm_campaign=free-ai-social-media-scheduler)+<h1 align="center">Postiz-cheap</h1>+<p align="center">+ A self-hostable, open-source social media scheduler for creators who want a simpler, lower-cost alternative to Postiz.+</p>-[](https://github.com/Anil-matcha/Free-AI-Social-Media-Scheduler/stargazers)-[](LICENSE)-[](https://nextjs.org)+Postiz-cheap brings a content calendar, post composer, AI writing assistant, and social publishing into one Next.js app. Run it on your own infrastructure and keep control of your workflow. The app is MIT licensed; usage of external AI, hosting, and social publishing services may still cost money.-A free, open-source AI social media scheduler built with Next.js. Upload videos, schedule posts, and publish directly to YouTube and TikTok — no subscription required. Self-hostable alternative to Buffer, Hootsuite, Later, and Sprout Social.+## What you can do-<p align="center">- <a href="https://github.com/Anil-matcha/awesome-generative-ai-apps">- <img src="https://img.shields.io/badge/Part%20of-Awesome%20Generative%20AI%20Apps-FFD700?style=for-the-badge&logo=github&logoColor=black" alt="Awesome Generative AI Apps">- </a>-</p>+- Plan and edit posts in a calendar, then publish now or schedule them.+- Draft platform-specific copy with the AI post writer or the conversational social marketing agent.+- Connect social accounts and manage posts from one workspace.+- Preview copy for different platforms before publishing.+- Track scheduled, processing, published, and failed posts.+- Use publishing integrations wired for YouTube, TikTok, Instagram, Facebook, X, LinkedIn, Threads, and Pinterest.-> 🎨 **[Explore 50+ more open-source AI apps →](https://github.com/Anil-matcha/awesome-generative-ai-apps)**--## Related Projects--- [MuAPI playground](https://muapi.ai/playground) — Generate the images and videos scheduled by this app.-- [MuAPI access keys](https://muapi.ai/access-keys) — Create the API key used for generative content.-- [Awesome-GPT-Image-2-API-Prompts](https://github.com/Anil-matcha/Awesome-GPT-Image-2-API-Prompts) — Curated GPT-Image-2 prompts for generating social media visuals-- [Open-AI-UGC](https://github.com/Anil-matcha/Open-AI-UGC) — Generate AI UGC video ads to schedule across your social channels-- [AI-Influencer-Generator](https://github.com/SamurAIGPT/AI-Influencer-Generator) — Create AI influencer content to post on a schedule-- [Open-Generative-AI](https://github.com/Anil-matcha/Open-Generative-AI) — Free open-source studio for 200+ AI image & video models-- [ai-creator-academy](https://github.com/Anil-matcha/ai-creator-academy) — free curriculum teaching creators how to monetize AI-generated content before scheduling and distributing it-------## Supported Platforms--| Platform | Status |-|----------|--------|-| YouTube | ✅ Live |-| TikTok | ✅ Live |-| Instagram (Reels & Posts) | ✅ Live |-| Facebook (Pages & Reels) | ✅ Live |-| X (Twitter) | ✅ Live |-| LinkedIn | ✅ Live |-| Threads | ✅ Live |-| Pinterest | ✅ Live |--## Features--- **AI Social Marketing Agent** (`/agents`) — conversational AI marketing assistant with persistent context memory across conversations:- - **3-Panel Workspace** — multi-channel selector on the left, interactive chat in the center, and conversation history threads on the right.- - **Platform-Tailored Copy** — generates viral hooks, high-converting captions, and hashtag strategies tailored to specific character limits and algorithms.- - **1-Click Post Proposals** — prepares structured post cards ready to open in the Composer and schedule with one click.- - **Rich Markdown Rendering** — full typography with headings, styled bullet points, code blocks, and expandable JSON payloads.- - **Context Memory** — retains tone, campaign guidelines, and brand instructions across the last 10 messages.-- **Video & Post Scheduling** — upload media or paste a URL, pick target platforms and times, and publish automatically.-- **Multi-Account Management** — connect and manage multiple social accounts (YouTube, TikTok, X, LinkedIn) from a unified dashboard.-- **YouTube Controls** — category selection, privacy (public/private/unlisted), made-for-kids flags.-- **TikTok Controls** — privacy settings, comment, duet, and stitch toggles.-- **Credits System** — Stripe-powered pay-as-you-go credits for scheduling posts.-- **Post History & Calendar** — track scheduled, published, and failed posts with status indicators and direct published URLs.-- **Self-Hostable** — single Next.js 16 app with Turbopack, no microservices or complex external infra required.--## Tech Stack--- **Framework:** Next.js 16 (App Router + Turbopack)-- **Auth:** NextAuth.js (Google OAuth)-- **Database:** PostgreSQL + Prisma ORM-- **Payments:** Stripe-- **AI / Publishing:** MuAPI-- **Markdown:** `react-markdown` + `remark-gfm`-- **Styling:** Tailwind CSS + Framer Motion--## Quick Start--### 1. Clone the repo+## Cost and provider requirements-```bash-git clone https://github.com/Anil-matcha/Free-AI-Social-Media-Scheduler-cd Free-AI-Social-Media-Scheduler-npm install-```+The scheduler itself has no required monthly subscription when you self-host it. It currently uses MuAPI for AI features, account connections, media uploads, and publishing, so you need a MuAPI API key and provider usage charges may apply. You also cover hosting, database, and any fees charged by social networks or other providers.++This repository contains the self-hosted application. It does not include a hosted Postiz-cheap service. Postiz-cheap is an independent project and is not affiliated with or endorsed by Postiz.++## How it works-### 2. Set up environment variables+- **App:** Next.js 16 with the App Router+- **Database:** PostgreSQL with Prisma+- **Sign-in:** Google OAuth through NextAuth+- **AI and social publishing:** MuAPI+- **Optional credit checkout:** Stripe++Scheduled posts are stored in PostgreSQL and submitted through the app's post-processing route. The current project does not include a separate always-on job worker; review the scheduling flow and hosting setup before relying on unattended production publishing.++## Run it locally++### Requirements++- Node.js and npm+- A PostgreSQL database+- Google OAuth credentials+- A MuAPI API key for AI and social publishing++### 1. Clone and install```bash+git clone https://github.com/Anil-matcha/Postiz-cheap.git+cd Postiz-cheap+npm installcp .env.example .env```-Fill in `.env`:+### 2. Configure environment variables++Set the required database, authentication, Google OAuth, and MuAPI values in `.env`:```env-DATABASE_URL="postgresql://user:password@host:port/dbname?pgbouncer=true"-DIRECT_URL="postgresql://user:password@host:port/dbname"+DATABASE_URL="postgresql://user:password@host:5432/postiz_cheap?pgbouncer=true"+DIRECT_URL="postgresql://user:password@host:5432/postiz_cheap"NEXTAUTH_URL="http://localhost:3000"-NEXTAUTH_SECRET="your_nextauth_secret"+NEXTAUTH_SECRET="replace_with_a_long_random_secret"GOOGLE_CLIENT_ID="your_google_client_id"GOOGLE_CLIENT_SECRET="your_google_client_secret"MUAPIAPP_API_KEY="your_muapi_api_key"-WEBHOOK_URL="your_webhook_url"--STRIPE_SECRET_KEY="your_stripe_secret_key"-NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY="your_stripe_publishable_key"-STRIPE_WEBHOOK_SECRET="your_stripe_webhook_secret"+WEBHOOK_URL="http://localhost:3000"```-### 3. Run migrations and start+In Google Cloud, add `http://localhost:3000/api/auth/callback/google` as an authorized redirect URI. Stripe variables in `.env.example` are only needed if you want to enable credit checkout on your own deployment.++### 3. Prepare the database and start```bash-npx prisma migrate deploy+npx prisma db pushnpm run dev```Open [http://localhost:3000](http://localhost:3000).-## Why this over Buffer or Hootsuite?+## Project structure-- **Video-first** — built specifically for YouTube and TikTok video publishing workflows-- **No per-seat pricing** — credits model, no $19–$99/month subscription-- **Simple to self-host** — single Next.js app, runs with one `npm run dev`-- **Open source** — MIT license, fork and extend freely+```text+src/app/ Next.js pages and API routes+src/components/ Calendar, composer, navigation, and agent UI+src/lib/ Auth, database, billing, and integration services+prisma/ PostgreSQL schema+```## Contributing-Open an issue or submit a pull request. Star the repo to stay updated as new platforms launch.+Issues and pull requests are welcome. Keep provider credentials out of commits, and describe which social platform or workflow your change affects.## License-MIT License. See [LICENSE](LICENSE) for details.+MIT. See [LICENSE](LICENSE).diff --git a/package-lock.json b/package-lock.jsonindex 4bea743..1461881 100644--- a/package-lock.json+++ b/package-lock.json@@ -1,11 +1,11 @@{- "name": "free-ai-social-media-scheduler",+ "name": "postiz-cheap","version": "0.1.0","lockfileVersion": 3,"requires": true,"packages": {"": {- "name": "free-ai-social-media-scheduler",+ "name": "postiz-cheap","version": "0.1.0","dependencies": {"@next-auth/prisma-adapter": "^1.0.7",diff --git a/package.json b/package.jsonindex 1e8b38a..6606069 100644--- a/package.json+++ b/package.json@@ -1,5 +1,5 @@{- "name": "free-ai-social-media-scheduler",+ "name": "postiz-cheap","version": "0.1.0","private": true,"scripts": {diff --git a/src/app/layout.js b/src/app/layout.jsindex 610fa82..1eb715f 100644--- a/src/app/layout.js+++ b/src/app/layout.js@@ -11,8 +11,8 @@ const inter = Inter({});export const metadata = {- title: "Free AI Social Media Scheduler - MuAPI",- description: "Schedule and publish AI-generated videos directly to YouTube and TikTok.",+ title: "Postiz-cheap | Open-source social media scheduler",+ description: "Self-host Postiz-cheap, an open-source social media scheduler with a content calendar, AI writing, and publishing integrations.",};export default function RootLayout({ children }) {diff --git a/src/app/page.js b/src/app/page.jsindex fc9bd70..52418d3 100644--- a/src/app/page.js+++ b/src/app/page.js@@ -176,15 +176,15 @@ export default function WorkspaceDashboard() {<div className="max-w-2xl text-center space-y-6"><div className="inline-flex items-center gap-2 px-3 py-1 rounded-full bg-zinc-900 border border-zinc-800 text-zinc-400 text-xs font-medium"><FaRocket className="text-[11px] text-zinc-300" />- <span>Social Media Scheduling Studio</span>+ <span>Open-source Postiz alternative</span></div><h1 className="text-3xl sm:text-5xl font-semibold tracking-tight text-zinc-100 leading-tight">- Schedule, preview & publish across all your channels+ Plan and publish social posts from one calendar</h1><p className="text-xs sm:text-sm text-zinc-400 max-w-lg mx-auto leading-relaxed">- Manage YouTube, TikTok, Instagram, X (Twitter), and LinkedIn from a clean interactive content calendar with real-time feed previews.+ Self-host Postiz-cheap to organize posts across YouTube, TikTok, Instagram, Facebook, X, LinkedIn, Threads, and Pinterest. MuAPI powers AI and publishing, and provider charges may apply.</p><div className="flex items-center justify-center pt-2">@@ -216,10 +216,10 @@ export default function WorkspaceDashboard() {<FaShareAlt /></div><h4 className="text-xs font-medium text-zinc-200">- Live Feed Mockups+ Platform Previews</h4><p className="text-[11px] text-zinc-400 leading-relaxed">- Real-time previews for YouTube, TikTok, Instagram, X, and LinkedIn.+ Preview drafts for YouTube, TikTok, Instagram, X, and LinkedIn before publishing.</p></div>@@ -228,10 +228,10 @@ export default function WorkspaceDashboard() {<FaRocket /></div><h4 className="text-xs font-medium text-zinc-200">- Automated Publishing+ Post Status Tracking</h4><p className="text-[11px] text-zinc-400 leading-relaxed">- Scheduled background queues publish automatically to connected accounts.+ Review scheduled, processing, published, and failed posts in the calendar.</p></div></div>diff --git a/src/app/pricing/page.js b/src/app/pricing/page.jsindex 5847e99..17747af 100644--- a/src/app/pricing/page.js+++ b/src/app/pricing/page.js@@ -9,10 +9,9 @@ import axios from "axios";import toast, { Toaster } from "react-hot-toast";const PLANS = [- { id: "basic", name: "Basic Pack", price: "$5", credits: 100, description: "Perfect for testing custom prompts and exploring styles." },- { id: "standard", name: "Standard Pack", price: "$10", credits: 250, description: "Ideal for regular creators wanting high resolution outputs." },- { id: "pro", name: "Professional Pack", price: "$20", credits: 600, description: "Designed for power users demanding batch exports and high speed.", popular: true },- { id: "business", name: "Business Pack", price: "$50", credits: 2000, description: "Maximum value pack for agency workflows and large volume generations." }+ { id: "starter", name: "Starter Pack", price: "$5", credits: 100, description: "A small top-up for occasional publishing." },+ { id: "pro", name: "Pro Pack", price: "$15", credits: 500, description: "For creators publishing on a regular schedule.", popular: true },+ { id: "business", name: "Business Pack", price: "$45", credits: 2000, description: "More room for high-volume, multi-channel publishing." }];export default function Pricing() {@@ -50,11 +49,11 @@ export default function Pricing() {<div className="text-center space-y-4"><div className="inline-flex items-center gap-2 px-3 py-1 bg-primary/10 border border-primary/20 rounded-full mb-1"><FaInfoCircle className="text-primary text-xs" />- <span className="text-[10px] font-black text-primary uppercase tracking-widest">Pricing Plans</span>+ <span className="text-[10px] font-black text-primary uppercase tracking-widest">One-time credit packs</span></div>- <h1 className="text-3xl sm:text-4xl font-black tracking-tight uppercase">Buy Credits Packs</h1>+ <h1 className="text-3xl sm:text-4xl font-black tracking-tight">Top up publishing credits</h1><p className="text-xs sm:text-sm text-secondary-text max-w-lg leading-relaxed">- Purchase flexible credit packages to perform high-resolution predictions. Keep all profits — we handle AI infrastructure.+ No recurring subscription. One credit covers one platform publish. MuAPI usage for AI and social publishing may have separate provider charges.</p></div>@@ -80,7 +79,7 @@ export default function Pricing() {</div><div className="text-xs bg-bg-page/50 border border-divider/30 p-3 rounded text-center font-extrabold text-primary">- {plan.credits} Art Credits+ {plan.credits} Publishing Credits</div><p className="text-xs text-secondary-text leading-relaxed font-medium min-h-[3rem]">{plan.description}</p>@@ -88,15 +87,15 @@ export default function Pricing() {<ul className="space-y-2 border-t border-divider/30 pt-4 text-xs font-semibold text-secondary-text"><li className="flex items-center gap-2"><FaCheck className="text-primary text-[10px]" />- <span>Dynamic aspect ratios</span>+ <span>Use credits as you publish</span></li><li className="flex items-center gap-2"><FaCheck className="text-primary text-[10px]" />- <span>HD image downloads</span>+ <span>Post to connected channels</span></li><li className="flex items-center gap-2"><FaCheck className="text-primary text-[10px]" />- <span>No subscription required</span>+ <span>No recurring payment</span></li></ul></div>@@ -108,7 +107,7 @@ export default function Pricing() {plan.popular ? "bg-primary text-white hover:bg-primary-hover shadow-primary/15" : "bg-bg-page hover:bg-bg-card text-primary-text border border-divider"}`}>- {loadingPlan === plan.id ? "Loading checkout..." : "Purchase Credits"}+ {loadingPlan === plan.id ? "Loading checkout..." : "Get credit pack"}</button></div>))}diff --git a/src/components/Footer.js b/src/components/Footer.jsindex 42fa648..a926deb 100644--- a/src/components/Footer.js+++ b/src/components/Footer.js@@ -1,7 +1,3 @@-"use client";--import Link from "next/link";-export default function Footer() {const currentYear = new Date().getFullYear();@@ -9,16 +5,12 @@ export default function Footer() {<footer className="w-full border-t border-divider/40 bg-bg-page py-6 text-center text-xs text-secondary-text mt-auto"><div className="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8 flex flex-col sm:flex-row items-center justify-between gap-4"><div>- © {currentYear} AI SaaS Studio. All rights reserved.+ © {currentYear} Postiz-cheap · MIT licensed.</div>- <div className="flex gap-4">- <Link href="/terms" className="hover:text-primary-text transition-colors">- Terms of Service- </Link>- <span className="opacity-30">•</span>- <Link href="/privacy" className="hover:text-primary-text transition-colors">- Privacy Policy- </Link>+ <div>+ <a href="https://github.com/Anil-matcha/Postiz-cheap" className="hover:text-primary-text transition-colors">+ GitHub repository+ </a></div></div></footer>diff --git a/src/components/Navbar.js b/src/components/Navbar.jsindex 0f64d13..a71e050 100644--- a/src/components/Navbar.js+++ b/src/components/Navbar.js@@ -74,7 +74,7 @@ export default function Navbar() {{/* Vercel Deploy Button */}<a- href="https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FSamurAIGPT%2Fcommon-saas-template"+ href="https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FAnil-matcha%2FPostiz-cheap&project-name=postiz-cheap&repository-name=Postiz-cheap"target="_blank"rel="noopener noreferrer"className="flex items-center gap-2 rounded-full border border-divider px-4 py-1.5 text-xs font-bold text-secondary-text hover:text-primary-text hover:bg-bg-card transition-colors shadow-sm"@@ -185,13 +185,13 @@ export default function Navbar() {{/* Vercel Deploy in Mobile menu */}<a- href="https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FSamurAIGPT%2Fcommon-saas-template"+ href="https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FAnil-matcha%2FPostiz-cheap&project-name=postiz-cheap&repository-name=Postiz-cheap"target="_blank"rel="noopener noreferrer"className="flex w-full items-center justify-center gap-2 rounded-full border border-divider py-3 text-xs font-bold text-secondary-text hover:text-primary-text hover:bg-bg-card transition-all"><SiVercel className="text-xs text-white" />- <span>Clone & Deploy Template</span>+ <span>Deploy Postiz-cheap</span></a>{status === "authenticated" ? (diff --git a/src/lib/auth.js b/src/lib/auth.jsindex 8772391..a609177 100644--- a/src/lib/auth.js+++ b/src/lib/auth.js@@ -70,7 +70,7 @@ export const authOptions = {return session;},},- secret: process.env.NEXTAUTH_SECRET || "free-ai-social-media-scheduler-fallback-secret-2025",+ secret: process.env.NEXTAUTH_SECRET || "postiz-cheap-fallback-secret-2025",pages: {signIn: "/login",},diff --git a/src/lib/config.js b/src/lib/config.jsindex be1fc77..961938c 100644--- a/src/lib/config.js+++ b/src/lib/config.js@@ -1,5 +1,5 @@const config = {- appName: "Free Ai Social Media Scheduler",+ appName: "Postiz-cheap",auth: {google: {clientId: process.env.GOOGLE_CLIENT_ID,