8000 GitHub - dawei1898/dw-chat-next: 一个接入 DeepSeek 大模型的极简 AI 对话页面. 由 Next.js 构建的全栈项目.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

dawei1898/dw-chat-next

Repository files navigation

DW Chat Next

一个接入 DeepSeek-V3、DeepSeek-R1 大模型的极简 AI 对话页面. 由 NextJS 15 构建的全栈项目.

演示地址:https://dw-chat-next.dw1898.top

效果图: demo1.png

主要技术:

1.DeepSeek-V3、DeepSeek-R1 LLM

2.React 19

3.NextJS 15

4.shadcn/ui

5.tailwind css

6.drizzle-orm

7.postgresSQL

项目结构

dw-chat-web-lite:纯前端版工程 Github:https://github.com/dawei1898/dw-chat-web-lite

dw-chat-web:前端工程 Github:https://github.com/dawei1898/dw-chat-web

dw-chat:后端工程 Github:https://github.com/dawei1898/dw-chat

dw-chat-next:next 全栈版工程 Github:https://github.com/dawei1898/dw-chat-next

初始化建表 SQL

/db/init-sql/init-ddl-postgres.sql

本地启动项目

安装依赖

npm install

启动项目

npm run dev

打开项目 http://localhost:3000

本项目用到的库

shadcn/ui官网 https://ui.shadcn.com

Icon 库 https://heroicons.com

安装 shadcn/ui

npx shadcn@latest init
npm install tw-animate-css

添加组件

npx shadcn@latest add label

安装 主题

npm install next-themes

安装 markdown-it

npm install markdown-it --save
npm install @types/markdown-it --save-dev

代码高亮

npm install highlight.js

高亮样式

import 'highlight.js/styles/atom-one-light.css';

复制

npm install clipboard-polyfill
npm install use-immer

客户端 Cookie

npm install js-cookie @types/js-cookie

PostgreSQL 数据库驱动

npm install pg
npm install --save-dev @types/pg

数据库连接工具 drizzle

npm install drizzle-orm

用于迁移和工具

npm install drizzle-kit --save-dev 

雪花算法

npm install snowflake-uid --save

openai 客户端

npm install openai

SSE 请求工具 fetch-event-source

npm install @microsoft/fetch-event-source
npm install swr

动画

npm install framer-motion

About

一个接入 DeepSeek 大模型的极简 AI 对话页面. 由 Next.js 构建的全栈项目.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0