Projects

Multi-purpose AI helper

2023·1 min read

React
TypeScript
Tailwind CSS
NextJS
LinkGitHub

A SaaS-style playground that wires together OpenAI and Replicate behind a single dashboard. Free users get a metered quota tracked in MySQL via Prisma; Stripe handles the Pro upgrade and webhook lifecycle. Built to explore how far one Next.js 13 app can stretch across multiple AI modalities.

Five AI tools — chat, code, image, music, video — behind one dashboard, with auth, usage limits, and a Pro plan.

🚀 Try it live →

A SaaS-style playground that wires together OpenAI and Replicate behind a single dashboard. Free users get a metered quota tracked in MySQL via Prisma; Stripe handles the Pro upgrade and webhook lifecycle. Built to explore how far one Next.js 13 app can stretch across multiple AI modalities.

✨ Features

  • Conversation — streaming chat backed by OpenAI via LangChain.
  • Code generation — markdown-rendered code answers with syntax-aware output.
  • Image generation — text-to-image through Replicate, with resolution and count controls.
  • Music generation — text-to-audio via a Replicate music model.
  • Video generation — text-to-video via a Replicate video model.
  • Auth & accounts — Clerk-powered sign-in / sign-up with route protection.
  • Usage limits & Pro plan — free-tier counter stored in Prisma + MySQL; unlimited access through a Stripe-managed subscription.
  • Stripe webhooks — subscription state synced back to the database.
  • Live support widget — Crisp chat embedded in the dashboard.
  • Polished UI — shadcn/ui + Radix primitives, dark mode via next-themes, toasts via Sonner.

🛠️ Tech Stack

Layer Technology
Framework Next.js 13 (App Router), React 18, TypeScript
Styling Tailwind CSS, shadcn/ui, Radix UI, tailwindcss-animate
AI OpenAI, LangChain, Replicate
Auth Clerk
Database Prisma ORM + MySQL
Payments Stripe (checkout + webhooks)
Forms & validation React Hook Form + Zod
State Zustand
Support Crisp
Analytics Vercel Analytics

🙌 Credits

Built by Mohamed Gado.

More projects

  • Top spotify songs since 20172023 · React
  • NewsBite — Curated News2024 · Next.js
  • open-ai-hooks (npm package)2023 · TypeScript
All projects