use-mcp/examples/chat-ui
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2025-06-10 17:11:27 +10:00
..
api moving examples around 2025-06-10 16:21:50 +10:00
e2e moving examples around 2025-06-10 16:21:50 +10:00
public moving examples around 2025-06-10 16:21:50 +10:00
src moving examples around 2025-06-10 16:21:50 +10:00
.gitignore moving examples around 2025-06-10 16:21:50 +10:00
.prettierrc moving examples around 2025-06-10 16:21:50 +10:00
AGENT.md moving examples around 2025-06-10 16:21:50 +10:00
eslint.config.js moving examples around 2025-06-10 16:21:50 +10:00
index.html moving examples around 2025-06-10 16:21:50 +10:00
package.json Inspector looking good 2025-06-10 17:11:27 +10:00
playwright.config.ts moving examples around 2025-06-10 16:21:50 +10:00
pnpm-lock.yaml moving examples around 2025-06-10 16:21:50 +10:00
README.md moving examples around 2025-06-10 16:21:50 +10:00
tailwind.config.js moving examples around 2025-06-10 16:21:50 +10:00
tsconfig.app.json moving examples around 2025-06-10 16:21:50 +10:00
tsconfig.json moving examples around 2025-06-10 16:21:50 +10:00
tsconfig.node.json moving examples around 2025-06-10 16:21:50 +10:00
tsconfig.worker.json moving examples around 2025-06-10 16:21:50 +10:00
vite.config.ts moving examples around 2025-06-10 16:21:50 +10:00
wrangler.jsonc moving examples around 2025-06-10 16:21:50 +10:00

AI chat template

An unofficial template for ⚛️ React ⨉ ⚡️ Vite ⨉ ⛅️ Cloudflare Workers AI.

Full-stack AI chat application using Workers for the APIs (using the Cloudflare vite-plugin) and Vite for the React application (hosted using Workers Static Assets). Provides chat functionality with Workers AI, stores conversations in the browser's IndexedDB, and uses ai-sdk, tailwindcss and workers-ai-provider.

Get started

Create the project using create-cloudflare:

npm create cloudflare@latest -- --template thomasgauvin/ai-chat-template

Run the project and deploy it:

cd <project-name>
npm install
npm run dev
npm run deploy

What's next?

  • Change the name of the package (in package.json)
  • Change the name of the worker (in wrangler.jsonc)