├── .env.example ├── .eslintrc.json ├── .gitignore ├── LICENSE ├── README.md ├── app ├── (auth) │ ├── forgot-password │ │ ├── form.tsx │ │ └── page.tsx │ ├── signin │ │ ├── form.tsx │ │ └── page.tsx │ └── signup │ │ ├── form.tsx │ │ └── page.tsx ├── api │ ├── auth │ │ ├── callback │ │ │ └── route.ts │ │ └── update-password │ │ │ └── route.ts │ └── chat │ │ ├── route.ts │ │ └── systemPrompt.ts ├── chat │ └── [id] │ │ └── page.tsx ├── favicon.ico ├── globals.css ├── layout.tsx ├── new │ └── page.tsx ├── not-found.tsx ├── page.tsx ├── react-query-provider.tsx ├── supabase.types.ts └── types.ts ├── components.json ├── components ├── artifact │ ├── html.tsx │ ├── index.tsx │ └── react.tsx ├── auth-form-footers.tsx ├── chat │ ├── attachment-preview-button.tsx │ ├── input.tsx │ ├── message-list.tsx │ ├── message.tsx │ └── panel.tsx ├── homepage-link.tsx ├── markdown │ ├── code-block.tsx │ ├── markdown.tsx │ └── memoized-react-markdownn.tsx ├── oauth-provider-button.tsx ├── selection-tool.tsx ├── side-navbar │ ├── chat-item.tsx │ ├── index.tsx │ └── user-settings.tsx ├── social-footer.tsx ├── ui │ ├── alert-dialog.tsx │ ├── button.tsx │ ├── card.tsx │ ├── dialog.tsx │ ├── dropdown-menu.tsx │ ├── form.tsx │ ├── index.ts │ ├── input.tsx │ ├── label.tsx │ ├── popover.tsx │ ├── select.tsx │ ├── separator.tsx │ ├── tabs.tsx │ ├── textarea.tsx │ └── tooltip.tsx └── user-button │ ├── index.tsx │ └── sign-out-dialog.tsx ├── lib ├── db.ts ├── hooks │ ├── use-copy-to-clipboard.ts │ ├── use-enter-submit.ts │ ├── use-fake-whisper.ts │ └── use-scroll-anchor.ts ├── sampleMessages.ts ├── supabase │ ├── hooks │ │ └── useSupabase.ts │ ├── index.ts │ ├── supabase-provider.tsx │ └── types.ts ├── userSettings.ts └── utils.ts ├── next.config.mjs ├── package.json ├── postcss.config.mjs ├── public ├── anthropic.svg ├── crop-and-talk.png ├── demo.png ├── github.svg ├── google.svg ├── next.svg ├── openai.svg └── vercel.svg ├── supabase ├── .gitignore ├── config.toml ├── migrations │ ├── 20240720132926_remote_schema.sql │ └── 20240720133004_remote_schema.sql └── seed.sql ├── tailwind.config.ts └── tsconfig.json /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/.env.example -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/README.md -------------------------------------------------------------------------------- /app/(auth)/forgot-password/form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/app/(auth)/forgot-password/form.tsx -------------------------------------------------------------------------------- /app/(auth)/forgot-password/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/app/(auth)/forgot-password/page.tsx -------------------------------------------------------------------------------- /app/(auth)/signin/form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/app/(auth)/signin/form.tsx -------------------------------------------------------------------------------- /app/(auth)/signin/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/app/(auth)/signin/page.tsx -------------------------------------------------------------------------------- /app/(auth)/signup/form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/app/(auth)/signup/form.tsx -------------------------------------------------------------------------------- /app/(auth)/signup/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/app/(auth)/signup/page.tsx -------------------------------------------------------------------------------- /app/api/auth/callback/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/app/api/auth/callback/route.ts -------------------------------------------------------------------------------- /app/api/auth/update-password/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/app/api/auth/update-password/route.ts -------------------------------------------------------------------------------- /app/api/chat/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/app/api/chat/route.ts -------------------------------------------------------------------------------- /app/api/chat/systemPrompt.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/app/api/chat/systemPrompt.ts -------------------------------------------------------------------------------- /app/chat/[id]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/app/chat/[id]/page.tsx -------------------------------------------------------------------------------- /app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/app/favicon.ico -------------------------------------------------------------------------------- /app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/app/globals.css -------------------------------------------------------------------------------- /app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/app/layout.tsx -------------------------------------------------------------------------------- /app/new/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/app/new/page.tsx -------------------------------------------------------------------------------- /app/not-found.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/app/not-found.tsx -------------------------------------------------------------------------------- /app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/app/page.tsx -------------------------------------------------------------------------------- /app/react-query-provider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/app/react-query-provider.tsx -------------------------------------------------------------------------------- /app/supabase.types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/app/supabase.types.ts -------------------------------------------------------------------------------- /app/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/app/types.ts -------------------------------------------------------------------------------- /components.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/components.json -------------------------------------------------------------------------------- /components/artifact/html.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/components/artifact/html.tsx -------------------------------------------------------------------------------- /components/artifact/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/components/artifact/index.tsx -------------------------------------------------------------------------------- /components/artifact/react.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/components/artifact/react.tsx -------------------------------------------------------------------------------- /components/auth-form-footers.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/components/auth-form-footers.tsx -------------------------------------------------------------------------------- /components/chat/attachment-preview-button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/components/chat/attachment-preview-button.tsx -------------------------------------------------------------------------------- /components/chat/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/components/chat/input.tsx -------------------------------------------------------------------------------- /components/chat/message-list.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/components/chat/message-list.tsx -------------------------------------------------------------------------------- /components/chat/message.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/components/chat/message.tsx -------------------------------------------------------------------------------- /components/chat/panel.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/components/chat/panel.tsx -------------------------------------------------------------------------------- /components/homepage-link.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/components/homepage-link.tsx -------------------------------------------------------------------------------- /components/markdown/code-block.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/components/markdown/code-block.tsx -------------------------------------------------------------------------------- /components/markdown/markdown.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/components/markdown/markdown.tsx -------------------------------------------------------------------------------- /components/markdown/memoized-react-markdownn.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/components/markdown/memoized-react-markdownn.tsx -------------------------------------------------------------------------------- /components/oauth-provider-button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/components/oauth-provider-button.tsx -------------------------------------------------------------------------------- /components/selection-tool.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/components/selection-tool.tsx -------------------------------------------------------------------------------- /components/side-navbar/chat-item.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/components/side-navbar/chat-item.tsx -------------------------------------------------------------------------------- /components/side-navbar/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/components/side-navbar/index.tsx -------------------------------------------------------------------------------- /components/side-navbar/user-settings.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/components/side-navbar/user-settings.tsx -------------------------------------------------------------------------------- /components/social-footer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/components/social-footer.tsx -------------------------------------------------------------------------------- /components/ui/alert-dialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/components/ui/alert-dialog.tsx -------------------------------------------------------------------------------- /components/ui/button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/components/ui/button.tsx -------------------------------------------------------------------------------- /components/ui/card.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/components/ui/card.tsx -------------------------------------------------------------------------------- /components/ui/dialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/components/ui/dialog.tsx -------------------------------------------------------------------------------- /components/ui/dropdown-menu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/components/ui/dropdown-menu.tsx -------------------------------------------------------------------------------- /components/ui/form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/components/ui/form.tsx -------------------------------------------------------------------------------- /components/ui/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/components/ui/index.ts -------------------------------------------------------------------------------- /components/ui/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/components/ui/input.tsx -------------------------------------------------------------------------------- /components/ui/label.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/components/ui/label.tsx -------------------------------------------------------------------------------- /components/ui/popover.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/components/ui/popover.tsx -------------------------------------------------------------------------------- /components/ui/select.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/components/ui/select.tsx -------------------------------------------------------------------------------- /components/ui/separator.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/components/ui/separator.tsx -------------------------------------------------------------------------------- /components/ui/tabs.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/components/ui/tabs.tsx -------------------------------------------------------------------------------- /components/ui/textarea.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/components/ui/textarea.tsx -------------------------------------------------------------------------------- /components/ui/tooltip.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/components/ui/tooltip.tsx -------------------------------------------------------------------------------- /components/user-button/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/components/user-button/index.tsx -------------------------------------------------------------------------------- /components/user-button/sign-out-dialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/components/user-button/sign-out-dialog.tsx -------------------------------------------------------------------------------- /lib/db.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/lib/db.ts -------------------------------------------------------------------------------- /lib/hooks/use-copy-to-clipboard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/lib/hooks/use-copy-to-clipboard.ts -------------------------------------------------------------------------------- /lib/hooks/use-enter-submit.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/lib/hooks/use-enter-submit.ts -------------------------------------------------------------------------------- /lib/hooks/use-fake-whisper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/lib/hooks/use-fake-whisper.ts -------------------------------------------------------------------------------- /lib/hooks/use-scroll-anchor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/lib/hooks/use-scroll-anchor.ts -------------------------------------------------------------------------------- /lib/sampleMessages.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/lib/sampleMessages.ts -------------------------------------------------------------------------------- /lib/supabase/hooks/useSupabase.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/lib/supabase/hooks/useSupabase.ts -------------------------------------------------------------------------------- /lib/supabase/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/lib/supabase/index.ts -------------------------------------------------------------------------------- /lib/supabase/supabase-provider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/lib/supabase/supabase-provider.tsx -------------------------------------------------------------------------------- /lib/supabase/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/lib/supabase/types.ts -------------------------------------------------------------------------------- /lib/userSettings.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/lib/userSettings.ts -------------------------------------------------------------------------------- /lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/lib/utils.ts -------------------------------------------------------------------------------- /next.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/next.config.mjs -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/postcss.config.mjs -------------------------------------------------------------------------------- /public/anthropic.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/public/anthropic.svg -------------------------------------------------------------------------------- /public/crop-and-talk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/public/crop-and-talk.png -------------------------------------------------------------------------------- /public/demo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/public/demo.png -------------------------------------------------------------------------------- /public/github.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/public/github.svg -------------------------------------------------------------------------------- /public/google.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/public/google.svg -------------------------------------------------------------------------------- /public/next.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/public/next.svg -------------------------------------------------------------------------------- /public/openai.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/public/openai.svg -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/public/vercel.svg -------------------------------------------------------------------------------- /supabase/.gitignore: -------------------------------------------------------------------------------- 1 | # Supabase 2 | .branches 3 | .temp 4 | .env 5 | -------------------------------------------------------------------------------- /supabase/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/supabase/config.toml -------------------------------------------------------------------------------- /supabase/migrations/20240720132926_remote_schema.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/supabase/migrations/20240720132926_remote_schema.sql -------------------------------------------------------------------------------- /supabase/migrations/20240720133004_remote_schema.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/supabase/migrations/20240720133004_remote_schema.sql -------------------------------------------------------------------------------- /supabase/seed.sql: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tailwind.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/tailwind.config.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/13point5/open-artifacts/HEAD/tsconfig.json --------------------------------------------------------------------------------