use-mcp/examples/chat-ui
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Glen Maddern 668ecaff91 Add animated rotating conical gradient background
- Create large 500% conical gradient with pastel color cycle
- Position gradient off-screen (-200% top/left) for smooth rotation
- Add 8s linear infinite rotation animation for fast testing
- Use ::before pseudo-element to avoid repainting main content
- Cycle through various pastel shades (pink, purple, blue, green, yellow, orange)
- Performance-optimized: only transforms, no gradient repainting
2025-06-20 20:46:24 +10:00
..
api Copying chat example across 2025-06-19 11:51:02 +10:00
e2e Copying chat example across 2025-06-19 11:51:02 +10:00
public Copying chat example across 2025-06-19 11:51:02 +10:00
src Add animated rotating conical gradient background 2025-06-20 20:46:24 +10:00
.gitignore Copying chat example across 2025-06-19 11:51:02 +10:00
.prettierrc Copying chat example across 2025-06-19 11:51:02 +10:00
AGENT.md Copying chat example across 2025-06-19 11:51:02 +10:00
eslint.config.js Copying chat example across 2025-06-19 11:51:02 +10:00
index.html Copying chat example across 2025-06-19 11:51:02 +10:00
package.json Copying chat example across 2025-06-19 11:51:02 +10:00
playwright.config.ts Copying chat example across 2025-06-19 11:51:02 +10:00
pnpm-lock.yaml MCP tool calling woo! 2025-06-19 14:07:28 +10:00
README.md Copying chat example across 2025-06-19 11:51:02 +10:00
tailwind.config.js Copying chat example across 2025-06-19 11:51:02 +10:00
tsconfig.app.json Copying chat example across 2025-06-19 11:51:02 +10:00
tsconfig.json Copying chat example across 2025-06-19 11:51:02 +10:00
tsconfig.node.json Copying chat example across 2025-06-19 11:51:02 +10:00
tsconfig.worker.json Copying chat example across 2025-06-19 11:51:02 +10:00
vite.config.ts Copying chat example across 2025-06-19 11:51:02 +10:00
wrangler.jsonc deployng to workers.dev for sharing 2025-06-20 17:00:39 +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)