├── .eslintrc.json ├── .gitignore ├── README.md ├── about.md ├── bun.lockb ├── components.json ├── next.config.mjs ├── package.json ├── postcss.config.mjs ├── prisma └── schema.prisma ├── public ├── AppLogo.jpeg ├── next.svg └── vercel.svg ├── src ├── actions │ ├── DeleteStory.ts │ ├── createAudioFileAction.ts │ ├── createStory.ts │ └── saveUserImage.ts ├── app │ ├── addPhoto │ │ └── page.tsx │ ├── api │ │ ├── auth │ │ │ └── [...nextauth] │ │ │ │ └── route.ts │ │ └── uploadthing │ │ │ ├── core.ts │ │ │ └── route.ts │ ├── createStory │ │ └── page.tsx │ ├── favicon.ico │ ├── globals.css │ ├── layout.tsx │ ├── manage │ │ └── page.tsx │ ├── page.tsx │ └── story │ │ └── [id] │ │ └── page.tsx ├── components │ ├── AudioPlayer.tsx │ ├── DeleteStory.tsx │ ├── DownloadPdfButton.tsx │ ├── Footer.tsx │ ├── GetStarted.tsx │ ├── Imgagetoshow.tsx │ ├── Navbar.tsx │ ├── SignIn.tsx │ ├── SignOut.tsx │ ├── UploadPhoto.tsx │ ├── create-story-form.tsx │ └── ui │ │ ├── alert-dialog.tsx │ │ ├── button.tsx │ │ ├── input.tsx │ │ ├── label.tsx │ │ ├── radio-group.tsx │ │ ├── select.tsx │ │ ├── sonner.tsx │ │ └── textarea.tsx ├── lib │ └── utils.ts ├── middleware.ts └── utils │ ├── auth.ts │ ├── db.ts │ ├── gemini.ts │ ├── replicate.ts │ └── uploadthing.ts ├── tailwind.config.ts └── tsconfig.json /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avayyyyyyy/GenAI-Main/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avayyyyyyy/GenAI-Main/HEAD/README.md -------------------------------------------------------------------------------- /about.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avayyyyyyy/GenAI-Main/HEAD/about.md -------------------------------------------------------------------------------- /bun.lockb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avayyyyyyy/GenAI-Main/HEAD/bun.lockb -------------------------------------------------------------------------------- /components.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avayyyyyyy/GenAI-Main/HEAD/components.json -------------------------------------------------------------------------------- /next.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avayyyyyyy/GenAI-Main/HEAD/next.config.mjs -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avayyyyyyy/GenAI-Main/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avayyyyyyy/GenAI-Main/HEAD/postcss.config.mjs -------------------------------------------------------------------------------- /prisma/schema.prisma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avayyyyyyy/GenAI-Main/HEAD/prisma/schema.prisma -------------------------------------------------------------------------------- /public/AppLogo.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avayyyyyyy/GenAI-Main/HEAD/public/AppLogo.jpeg -------------------------------------------------------------------------------- /public/next.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avayyyyyyy/GenAI-Main/HEAD/public/next.svg -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avayyyyyyy/GenAI-Main/HEAD/public/vercel.svg -------------------------------------------------------------------------------- /src/actions/DeleteStory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avayyyyyyy/GenAI-Main/HEAD/src/actions/DeleteStory.ts -------------------------------------------------------------------------------- /src/actions/createAudioFileAction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avayyyyyyy/GenAI-Main/HEAD/src/actions/createAudioFileAction.ts -------------------------------------------------------------------------------- /src/actions/createStory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avayyyyyyy/GenAI-Main/HEAD/src/actions/createStory.ts -------------------------------------------------------------------------------- /src/actions/saveUserImage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avayyyyyyy/GenAI-Main/HEAD/src/actions/saveUserImage.ts -------------------------------------------------------------------------------- /src/app/addPhoto/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avayyyyyyy/GenAI-Main/HEAD/src/app/addPhoto/page.tsx -------------------------------------------------------------------------------- /src/app/api/auth/[...nextauth]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avayyyyyyy/GenAI-Main/HEAD/src/app/api/auth/[...nextauth]/route.ts -------------------------------------------------------------------------------- /src/app/api/uploadthing/core.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avayyyyyyy/GenAI-Main/HEAD/src/app/api/uploadthing/core.ts -------------------------------------------------------------------------------- /src/app/api/uploadthing/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avayyyyyyy/GenAI-Main/HEAD/src/app/api/uploadthing/route.ts -------------------------------------------------------------------------------- /src/app/createStory/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avayyyyyyy/GenAI-Main/HEAD/src/app/createStory/page.tsx -------------------------------------------------------------------------------- /src/app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avayyyyyyy/GenAI-Main/HEAD/src/app/favicon.ico -------------------------------------------------------------------------------- /src/app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avayyyyyyy/GenAI-Main/HEAD/src/app/globals.css -------------------------------------------------------------------------------- /src/app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avayyyyyyy/GenAI-Main/HEAD/src/app/layout.tsx -------------------------------------------------------------------------------- /src/app/manage/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avayyyyyyy/GenAI-Main/HEAD/src/app/manage/page.tsx -------------------------------------------------------------------------------- /src/app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avayyyyyyy/GenAI-Main/HEAD/src/app/page.tsx -------------------------------------------------------------------------------- /src/app/story/[id]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avayyyyyyy/GenAI-Main/HEAD/src/app/story/[id]/page.tsx -------------------------------------------------------------------------------- /src/components/AudioPlayer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avayyyyyyy/GenAI-Main/HEAD/src/components/AudioPlayer.tsx -------------------------------------------------------------------------------- /src/components/DeleteStory.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avayyyyyyy/GenAI-Main/HEAD/src/components/DeleteStory.tsx -------------------------------------------------------------------------------- /src/components/DownloadPdfButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avayyyyyyy/GenAI-Main/HEAD/src/components/DownloadPdfButton.tsx -------------------------------------------------------------------------------- /src/components/Footer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avayyyyyyy/GenAI-Main/HEAD/src/components/Footer.tsx -------------------------------------------------------------------------------- /src/components/GetStarted.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avayyyyyyy/GenAI-Main/HEAD/src/components/GetStarted.tsx -------------------------------------------------------------------------------- /src/components/Imgagetoshow.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avayyyyyyy/GenAI-Main/HEAD/src/components/Imgagetoshow.tsx -------------------------------------------------------------------------------- /src/components/Navbar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avayyyyyyy/GenAI-Main/HEAD/src/components/Navbar.tsx -------------------------------------------------------------------------------- /src/components/SignIn.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avayyyyyyy/GenAI-Main/HEAD/src/components/SignIn.tsx -------------------------------------------------------------------------------- /src/components/SignOut.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avayyyyyyy/GenAI-Main/HEAD/src/components/SignOut.tsx -------------------------------------------------------------------------------- /src/components/UploadPhoto.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avayyyyyyy/GenAI-Main/HEAD/src/components/UploadPhoto.tsx -------------------------------------------------------------------------------- /src/components/create-story-form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avayyyyyyy/GenAI-Main/HEAD/src/components/create-story-form.tsx -------------------------------------------------------------------------------- /src/components/ui/alert-dialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avayyyyyyy/GenAI-Main/HEAD/src/components/ui/alert-dialog.tsx -------------------------------------------------------------------------------- /src/components/ui/button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avayyyyyyy/GenAI-Main/HEAD/src/components/ui/button.tsx -------------------------------------------------------------------------------- /src/components/ui/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avayyyyyyy/GenAI-Main/HEAD/src/components/ui/input.tsx -------------------------------------------------------------------------------- /src/components/ui/label.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avayyyyyyy/GenAI-Main/HEAD/src/components/ui/label.tsx -------------------------------------------------------------------------------- /src/components/ui/radio-group.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avayyyyyyy/GenAI-Main/HEAD/src/components/ui/radio-group.tsx -------------------------------------------------------------------------------- /src/components/ui/select.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avayyyyyyy/GenAI-Main/HEAD/src/components/ui/select.tsx -------------------------------------------------------------------------------- /src/components/ui/sonner.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avayyyyyyy/GenAI-Main/HEAD/src/components/ui/sonner.tsx -------------------------------------------------------------------------------- /src/components/ui/textarea.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avayyyyyyy/GenAI-Main/HEAD/src/components/ui/textarea.tsx -------------------------------------------------------------------------------- /src/lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avayyyyyyy/GenAI-Main/HEAD/src/lib/utils.ts -------------------------------------------------------------------------------- /src/middleware.ts: -------------------------------------------------------------------------------- 1 | export { auth as middleware } from "@/utils/auth"; 2 | -------------------------------------------------------------------------------- /src/utils/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avayyyyyyy/GenAI-Main/HEAD/src/utils/auth.ts -------------------------------------------------------------------------------- /src/utils/db.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avayyyyyyy/GenAI-Main/HEAD/src/utils/db.ts -------------------------------------------------------------------------------- /src/utils/gemini.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avayyyyyyy/GenAI-Main/HEAD/src/utils/gemini.ts -------------------------------------------------------------------------------- /src/utils/replicate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avayyyyyyy/GenAI-Main/HEAD/src/utils/replicate.ts -------------------------------------------------------------------------------- /src/utils/uploadthing.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avayyyyyyy/GenAI-Main/HEAD/src/utils/uploadthing.ts -------------------------------------------------------------------------------- /tailwind.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avayyyyyyy/GenAI-Main/HEAD/tailwind.config.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avayyyyyyy/GenAI-Main/HEAD/tsconfig.json --------------------------------------------------------------------------------