├── .eslintrc.json ├── .example.env ├── .gitignore ├── .node-version ├── .prettierrc ├── LICENSE ├── README.md ├── components.json ├── next.config.ts ├── package.json ├── pnpm-lock.yaml ├── postcss.config.mjs ├── prisma └── schema.prisma ├── public ├── file.svg ├── globe.svg ├── next.svg ├── og.jpg ├── vercel.svg └── window.svg ├── src ├── app │ ├── actions.ts │ ├── api │ │ ├── image │ │ │ └── route.ts │ │ ├── s3-upload │ │ │ └── route.ts │ │ └── summarize │ │ │ └── route.ts │ ├── fonts │ │ ├── GeistMonoVF.woff │ │ └── GeistVF.woff │ ├── globals.css │ ├── icon.png │ ├── layout.tsx │ ├── page.tsx │ └── pdf │ │ └── [id] │ │ ├── page.tsx │ │ └── smart-pdf-viewer.tsx ├── components │ ├── HomeLandingDrop.tsx │ ├── icons │ │ ├── github.tsx │ │ ├── sparkles.tsx │ │ └── x.tsx │ ├── images │ │ ├── homepage-image-1.tsx │ │ └── homepage-image-2.tsx │ └── ui │ │ ├── action-button.tsx │ │ ├── button.tsx │ │ ├── logo.tsx │ │ ├── select.tsx │ │ ├── spinner.tsx │ │ ├── summary-content.tsx │ │ ├── table-of-contents.tsx │ │ ├── toast.tsx │ │ └── toaster.tsx ├── hooks │ └── use-toast.ts └── lib │ ├── ai.ts │ ├── prisma.ts │ ├── s3client.ts │ ├── summarize.ts │ └── utils.ts ├── tailwind.config.ts └── tsconfig.json /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nutlope/smartpdfs/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.example.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nutlope/smartpdfs/HEAD/.example.env -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nutlope/smartpdfs/HEAD/.gitignore -------------------------------------------------------------------------------- /.node-version: -------------------------------------------------------------------------------- 1 | 20.12.1 2 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nutlope/smartpdfs/HEAD/.prettierrc -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nutlope/smartpdfs/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nutlope/smartpdfs/HEAD/README.md -------------------------------------------------------------------------------- /components.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nutlope/smartpdfs/HEAD/components.json -------------------------------------------------------------------------------- /next.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nutlope/smartpdfs/HEAD/next.config.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nutlope/smartpdfs/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nutlope/smartpdfs/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /postcss.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nutlope/smartpdfs/HEAD/postcss.config.mjs -------------------------------------------------------------------------------- /prisma/schema.prisma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nutlope/smartpdfs/HEAD/prisma/schema.prisma -------------------------------------------------------------------------------- /public/file.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nutlope/smartpdfs/HEAD/public/file.svg -------------------------------------------------------------------------------- /public/globe.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nutlope/smartpdfs/HEAD/public/globe.svg -------------------------------------------------------------------------------- /public/next.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nutlope/smartpdfs/HEAD/public/next.svg -------------------------------------------------------------------------------- /public/og.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nutlope/smartpdfs/HEAD/public/og.jpg -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nutlope/smartpdfs/HEAD/public/vercel.svg -------------------------------------------------------------------------------- /public/window.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nutlope/smartpdfs/HEAD/public/window.svg -------------------------------------------------------------------------------- /src/app/actions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nutlope/smartpdfs/HEAD/src/app/actions.ts -------------------------------------------------------------------------------- /src/app/api/image/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nutlope/smartpdfs/HEAD/src/app/api/image/route.ts -------------------------------------------------------------------------------- /src/app/api/s3-upload/route.ts: -------------------------------------------------------------------------------- 1 | export { POST } from "next-s3-upload/route"; 2 | -------------------------------------------------------------------------------- /src/app/api/summarize/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nutlope/smartpdfs/HEAD/src/app/api/summarize/route.ts -------------------------------------------------------------------------------- /src/app/fonts/GeistMonoVF.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nutlope/smartpdfs/HEAD/src/app/fonts/GeistMonoVF.woff -------------------------------------------------------------------------------- /src/app/fonts/GeistVF.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nutlope/smartpdfs/HEAD/src/app/fonts/GeistVF.woff -------------------------------------------------------------------------------- /src/app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nutlope/smartpdfs/HEAD/src/app/globals.css -------------------------------------------------------------------------------- /src/app/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nutlope/smartpdfs/HEAD/src/app/icon.png -------------------------------------------------------------------------------- /src/app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nutlope/smartpdfs/HEAD/src/app/layout.tsx -------------------------------------------------------------------------------- /src/app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nutlope/smartpdfs/HEAD/src/app/page.tsx -------------------------------------------------------------------------------- /src/app/pdf/[id]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nutlope/smartpdfs/HEAD/src/app/pdf/[id]/page.tsx -------------------------------------------------------------------------------- /src/app/pdf/[id]/smart-pdf-viewer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nutlope/smartpdfs/HEAD/src/app/pdf/[id]/smart-pdf-viewer.tsx -------------------------------------------------------------------------------- /src/components/HomeLandingDrop.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nutlope/smartpdfs/HEAD/src/components/HomeLandingDrop.tsx -------------------------------------------------------------------------------- /src/components/icons/github.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nutlope/smartpdfs/HEAD/src/components/icons/github.tsx -------------------------------------------------------------------------------- /src/components/icons/sparkles.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nutlope/smartpdfs/HEAD/src/components/icons/sparkles.tsx -------------------------------------------------------------------------------- /src/components/icons/x.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nutlope/smartpdfs/HEAD/src/components/icons/x.tsx -------------------------------------------------------------------------------- /src/components/images/homepage-image-1.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nutlope/smartpdfs/HEAD/src/components/images/homepage-image-1.tsx -------------------------------------------------------------------------------- /src/components/images/homepage-image-2.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nutlope/smartpdfs/HEAD/src/components/images/homepage-image-2.tsx -------------------------------------------------------------------------------- /src/components/ui/action-button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nutlope/smartpdfs/HEAD/src/components/ui/action-button.tsx -------------------------------------------------------------------------------- /src/components/ui/button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nutlope/smartpdfs/HEAD/src/components/ui/button.tsx -------------------------------------------------------------------------------- /src/components/ui/logo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nutlope/smartpdfs/HEAD/src/components/ui/logo.tsx -------------------------------------------------------------------------------- /src/components/ui/select.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nutlope/smartpdfs/HEAD/src/components/ui/select.tsx -------------------------------------------------------------------------------- /src/components/ui/spinner.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nutlope/smartpdfs/HEAD/src/components/ui/spinner.tsx -------------------------------------------------------------------------------- /src/components/ui/summary-content.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nutlope/smartpdfs/HEAD/src/components/ui/summary-content.tsx -------------------------------------------------------------------------------- /src/components/ui/table-of-contents.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nutlope/smartpdfs/HEAD/src/components/ui/table-of-contents.tsx -------------------------------------------------------------------------------- /src/components/ui/toast.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nutlope/smartpdfs/HEAD/src/components/ui/toast.tsx -------------------------------------------------------------------------------- /src/components/ui/toaster.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nutlope/smartpdfs/HEAD/src/components/ui/toaster.tsx -------------------------------------------------------------------------------- /src/hooks/use-toast.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nutlope/smartpdfs/HEAD/src/hooks/use-toast.ts -------------------------------------------------------------------------------- /src/lib/ai.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nutlope/smartpdfs/HEAD/src/lib/ai.ts -------------------------------------------------------------------------------- /src/lib/prisma.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nutlope/smartpdfs/HEAD/src/lib/prisma.ts -------------------------------------------------------------------------------- /src/lib/s3client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nutlope/smartpdfs/HEAD/src/lib/s3client.ts -------------------------------------------------------------------------------- /src/lib/summarize.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nutlope/smartpdfs/HEAD/src/lib/summarize.ts -------------------------------------------------------------------------------- /src/lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nutlope/smartpdfs/HEAD/src/lib/utils.ts -------------------------------------------------------------------------------- /tailwind.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nutlope/smartpdfs/HEAD/tailwind.config.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nutlope/smartpdfs/HEAD/tsconfig.json --------------------------------------------------------------------------------