Go to file
Yifei Zhang 76db385d6d fix: styles and store version number 2023-03-21 17:16:36 +00:00
.vscode feat: add basic ui 2023-03-10 01:01:40 +08:00
app fix: styles and store version number 2023-03-21 17:16:36 +00:00
public feat: add favicon 2023-03-10 01:16:20 +08:00
static fix: styles and store version number 2023-03-21 17:16:36 +00:00
.eslintrc.json
.gitignore feat: add stream support 2023-03-11 20:54:24 +08:00
.gitpod.yml fix: styles and mobile ux 2023-03-15 03:54:14 +00:00
README.md feat: reduce first load js size from 500kb to 85kb 2023-03-20 15:11:04 +00:00
next.config.js feat: add tight border layout 2023-03-13 03:21:48 +08:00
package-lock.json
package.json feat: support code highlight and markdown gfm 2023-03-20 06:06:29 +00:00
tsconfig.json
yarn.lock feat: support code highlight and markdown gfm 2023-03-20 06:06:29 +00:00

README.md

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

API routes can be accessed on http://localhost:3000/api/hello. This endpoint can be edited in pages/api/hello.ts.

The pages/api directory is mapped to /api/*. Files in this directory are treated as API routes instead of React pages.

This project uses next/font to automatically optimize and load Inter, a custom Google Font.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

build log

raw

Route (app) Size First Load JS ┌ ○ / 449 kB 517 kB ├ λ /api/chat 0 B 0 B └ ℇ /api/chat-stream 0 B 0 B

  • First Load JS shared by all 68.8 kB ├ chunks/455-0a9fbb1180548580.js 66.4 kB ├ chunks/main-app-19b36671ec6a549e.js 204 B └ chunks/webpack-dd78d1150b6f4f4a.js 2.15 kB

Route (pages) Size First Load JS ─ ○ /404 179 B 84.6 kB

  • First Load JS shared by all 84.4 kB ├ chunks/main-303e01cd7449e20b.js 82.1 kB ├ chunks/pages/_app-907dedfd0e4177db.js 192 B

dynamic markdown

Route (app) Size First Load JS ┌ ○ / 64.2 kB 133 kB ├ λ /api/chat 0 B 0 B └ ℇ /api/chat-stream 0 B 0 B

  • First Load JS shared by all 68.9 kB ├ chunks/455-0a9fbb1180548580.js 66.4 kB ├ chunks/main-app-19b36671ec6a549e.js 204 B └ chunks/webpack-3b3874680bea117d.js 2.26 kB

Route (pages) Size First Load JS ─ ○ /404 179 B 84.7 kB

  • First Load JS shared by all 84.5 kB ├ chunks/main-303e01cd7449e20b.js 82.1 kB ├ chunks/pages/_app-907dedfd0e4177db.js 192 B └ chunks/webpack-3b3874680bea117d.js 2.26 kB

dynamic emoji

Route (app) Size First Load JS ┌ ○ / 16.1 kB 85 kB ├ λ /api/chat 0 B 0 B └ ℇ /api/chat-stream 0 B 0 B

  • First Load JS shared by all 68.9 kB ├ chunks/455-0a9fbb1180548580.js 66.4 kB ├ chunks/main-app-19b36671ec6a549e.js 204 B └ chunks/webpack-2bfaffd64d73d7a1.js 2.33 kB

Route (pages) Size First Load JS ─ ○ /404 179 B 84.8 kB

  • First Load JS shared by all 84.6 kB ├ chunks/main-303e01cd7449e20b.js 82.1 kB ├ chunks/pages/_app-907dedfd0e4177db.js 192 B └ chunks/webpack-2bfaffd64d73d7a1.js 2.33 kB