ai-chatbot

    A full-featured, hackable Next.js AI chatbot built by Vercel

    Language: typescript

    Author: Lucas Andre (@lucas.andre)

    0 stars · 132 views

    Files

    • vercel-template.json (json)
    • lib (txt)
    • editor (txt)
    • functions.tsx (tsx)
    • diff.js (js)
    • suggestions.tsx (tsx)
    • react-renderer.tsx (tsx)
    • config.ts (ts)
    • constants.ts (ts)
    • types.ts (ts)
    • db (txt)
    • schema.ts (ts)
    • queries.ts (ts)
    • migrate.ts (ts)
    • migrations (txt)
    • meta (txt)
    • _journal.json (json)
    • 0000_initial.sql (sql)
    • utils.ts (ts)
    • ai (txt)
    • providers.ts (ts)
    • tools (txt)
    • create-document.ts (ts)
    • update-document.ts (ts)
    • get-weather.ts (ts)
    • request-suggestions.ts (ts)
    • edit-document.ts (ts)
    • models.ts (ts)
    • models.test.ts (ts)
    • models.mock.ts (ts)
    • entitlements.ts (ts)
    • prompts.ts (ts)
    • artifacts (txt)
    • server.ts (ts)
    • ratelimit.ts (ts)
    • errors.ts (ts)
    • utils.ts (ts)
    • drizzle.config.ts (ts)
    • .vscode (vscode)
    • settings.json (json)
    • extensions.json (json)
    • README.md (md)
    • tsconfig.json (json)
    • instrumentation.ts (ts)
    • proxy.ts (ts)
    • instrumentation-client.ts (ts)
    • hooks (txt)
    • use-mobile.ts (ts)
    • use-scroll-to-bottom.tsx (tsx)
    • use-artifact.ts (ts)
    • use-auto-resume.ts (ts)
    • use-active-chat.tsx (tsx)
    • use-messages.tsx (tsx)
    • use-chat-visibility.ts (ts)
    • app (txt)
    • (chat) (txt)
    • twitter-image.png (image)
    • actions.ts (ts)
    • page.tsx (tsx)
    • chat (txt)
    • [id] (txt)
    • page.tsx (tsx)
    • opengraph-image.png (image)
    • layout.tsx (tsx)
    • api (txt)
    • models (txt)
    • route.ts (ts)
    • history (txt)
    • route.ts (ts)
    • chat (txt)
    • [id] (txt)
    • stream (txt)
    • route.ts (ts)
    • schema.ts (ts)
    • route.ts (ts)
    • messages (txt)
    • route.ts (ts)
    • document (txt)
    • route.ts (ts)
    • files (txt)
    • upload (txt)
    • route.ts (ts)
    • suggestions (txt)
    • route.ts (ts)
    • vote (txt)
    • route.ts (ts)
    • favicon.ico (image)
    • (auth) (txt)
    • actions.ts (ts)
    • register (txt)
    • page.tsx (tsx)
    • auth.config.ts (ts)
    • auth.ts (ts)
    • layout.tsx (tsx)
    • login (txt)
    • page.tsx (tsx)
    • api (txt)
    • auth (txt)
    • guest (txt)
    • route.ts (ts)
    • [...nextauth] (nextauth)
    • route.ts (ts)
    • layout.tsx (tsx)
    • globals.css (css)
    • components.json (json)
    • LICENSE (txt)
    • package.json (json)
    • artifacts (txt)
    • actions.ts (ts)
    • sheet (txt)
    • server.ts (ts)
    • client.tsx (tsx)
    • code (txt)
    • server.ts (ts)
    • client.tsx (tsx)
    • image (txt)
    • client.tsx (tsx)
    • text (txt)
    • server.ts (ts)
    • client.tsx (tsx)
    • .github (github)
    • workflows (txt)
    • playwright.yml (yml)
    • lint.yml (yml)
    • vercel.json (json)
    • tests (txt)
    • e2e (txt)
    • api.test.ts (ts)
    • auth.test.ts (ts)
    • chat.test.ts (ts)
    • model-selector.test.ts (ts)
    • fixtures.ts (ts)
    • helpers.ts (ts)
    • pages (txt)
    • chat.ts (ts)
    • prompts (txt)
    • utils.ts (ts)
    • next.config.ts (ts)
    • .cursor (cursor)
    • rules (txt)
    • playwright.config.ts (ts)
    • postcss.config.mjs (mjs)
    • components (txt)
    • ui (txt)
    • sidebar.tsx (tsx)
    • command.tsx (tsx)
    • scroll-area.tsx (tsx)
    • button-group.tsx (tsx)
    • input.tsx (tsx)
    • sheet.tsx (tsx)
    • dialog.tsx (tsx)
    • badge.tsx (tsx)
    • separator.tsx (tsx)
    • collapsible.tsx (tsx)
    • textarea.tsx (tsx)
    • skeleton.tsx (tsx)
    • input-group.tsx (tsx)
    • label.tsx (tsx)
    • dropdown-menu.tsx (tsx)
    • tooltip.tsx (tsx)
    • button.tsx (tsx)
    • alert-dialog.tsx (tsx)
    • popover.tsx (tsx)
    • select.tsx (tsx)
    • spinner.tsx (tsx)
    • hover-card.tsx (tsx)
    • chat (txt)
    • code-editor.tsx (tsx)
    • messages.tsx (tsx)
    • suggestion.tsx (tsx)
    • sidebar-history.tsx (tsx)
    • app-sidebar.tsx (tsx)
    • suggested-actions.tsx (tsx)
    • multimodal-input.tsx (tsx)
    • sidebar-user-nav.tsx (tsx)
    • slash-commands.tsx (tsx)
    • diffview.tsx (tsx)
    • document-preview.tsx (tsx)
    • image-editor.tsx (tsx)
    • artifact-close-button.tsx (tsx)
    • data-stream-handler.tsx (tsx)
    • greeting.tsx (tsx)
    • create-artifact.tsx (tsx)
    • submit-button.tsx (tsx)
    • preview-attachment.tsx (tsx)
    • weather.tsx (tsx)
    • message-reasoning.tsx (tsx)
    • chat-header.tsx (tsx)
    • toast.tsx (tsx)
    • icons.tsx (tsx)
    • version-footer.tsx (tsx)
    • shell.tsx (tsx)
    • auth-form.tsx (tsx)
    • visibility-selector.tsx (tsx)
    • sign-out-form.tsx (tsx)
    • document-skeleton.tsx (tsx)
    • artifact.tsx (tsx)
    • data-stream-provider.tsx (tsx)
    • message.tsx (tsx)
    • message-actions.tsx (tsx)
    • toolbar.tsx (tsx)
    • message-editor.tsx (tsx)
    • artifact-actions.tsx (tsx)
    • preview.tsx (tsx)
    • console.tsx (tsx)
    • sidebar-history-item.tsx (tsx)
    • text-editor.tsx (tsx)
    • sidebar-toggle.tsx (tsx)
    • artifact-messages.tsx (tsx)
    • sheet-editor.tsx (tsx)
    • document.tsx (tsx)
    • theme-provider.tsx (tsx)
    • ai-elements (txt)
    • suggestion.tsx (tsx)
    • code-block.tsx (tsx)
    • model-selector.tsx (tsx)
    • conversation.tsx (tsx)
    • prompt-input.tsx (tsx)
    • tool.tsx (tsx)
    • reasoning.tsx (tsx)
    • message.tsx (tsx)
    • shimmer.tsx (tsx)
    • public (txt)
    • images (txt)
    • mouth of the seine, monet.jpg (image)
    • demo-thumbnail.png (image)
    • preview.png (image)
    • ATTRIBUTION.md (markdown)

    Loading code snippet…