{"id":24156478,"url":"https://github.com/athrala/ai-saas-content-generation-platform","last_synced_at":"2025-09-20T00:32:46.937Z","repository":{"id":195420082,"uuid":"692869113","full_name":"athrala/AI-SaaS-Content-Generation-Platform","owner":"athrala","description":"A user-centric AI SaaS Platform, powered by Next.js 13 App Router. It can function as chatbot, image, music, code, and video generators","archived":false,"fork":false,"pushed_at":"2024-03-05T20:02:35.000Z","size":7565,"stargazers_count":30,"open_issues_count":1,"forks_count":10,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-02T22:11:26.604Z","etag":null,"topics":["ai","mysql","nextjs13","openai","prisma","react","replicate-api","saas","shadecn-ui","stripe","tailwindcss"],"latest_commit_sha":null,"homepage":"https://ai-saa-s-content-generation-platform-immgzktyp-athrala.vercel.app/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/athrala.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-09-17T20:31:53.000Z","updated_at":"2025-03-19T17:19:44.000Z","dependencies_parsed_at":"2024-03-05T21:34:43.969Z","dependency_job_id":null,"html_url":"https://github.com/athrala/AI-SaaS-Content-Generation-Platform","commit_stats":null,"previous_names":["athrala/ai-saas-content-generation-platform"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/athrala/AI-SaaS-Content-Generation-Platform","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/athrala%2FAI-SaaS-Content-Generation-Platform","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/athrala%2FAI-SaaS-Content-Generation-Platform/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/athrala%2FAI-SaaS-Content-Generation-Platform/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/athrala%2FAI-SaaS-Content-Generation-Platform/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/athrala","download_url":"https://codeload.github.com/athrala/AI-SaaS-Content-Generation-Platform/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/athrala%2FAI-SaaS-Content-Generation-Platform/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276022568,"owners_count":25571820,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-19T02:00:09.700Z","response_time":108,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","mysql","nextjs13","openai","prisma","react","replicate-api","saas","shadecn-ui","stripe","tailwindcss"],"created_at":"2025-01-12T13:17:22.010Z","updated_at":"2025-09-20T00:32:45.053Z","avatar_url":"https://github.com/athrala.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A SaaS AI Platform with Next.js 13, React, Tailwind, Prisma, Stripe \n\u003cimg width=\"1509\" alt=\"Screenshot 2024-03-05 at 11 56 57 AM\" src=\"https://github.com/athrala/AI-SaaS-Content-Generation-Platform/assets/110925591/39ae035b-fc04-4332-835b-39507db0fedb\"\u003e\n\n\nThis is a repository for Build a SaaS AI Platform with Next.js 13, React, Tailwind, Prisma, Stripe.\n\n\nFeatures:\n\n- Tailwind design\n- Tailwind animations and effects\n- Full responsiveness\n- Clerk Authentication (Email, Google, 9+ Social Logins)\n- Client form validation and handling using react-hook-form\n- Server error handling using react-toast\n- Image Generation Tool (Open AI)\n- Video Generation Tool (Replicate AI)\n- Conversation Generation Tool (Open AI)\n- Music Generation Tool (Replicate AI)\n- Page loading state\n- Stripe monthly subscription\n- Free tier with API limiting\n- How to write POST, DELETE, and GET routes in route handlers (app/api)\n- How to fetch data in server react components by directly accessing database (WITHOUT API! like Magic!)\n- How to handle relations between Server and Child components!\n- How to reuse layouts\n- Folder structure in Next 13 App Router\n\n### Prerequisites\n\n**Node version 18.x.x**\n\n### Cloning the repository\n\n```shell\ngit clone https://github.com/athrala/AI-SaaS-Content-Generation-Platform.git\n```\n\n### Install packages\n\n```shell\nnpm i\n```\n\n### Setup .env file\n\n\n```js\nNEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=\nCLERK_SECRET_KEY=\n\nNEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in\nNEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up\nNEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/dashboard\nNEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=/dashboard\n\nOPENAI_API_KEY=\nREPLICATE_API_TOKEN=\n\nDATABASE_URL=\n\nSTRIPE_API_KEY=\nSTRIPE_WEBHOOK_SECRET=\n\nNEXT_PUBLIC_APP_URL=\"http://localhost:3000\"\n```\n\n### Setup Prisma\n\nAdd MySQL Database (I used PlanetScale)\n\n```shell\nnpx prisma db push\n\n```\n\n### Start the app\n\n```shell\nnpm run dev\n```\n\n## Available commands\n\nRunning commands with npm `npm run [command]`\n\n| command         | description                              |\n| :-------------- | :--------------------------------------- |\n| `dev`           | Starts a development instance of the app |\n\n## Feature demos\n\u003cimg width=\"1494\" alt=\"Screenshot 2024-03-05 at 11 57 29 AM\" src=\"https://github.com/athrala/AI-SaaS-Content-Generation-Platform/assets/110925591/55b332b5-2ec4-4e41-85ab-74c5b49d9c57\"\u003e\n\n\u003cimg width=\"1499\" alt=\"Screenshot 2024-03-05 at 11 57 50 AM\" src=\"https://github.com/athrala/AI-SaaS-Content-Generation-Platform/assets/110925591/18f192b1-e8fd-4eef-bcd5-4e5658c2265f\"\u003e\u003cimg width=\"1500\" alt=\"Screenshot 2024-03-05 at 11 58 16 AM\" src=\"https://github.com/athrala/AI-SaaS-Content-Generation-Platform/assets/110925591/fec8abf5-e46b-4d58-a851-30fac181c527\"\u003e\n\u003cimg width=\"1500\" alt=\"Screenshot 2024-03-05 at 11 59 17 AM\" src=\"https://github.com/athrala/AI-SaaS-Content-Generation-Platform/assets/110925591/3ce482fa-e96d-459c-a1fb-4d0e68ac733c\"\u003e\n\u003cimg width=\"1502\" alt=\"Screenshot 2024-03-05 at 11 58 44 AM\" src=\"https://github.com/athrala/AI-SaaS-Content-Generation-Platform/assets/110925591/77385133-891b-458b-a2a3-86e936a8251b\"\u003e\n\u003cimg width=\"1495\" alt=\"Screenshot 2024-03-05 at 11 58 32 AM\" src=\"https://github.com/athrala/AI-SaaS-Content-Generation-Platform/assets/110925591/13ee77a8-46b1-4201-ab59-8acd2852a9fd\"\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fathrala%2Fai-saas-content-generation-platform","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fathrala%2Fai-saas-content-generation-platform","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fathrala%2Fai-saas-content-generation-platform/lists"}