{"id":26462968,"url":"https://github.com/gaurav-sarage/instantai","last_synced_at":"2025-07-13T00:36:51.563Z","repository":{"id":190285885,"uuid":"678477107","full_name":"gaurav-sarage/InstantAI","owner":"gaurav-sarage","description":"AI Powered Image Generator App. Still under development","archived":false,"fork":false,"pushed_at":"2024-03-28T21:23:19.000Z","size":9894,"stargazers_count":71,"open_issues_count":0,"forks_count":12,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-05T00:41:22.744Z","etag":null,"topics":["clerk","mongodb","nextjs","shadcn-ui","typescript"],"latest_commit_sha":null,"homepage":"https://instantai.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/gaurav-sarage.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,"publiccode":null,"codemeta":null}},"created_at":"2023-08-14T16:33:21.000Z","updated_at":"2025-01-24T19:54:06.000Z","dependencies_parsed_at":"2023-09-23T18:49:23.832Z","dependency_job_id":"8d937cc2-05ce-42cc-b4b5-c0693738937e","html_url":"https://github.com/gaurav-sarage/InstantAI","commit_stats":null,"previous_names":["gaurav-sarage/instantai"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gaurav-sarage/InstantAI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gaurav-sarage%2FInstantAI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gaurav-sarage%2FInstantAI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gaurav-sarage%2FInstantAI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gaurav-sarage%2FInstantAI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gaurav-sarage","download_url":"https://codeload.github.com/gaurav-sarage/InstantAI/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gaurav-sarage%2FInstantAI/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265076086,"owners_count":23707512,"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","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":["clerk","mongodb","nextjs","shadcn-ui","typescript"],"created_at":"2025-03-19T06:38:56.628Z","updated_at":"2025-07-13T00:36:50.918Z","avatar_url":"https://github.com/gaurav-sarage.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e **Warnings below** \u003c/h1\u003e\n\n⚠️:  **Important:** The payment gateway is still a WIP because Stripe does not allow payments from India in test mode.\n\n⚠️: Unable to add upload Image on production using Cloudinary. Will fix the error soon.\n\u003cbr\u003e \u003cbr\u003e\n\n## 📌 Overview\n\nInstantAI is an AI Powered Image Generator App under development. It leverages various libraries/tools like Clerk/Next.js, Cloudinary, React, Stripe, MongoDB, TailwindCSS, TypeScript, and more for seamless functionality.\n\n## 🔍 Table of Contents\n\n* [📁 Project Structure](#project-structure)\n\n* [📝 Project Summary](#project-summary)\n\n* [💻 Stack](#stack)\n\n* [⚙️ Setting Up](#setting-up)\n\n* [🚀 Run Locally](#run-locally)\n\n* [🙌 Contributors](#contributors)\n\n* [☁️ Deploy](#deploy)\n\n* [📄 License](#license)\n\n## 📁 Project Structure\n\n```bash\n├── .eslintrc.json\n├── .gitignore\n├── README.md\n├── app\n│   ├── (auth)\n│   │   ├── layout.tsx\n│   │   ├── sign-in\n│   │   │   └── [[...sign-in]]\n│   │   │       └── page.tsx\n│   │   └── sign-up\n│   │       └── [[...sign-up]]\n│   │           └── page.tsx\n│   ├── (root)\n│   │   ├── credits\n│   │   │   └── page.tsx\n│   │   ├── layout.tsx\n│   │   ├── page.tsx\n│   │   ├── profile\n│   │   │   └── page.tsx\n│   │   └── transformations\n│   │       ├── [id]\n│   │       │   ├── page.tsx\n│   │       │   └── update\n│   │       │       └── page.tsx\n│   │       └── add\n│   │           └── [type]\n│   │               └── page.tsx\n│   ├── api\n│   │   └── webhooks\n│   │       ├── clerk\n│   │       │   └── route.ts\n│   │       └── stripe\n│   │           └── route.ts\n│   ├── favicon.ico\n│   ├── globals.css\n│   └── layout.tsx\n├── components.json\n├── components\n│   ├── shared\n│   │   ├── Checkout.tsx\n│   │   ├── Collection.tsx\n│   │   ├── CustomField.tsx\n│   │   ├── DeleteConfirmation.tsx\n│   │   ├── Header.tsx\n│   │   ├── InsufficientCreditsModal.tsx\n│   │   ├── MediaUploader.tsx\n│   │   ├── MobileNav.tsx\n│   │   ├── Search.tsx\n│   │   ├── Sidebar.tsx\n│   │   ├── TransformationForm.tsx\n│   │   └── TransformedImage.tsx\n│   └── ui\n│       ├── alert-dialog.tsx\n│       ├── button.tsx\n│       ├── card.tsx\n│       ├── form.tsx\n│       ├── input.tsx\n│       ├── label.tsx\n│       ├── pagination.tsx\n│       ├── select.tsx\n│       ├── sheet.tsx\n│       ├── toast.tsx\n│       ├── toaster.tsx\n│       └── use-toast.ts\n├── constants\n│   └── index.ts\n├── lib\n│   ├── actions\n│   │   ├── image.actions.ts\n│   │   ├── transaction.action.ts\n│   │   └── user.actions.ts\n│   ├── database\n│   │   ├── db.ts\n│   │   ├── models\n│   │   │   ├── image.model.ts\n│   │   │   ├── transaction.model.ts\n│   │   │   └── user.model.ts\n│   │   └── mongoose.ts\n│   └── utils.ts\n├── middleware.ts\n├── next.config.mjs\n├── package-lock.json\n├── package.json\n├── postcss.config.js\n├── public\n│   ├── assets\n│   │   ├── icons\n│   │   │   ├── add.svg\n│   │   │   ├── bag.svg\n│   │   │   ├── camera.svg\n│   │   │   ├── caret-down.svg\n│   │   │   ├── check.svg\n│   │   │   ├── close.svg\n│   │   │   ├── coins.svg\n│   │   │   ├── credit-coins.svg\n│   │   │   ├── cross.svg\n│   │   │   ├── download.svg\n│   │   │   ├── filter.svg\n│   │   │   ├── free-plan.svg\n│   │   │   ├── home.svg\n│   │   │   ├── image.svg\n│   │   │   ├── menu.svg\n│   │   │   ├── photo.svg\n│   │   │   ├── profile.svg\n│   │   │   ├── scan.svg\n│   │   │   ├── search.svg\n│   │   │   ├── spinner.svg\n│   │   │   └── stars.svg\n│   │   └── images\n│   │       ├── banner-bg.jpg\n│   │       ├── coins.jpg\n│   │       ├── gradient-bg.svg\n│   │       ├── logo-icon.svg\n│   │       └── logo-text.svg\n│   ├── favicon.ico\n│   ├── logo-icon.png\n│   ├── logo.png\n│   ├── next.svg\n│   └── vercel.svg\n├── tailwind.config.ts\n├── tsconfig.json\n└── types\n    └── index.d.ts\n```\n\n## 📝 Project Summary\n\n- [**app**](app): Core application logic and structure.\n- [**components**](components): Reusable UI components.\n- [**lib**](lib): Library for actions and database models.\n- [**public**](public): Publicly accessible assets.\n- [**constants**](constants): Constants and configurations.\n- [**types**](types): Type definitions.\n- [**app/(auth)**](app/(auth)): Authentication-related functionality.\n- [**app/(root)**](app/(root)): Root-level application features.\n- [**app/api**](app/api): API endpoints.\n- [**public/assets**](public/assets): Image and icon assets.\n\n## 💻 Stack\n\n- [react-hook-form](https://github.com/react-hook-form/react-hook-form): Simplifies form management and validation.\n- [mongoose](https://mongoosejs.com/): Facilitates MongoDB data modeling and interaction.\n- [next](https://nextjs.org/): Framework for server-rendered React applications.\n- [stripe](https://stripe.com/docs): Enables payment processing integration.\n- [tailwindcss](https://tailwindcss.com/): Utility-first CSS framework for styling.\n- [typescript](https://www.typescriptlang.org/): Adds static typing to JavaScript for enhanced development.\n\n## ⚙️ Setting Up\n\n#### Your Environment Variable\n\n- Step 1\n\n- Step 2\n\n## 🚀 Run Locally\n1.Clone the InstantAI repository:\n```sh\ngit clone https://github.com/gaurav-sarage/InstantAI\n```\n2.Install the dependencies with one of the package managers listed below:\n```bash\npnpm install\nbun install\nnpm install\nyarn install\n```\n3.Start the development mode:\n```bash\npnpm dev\nbun dev\nnpm run dev\nyarn dev\n```\n\n## ☁️ Live Link\n\n[InstantAI](https://instantai.vercel.app/)\n\n## Stargazers over time\n[![Stargazers over time](https://starchart.cc/gaurav-sarage/InstantAI.svg?variant=dark)](https://starchart.cc/gaurav-sarage/InstantAI)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgaurav-sarage%2Finstantai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgaurav-sarage%2Finstantai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgaurav-sarage%2Finstantai/lists"}