├── .gitignore ├── .vscode └── settings.json ├── README.md ├── components.json ├── eslint.config.mjs ├── next.config.ts ├── package.json ├── postcss.config.mjs ├── prisma ├── migrations │ ├── 20250123082253_init │ │ └── migration.sql │ ├── 20250123115123_added_interaction_model │ │ └── migration.sql │ ├── 20250125060127_changed_interaction_id_type │ │ └── migration.sql │ ├── 20250128080146_added_coreprompt │ │ └── migration.sql │ ├── 20250519143011_added_ip_model │ │ └── migration.sql │ └── migration_lock.toml └── schema.prisma ├── public ├── g22.png ├── g23.png ├── p8.png └── spark.png ├── src ├── app │ ├── Providers.tsx │ ├── api │ │ ├── auth │ │ │ └── [...nextauth] │ │ │ │ ├── options.ts │ │ │ │ └── route.ts │ │ ├── corePrompt │ │ │ └── save │ │ │ │ └── route.ts │ │ ├── generate │ │ │ └── route.ts │ │ ├── improve │ │ │ └── route.ts │ │ └── interaction │ │ │ ├── delete │ │ │ └── route.ts │ │ │ ├── get │ │ │ └── route.ts │ │ │ └── save │ │ │ └── route.ts │ ├── font.ts │ ├── globals.css │ ├── history │ │ ├── components │ │ │ └── Utility.tsx │ │ └── page.tsx │ ├── i │ │ └── [interactionId] │ │ │ └── page.tsx │ ├── icon.png │ ├── layout.tsx │ └── page.tsx ├── components │ ├── Appbar.tsx │ ├── BackgroundImage.tsx │ ├── CorePromptForm.tsx │ ├── Footer.tsx │ ├── Hero.tsx │ ├── LoginModel.tsx │ ├── Main.tsx │ ├── Profile.tsx │ ├── Result.tsx │ ├── Samples.tsx │ ├── ThemeToggleButton.tsx │ ├── TypeWriter.tsx │ ├── UsageCount.tsx │ ├── app-sidebar.tsx │ ├── theme-provider.tsx │ └── ui │ │ ├── avatar.tsx │ │ ├── border-beam.tsx │ │ ├── button.tsx │ │ ├── dialog.tsx │ │ ├── dropdown-menu.tsx │ │ ├── input.tsx │ │ ├── popover.tsx │ │ ├── select.tsx │ │ ├── separator.tsx │ │ ├── sheet.tsx │ │ ├── shine-border.tsx │ │ ├── shiny-button.tsx │ │ ├── sidebar.tsx │ │ ├── skeleton.tsx │ │ ├── textarea.tsx │ │ └── tooltip.tsx ├── constants │ ├── corePromptInputPlaceholder.ts │ └── smaples.ts ├── context │ ├── ResultContext.tsx │ └── TweetContext.tsx ├── hooks │ ├── use-mobile.tsx │ ├── useResult.ts │ ├── useTweet.ts │ └── useUsageTracker.ts ├── lib │ ├── genAI.ts │ ├── prisma.ts │ └── utils.ts └── types │ ├── ApiResponse.ts │ ├── HistoryType.ts │ ├── InteractionPageProps.ts │ ├── LoginModelProps.ts │ ├── ResultProps.ts │ └── UtilityProps.ts ├── tailwind.config.ts └── tsconfig.json /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/README.md -------------------------------------------------------------------------------- /components.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/components.json -------------------------------------------------------------------------------- /eslint.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/eslint.config.mjs -------------------------------------------------------------------------------- /next.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/next.config.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/postcss.config.mjs -------------------------------------------------------------------------------- /prisma/migrations/20250123082253_init/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/prisma/migrations/20250123082253_init/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/20250123115123_added_interaction_model/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/prisma/migrations/20250123115123_added_interaction_model/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/20250125060127_changed_interaction_id_type/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/prisma/migrations/20250125060127_changed_interaction_id_type/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/20250128080146_added_coreprompt/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/prisma/migrations/20250128080146_added_coreprompt/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/20250519143011_added_ip_model/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/prisma/migrations/20250519143011_added_ip_model/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/migration_lock.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/prisma/migrations/migration_lock.toml -------------------------------------------------------------------------------- /prisma/schema.prisma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/prisma/schema.prisma -------------------------------------------------------------------------------- /public/g22.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/public/g22.png -------------------------------------------------------------------------------- /public/g23.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/public/g23.png -------------------------------------------------------------------------------- /public/p8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/public/p8.png -------------------------------------------------------------------------------- /public/spark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/public/spark.png -------------------------------------------------------------------------------- /src/app/Providers.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/app/Providers.tsx -------------------------------------------------------------------------------- /src/app/api/auth/[...nextauth]/options.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/app/api/auth/[...nextauth]/options.ts -------------------------------------------------------------------------------- /src/app/api/auth/[...nextauth]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/app/api/auth/[...nextauth]/route.ts -------------------------------------------------------------------------------- /src/app/api/corePrompt/save/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/app/api/corePrompt/save/route.ts -------------------------------------------------------------------------------- /src/app/api/generate/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/app/api/generate/route.ts -------------------------------------------------------------------------------- /src/app/api/improve/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/app/api/improve/route.ts -------------------------------------------------------------------------------- /src/app/api/interaction/delete/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/app/api/interaction/delete/route.ts -------------------------------------------------------------------------------- /src/app/api/interaction/get/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/app/api/interaction/get/route.ts -------------------------------------------------------------------------------- /src/app/api/interaction/save/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/app/api/interaction/save/route.ts -------------------------------------------------------------------------------- /src/app/font.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/app/font.ts -------------------------------------------------------------------------------- /src/app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/app/globals.css -------------------------------------------------------------------------------- /src/app/history/components/Utility.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/app/history/components/Utility.tsx -------------------------------------------------------------------------------- /src/app/history/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/app/history/page.tsx -------------------------------------------------------------------------------- /src/app/i/[interactionId]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/app/i/[interactionId]/page.tsx -------------------------------------------------------------------------------- /src/app/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/app/icon.png -------------------------------------------------------------------------------- /src/app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/app/layout.tsx -------------------------------------------------------------------------------- /src/app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/app/page.tsx -------------------------------------------------------------------------------- /src/components/Appbar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/components/Appbar.tsx -------------------------------------------------------------------------------- /src/components/BackgroundImage.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/components/BackgroundImage.tsx -------------------------------------------------------------------------------- /src/components/CorePromptForm.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/components/CorePromptForm.tsx -------------------------------------------------------------------------------- /src/components/Footer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/components/Footer.tsx -------------------------------------------------------------------------------- /src/components/Hero.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/components/Hero.tsx -------------------------------------------------------------------------------- /src/components/LoginModel.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/components/LoginModel.tsx -------------------------------------------------------------------------------- /src/components/Main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/components/Main.tsx -------------------------------------------------------------------------------- /src/components/Profile.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/components/Profile.tsx -------------------------------------------------------------------------------- /src/components/Result.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/components/Result.tsx -------------------------------------------------------------------------------- /src/components/Samples.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/components/Samples.tsx -------------------------------------------------------------------------------- /src/components/ThemeToggleButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/components/ThemeToggleButton.tsx -------------------------------------------------------------------------------- /src/components/TypeWriter.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/components/TypeWriter.tsx -------------------------------------------------------------------------------- /src/components/UsageCount.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/components/UsageCount.tsx -------------------------------------------------------------------------------- /src/components/app-sidebar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/components/app-sidebar.tsx -------------------------------------------------------------------------------- /src/components/theme-provider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/components/theme-provider.tsx -------------------------------------------------------------------------------- /src/components/ui/avatar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/components/ui/avatar.tsx -------------------------------------------------------------------------------- /src/components/ui/border-beam.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/components/ui/border-beam.tsx -------------------------------------------------------------------------------- /src/components/ui/button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/components/ui/button.tsx -------------------------------------------------------------------------------- /src/components/ui/dialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/components/ui/dialog.tsx -------------------------------------------------------------------------------- /src/components/ui/dropdown-menu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/components/ui/dropdown-menu.tsx -------------------------------------------------------------------------------- /src/components/ui/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/components/ui/input.tsx -------------------------------------------------------------------------------- /src/components/ui/popover.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/components/ui/popover.tsx -------------------------------------------------------------------------------- /src/components/ui/select.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/components/ui/select.tsx -------------------------------------------------------------------------------- /src/components/ui/separator.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/components/ui/separator.tsx -------------------------------------------------------------------------------- /src/components/ui/sheet.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/components/ui/sheet.tsx -------------------------------------------------------------------------------- /src/components/ui/shine-border.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/components/ui/shine-border.tsx -------------------------------------------------------------------------------- /src/components/ui/shiny-button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/components/ui/shiny-button.tsx -------------------------------------------------------------------------------- /src/components/ui/sidebar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/components/ui/sidebar.tsx -------------------------------------------------------------------------------- /src/components/ui/skeleton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/components/ui/skeleton.tsx -------------------------------------------------------------------------------- /src/components/ui/textarea.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/components/ui/textarea.tsx -------------------------------------------------------------------------------- /src/components/ui/tooltip.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/components/ui/tooltip.tsx -------------------------------------------------------------------------------- /src/constants/corePromptInputPlaceholder.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/constants/corePromptInputPlaceholder.ts -------------------------------------------------------------------------------- /src/constants/smaples.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/constants/smaples.ts -------------------------------------------------------------------------------- /src/context/ResultContext.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/context/ResultContext.tsx -------------------------------------------------------------------------------- /src/context/TweetContext.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/context/TweetContext.tsx -------------------------------------------------------------------------------- /src/hooks/use-mobile.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/hooks/use-mobile.tsx -------------------------------------------------------------------------------- /src/hooks/useResult.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/hooks/useResult.ts -------------------------------------------------------------------------------- /src/hooks/useTweet.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/hooks/useTweet.ts -------------------------------------------------------------------------------- /src/hooks/useUsageTracker.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/hooks/useUsageTracker.ts -------------------------------------------------------------------------------- /src/lib/genAI.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/lib/genAI.ts -------------------------------------------------------------------------------- /src/lib/prisma.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/lib/prisma.ts -------------------------------------------------------------------------------- /src/lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/lib/utils.ts -------------------------------------------------------------------------------- /src/types/ApiResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/types/ApiResponse.ts -------------------------------------------------------------------------------- /src/types/HistoryType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/types/HistoryType.ts -------------------------------------------------------------------------------- /src/types/InteractionPageProps.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/types/InteractionPageProps.ts -------------------------------------------------------------------------------- /src/types/LoginModelProps.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/types/LoginModelProps.ts -------------------------------------------------------------------------------- /src/types/ResultProps.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/types/ResultProps.ts -------------------------------------------------------------------------------- /src/types/UtilityProps.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/src/types/UtilityProps.ts -------------------------------------------------------------------------------- /tailwind.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/tailwind.config.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fardeen26/flick-ai/HEAD/tsconfig.json --------------------------------------------------------------------------------