├── .env.local.example ├── .gitignore ├── .vscode ├── extensions.json └── settings.json ├── README.md ├── app ├── auth │ ├── callback │ │ └── route.ts │ ├── sign-in │ │ └── route.ts │ ├── sign-out │ │ └── route.ts │ └── sign-up │ │ └── route.ts ├── chat │ ├── layout.tsx │ └── page.tsx ├── favicon.ico ├── files │ ├── layout.tsx │ └── page.tsx ├── globals.css ├── layout.tsx ├── login │ ├── layout.tsx │ ├── messages.tsx │ └── page.tsx ├── opengraph-image.png └── page.tsx ├── assets ├── hero.png ├── instructions.png └── step-2-er-diagram.png ├── components.json ├── components ├── LogoutButton.tsx ├── NextJsLogo.tsx ├── SupabaseLogo.tsx └── ui │ ├── button.tsx │ ├── input.tsx │ ├── toast.tsx │ ├── toaster.tsx │ └── use-toast.ts ├── lib ├── hooks │ └── use-pipeline.ts ├── providers.tsx ├── utils.ts └── workers │ └── pipeline.ts ├── middleware.ts ├── next.config.js ├── package.json ├── postcss.config.js ├── sample-files ├── roman-empire-1.md ├── roman-empire-2.md └── roman-empire-3.md ├── supabase ├── .gitignore ├── config.toml ├── functions │ ├── _lib │ │ ├── database.ts │ │ └── markdown-parser.ts │ ├── chat │ │ └── index.ts │ ├── embed │ │ └── index.ts │ ├── import_map.json │ └── process │ │ └── index.ts ├── migrations │ ├── 20231006192603_files.sql │ ├── 20231006212813_documents.sql │ ├── 20231007002735_embed.sql │ ├── 20231007040908_match.sql │ └── 20240223144537_cascade.sql └── seed.sql ├── tailwind.config.js └── tsconfig.json /.env.local.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/.env.local.example -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/.vscode/extensions.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/README.md -------------------------------------------------------------------------------- /app/auth/callback/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/app/auth/callback/route.ts -------------------------------------------------------------------------------- /app/auth/sign-in/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/app/auth/sign-in/route.ts -------------------------------------------------------------------------------- /app/auth/sign-out/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/app/auth/sign-out/route.ts -------------------------------------------------------------------------------- /app/auth/sign-up/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/app/auth/sign-up/route.ts -------------------------------------------------------------------------------- /app/chat/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/app/chat/layout.tsx -------------------------------------------------------------------------------- /app/chat/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/app/chat/page.tsx -------------------------------------------------------------------------------- /app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/app/favicon.ico -------------------------------------------------------------------------------- /app/files/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/app/files/layout.tsx -------------------------------------------------------------------------------- /app/files/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/app/files/page.tsx -------------------------------------------------------------------------------- /app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/app/globals.css -------------------------------------------------------------------------------- /app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/app/layout.tsx -------------------------------------------------------------------------------- /app/login/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/app/login/layout.tsx -------------------------------------------------------------------------------- /app/login/messages.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/app/login/messages.tsx -------------------------------------------------------------------------------- /app/login/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/app/login/page.tsx -------------------------------------------------------------------------------- /app/opengraph-image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/app/opengraph-image.png -------------------------------------------------------------------------------- /app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/app/page.tsx -------------------------------------------------------------------------------- /assets/hero.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/assets/hero.png -------------------------------------------------------------------------------- /assets/instructions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/assets/instructions.png -------------------------------------------------------------------------------- /assets/step-2-er-diagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/assets/step-2-er-diagram.png -------------------------------------------------------------------------------- /components.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/components.json -------------------------------------------------------------------------------- /components/LogoutButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/components/LogoutButton.tsx -------------------------------------------------------------------------------- /components/NextJsLogo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/components/NextJsLogo.tsx -------------------------------------------------------------------------------- /components/SupabaseLogo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/components/SupabaseLogo.tsx -------------------------------------------------------------------------------- /components/ui/button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/components/ui/button.tsx -------------------------------------------------------------------------------- /components/ui/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/components/ui/input.tsx -------------------------------------------------------------------------------- /components/ui/toast.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/components/ui/toast.tsx -------------------------------------------------------------------------------- /components/ui/toaster.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/components/ui/toaster.tsx -------------------------------------------------------------------------------- /components/ui/use-toast.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/components/ui/use-toast.ts -------------------------------------------------------------------------------- /lib/hooks/use-pipeline.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/lib/hooks/use-pipeline.ts -------------------------------------------------------------------------------- /lib/providers.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/lib/providers.tsx -------------------------------------------------------------------------------- /lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/lib/utils.ts -------------------------------------------------------------------------------- /lib/workers/pipeline.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/lib/workers/pipeline.ts -------------------------------------------------------------------------------- /middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/middleware.ts -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/next.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/postcss.config.js -------------------------------------------------------------------------------- /sample-files/roman-empire-1.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/sample-files/roman-empire-1.md -------------------------------------------------------------------------------- /sample-files/roman-empire-2.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/sample-files/roman-empire-2.md -------------------------------------------------------------------------------- /sample-files/roman-empire-3.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/sample-files/roman-empire-3.md -------------------------------------------------------------------------------- /supabase/.gitignore: -------------------------------------------------------------------------------- 1 | # Supabase 2 | .branches 3 | .temp 4 | .env 5 | -------------------------------------------------------------------------------- /supabase/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/supabase/config.toml -------------------------------------------------------------------------------- /supabase/functions/_lib/database.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/supabase/functions/_lib/database.ts -------------------------------------------------------------------------------- /supabase/functions/_lib/markdown-parser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/supabase/functions/_lib/markdown-parser.ts -------------------------------------------------------------------------------- /supabase/functions/chat/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/supabase/functions/chat/index.ts -------------------------------------------------------------------------------- /supabase/functions/embed/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/supabase/functions/embed/index.ts -------------------------------------------------------------------------------- /supabase/functions/import_map.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/supabase/functions/import_map.json -------------------------------------------------------------------------------- /supabase/functions/process/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/supabase/functions/process/index.ts -------------------------------------------------------------------------------- /supabase/migrations/20231006192603_files.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/supabase/migrations/20231006192603_files.sql -------------------------------------------------------------------------------- /supabase/migrations/20231006212813_documents.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/supabase/migrations/20231006212813_documents.sql -------------------------------------------------------------------------------- /supabase/migrations/20231007002735_embed.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/supabase/migrations/20231007002735_embed.sql -------------------------------------------------------------------------------- /supabase/migrations/20231007040908_match.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/supabase/migrations/20231007040908_match.sql -------------------------------------------------------------------------------- /supabase/migrations/20240223144537_cascade.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/supabase/migrations/20240223144537_cascade.sql -------------------------------------------------------------------------------- /supabase/seed.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/supabase/seed.sql -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/tailwind.config.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/chatgpt-your-files/HEAD/tsconfig.json --------------------------------------------------------------------------------