{"repo":"fcppddl/next-ai-blog-cms","free":true,"listed":false,"github":"https://github.com/fcppddl/next-ai-blog-cms","clone":"git clone https://github.com/fcppddl/next-ai-blog-cms.git","description":"基于 Next.js App Router 的博客与后台一体化项目：公开前台、管理员 CMS、AI 写作助手，以及基于向量检索（RAG）的站内智能问答。","language":"TypeScript","stars":84,"topics":["ai","blog","cms","nextjs"],"license":null,"category":"saas-starters-boilerplates","readme_excerpt":"Next AI Blog CMS 基于 Next.js App Router 的博客与后台一体化项目：公开前台、管理员 CMS、AI 写作助手，以及基于向量检索（RAG）的站内智能问答。 --- 功能预览 以下为项目主要界面截图（资源位于仓库 public/ ），便于快速了解博客前台、后台 CMS、向量与 RAG 能力。 博客前台 访客端首页：文章列表、分类与阅读入口。 管理后台 登录后的管理总览：快捷入口与内容管理。 文章编辑（CMS） 后台撰写与编辑文章，集成 Markdown / 富文本与 AI 辅助写作。 向量管理 文章块嵌入与向量索引管理（需配置 Ollama、ChromaDB 等）。 RAG 智能问答 基于站内文章检索的对话式问答（流式输出）。 --- 技术栈 核心运行时 类别 技术 说明 ------ ------ ------ 框架 Next.js 16.2 App Router、服务端组件与 Route Handlers UI 库 React 19 客户端交互与组件 语言 TypeScript 5 全项目类型检查： npm run type-check 样式与组件 类别 技术 说明 ------ ------ ------ CSS Tailwind CSS v4 在 app/globals.css 中通过 @import \"tailwindcss\" 引入， 无 tailwind.config.ts ；主题用 @theme inline 组件 shadcn/ui 风格 + Radix components/ui/ ， cn() 来自 clsx + tailwind-merge 动效 tailwindcss-animate 、 tw-animate-css 过渡与动画类 排版 @tailwindcss/typography 文章 prose 样式 图标 lucide-react 图标集 字体 geist （npm 包） 不依赖 Google Fonts 在线加载 数据与认证 类别 技术 说明 ------ ------ ------ 数据库 SQLite 开发/单机默认，连接串见环境变量 ORM Prisma 6 prisma/schema.prisma ， postinstall 会执行 prisma generate 认证 NextAuth.js v4 Credentials + JWT； middleware 保护 /admin 与 /api/admin/ 密码 bcryptjs 登录密码哈希比对 内容与编辑器 类别 技术 说明 ------ ------ ------ 后台文章编辑 Tiptap 3 + tiptap-markdown components/admin/tiptap-editor.tsx ，Markdown 与富文本流转 Markdown 展示 react-markdown 、 remark-gfm 、 rehype-highlight 前台文章渲染；代码高亮（ highlight.js ）、支持 Mermaid 表单 / 校验 react-hook-form 、 zod 、 @hookform/resolvers 后台表单 AI 与向量（可选能力） 类别 技术 说明 ------ ------ ------ 大模型 OpenAI 兼容对话 API 通过 OpenAI 兼容 SDK （ openai 包）调用；密钥与地址由 CHAT API KEY 、 CHAT BASE URL 、 CHAT MODEL 配","default_branch":null,"files":null,"tree":[],"storefront":"/r/fcppddl","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/fcppddl/next-ai-blog-cms/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}