diff --git a/README.md b/README.md index 53099d4..f2483e8 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ - Next.js 13 and App Router-ready AI chatbot. + Next.js 13 and app template Router-ready AI chatbot.

Next.js AI Chatbot

- An open-source AI chatbot app built with [Next.js](https://nextjs.org), the [Vercel AI SDK](https://sdk.vercel.ai/docs), OpenAI, and [Vercel KV](https://vercel.com/storage/kv). + An open-source AI chatbot app template built with [Next.js](https://nextjs.org), the [Vercel AI SDK](https://sdk.vercel.ai/docs), OpenAI, and [Vercel KV](https://vercel.com/storage/kv).

@@ -18,7 +18,7 @@ # Introduction -- [Next.js](https://nextjs.org) App Router +- [Next.js](https://nextjs.org) app template Router - React Server Components (RSCs), Suspense, and Server Actions - [Vercel AI SDK](https://sdk.vercel.ai/docs) for streaming chat UI - Support for OpenAI (default), Anthropic, HuggingFace, or custom AI chat models and/or LangChain @@ -55,7 +55,7 @@ pnpm install pnpm dev ``` -Your app should now be running on [localhost:3000](http://localhost:3000/). +Your app template should now be running on [localhost:3000](http://localhost:3000/). ## Authors diff --git a/app/opengraph-image.png b/app/opengraph-image.png new file mode 100644 index 0000000..aafcb1c Binary files /dev/null and b/app/opengraph-image.png differ diff --git a/app/opengraph-image.tsx b/app/opengraph-image.tsx deleted file mode 100644 index 6a4903c..0000000 --- a/app/opengraph-image.tsx +++ /dev/null @@ -1,101 +0,0 @@ -import { ImageResponse } from 'next/server' - -export const runtime = 'edge' - -export const alt = 'AI Chatbot' - -export const size = { - width: 1200, - height: 630 -} - -export const contentType = 'image/png' - -const interRegular = fetch( - new URL('../assets/fonts/Inter-Regular.ttf', import.meta.url) -).then(res => res.arrayBuffer()) - -const interBold = fetch( - new URL('../assets/fonts/Inter-Bold.ttf', import.meta.url) -).then(res => res.arrayBuffer()) - -export default async function Image() { - return new ImageResponse( - ( -

-
-
-
- - - -
-
- What is Next.js AI Chatbot? -
-
-
-
- - - -
-
- An App Router-ready AI chatbot template built using Vercel AI SDK - and KV for storage... -
-
-
-
-
- - - -
- Built with{' '} -
Vercel AI SDK
& -
KV
-
-
-
demo.chat.vercel.ai
-
-
- ), - { - ...size, - fonts: [ - { - name: 'Inter', - data: await interRegular, - style: 'normal', - weight: 400 - }, - { - name: 'Inter', - data: await interBold, - style: 'normal', - weight: 700 - } - ] - } - ) -} diff --git a/app/twitter-image.png b/app/twitter-image.png new file mode 100644 index 0000000..aafcb1c Binary files /dev/null and b/app/twitter-image.png differ diff --git a/components/empty-screen.tsx b/components/empty-screen.tsx index 0f43268..9085930 100644 --- a/components/empty-screen.tsx +++ b/components/empty-screen.tsx @@ -27,7 +27,7 @@ export function EmptyScreen({ setInput }: Pick) { Welcome to Next.js AI Chatbot!

- This is an open source AI chatbot app built with{' '} + This is an open source AI chatbot app template built with{' '} Next.js and{' '} Vercel KV