diff --git a/.env b/.env new file mode 100644 index 0000000..1cf30d6 --- /dev/null +++ b/.env @@ -0,0 +1,6 @@ +SITE_NAME=QukaAI +SITE_URL=https://quka.ai +CLOUD_SITE_URL=https://cloud.quka.ai +XIAOHONGSHU_LINK=https://www.xiaohongshu.com/user/profile/638bf78a000000001f01d0e6 +DISCORD_LINK=https://discord.gg/YGrbmbCVRF +GITHUB_LINK=https://github.com/quka-ai/quka-ai \ No newline at end of file diff --git a/README.md b/README.md index a610a46..56555fa 100644 --- a/README.md +++ b/README.md @@ -1,26 +1 @@ -# brew-docs - -This is a Next.js application generated with -[Create Fumadocs](https://github.com/fuma-nama/fumadocs). - -Run development server: - -```bash -npm run dev -# or -pnpm dev -# or -yarn dev -``` - -Open http://localhost:3000 with your browser to see the result. - -## Learn More - -To learn more about Next.js and Fumadocs, take a look at the following -resources: - -- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js - features and API. -- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. -- [Fumadocs](https://fumadocs.vercel.app) - learn about Fumadocs +# QukaAI Docs \ No newline at end of file diff --git a/content/docs/info/base-usage.mdx b/content/docs/info/base-usage.mdx index 69dab66..d9f8dbc 100644 --- a/content/docs/info/base-usage.mdx +++ b/content/docs/info/base-usage.mdx @@ -3,7 +3,7 @@ title: 基础功能 description: 了解如何使用基础功能 --- -在设计上,{process.env.siteName}的数据组织结构分为两级,空间 -> 资源类型。 +在设计上,{process.env.SITE_NAME}的数据组织结构分为两级,空间 -> 资源类型。 ## 数据结构 diff --git a/content/docs/info/index.mdx b/content/docs/info/index.mdx index 9a4c675..89dcacb 100644 --- a/content/docs/info/index.mdx +++ b/content/docs/info/index.mdx @@ -2,21 +2,21 @@ title: 入门 --- -# 欢迎使用 {process.env.siteName} +# 欢迎使用 {process.env.SITE_NAME} 快速构建个人第二“大脑” -{process.env.siteName} 是一个基于 LLM(大语言模型) 实现的赛博记忆应用,希望能够借此扩容 个人“记忆”。 +{process.env.SITE_NAME} 是一个基于 LLM(大语言模型) 实现的赛博记忆应用,希望能够借此扩容 个人“记忆”。 提供的功能包括 记忆碎片的录入、基于 LLM 的记忆问答、日记(工作日志)、生活管家 等功能。 ## 设计理念 -将 {process.env.siteName} 想象成一个无尽的黑洞,将有用的记忆点、知识碎片随便往里丢,不用操心记忆被如何存放在哪里,在需要使用时一问便知。 +将 {process.env.SITE_NAME} 想象成一个无尽的黑洞,将有用的记忆点、知识碎片随便往里丢,不用操心记忆被如何存放在哪里,在需要使用时一问便知。 - UI 符合 C 端用户交互逻辑,做到开箱即用 - API 可以满足企业用户构建知识库问答体系 -## 为什么使用{process.env.siteName}? +## 为什么使用{process.env.SITE_NAME}? 生活中,无论线上还是线下,经常会遇到一些琐碎的“记忆” @@ -29,7 +29,7 @@ title: 入门 比如作者在编写该文档前,调研了好几个开源文档建设工具,并为每个文档工具记录了一份“记忆” ![文档建设工具记忆截图](/文档建设工具记忆截图.png) -在回顾时只需要向{process.env.siteName}提问 “我都记录了哪些文档建设工具?”,便可以得到简单的总结: +在回顾时只需要向{process.env.SITE_NAME}提问 “我都记录了哪些文档建设工具?”,便可以得到简单的总结: ![回忆文档建设工具Demo.png](/回忆文档建设工具Demo.png) ## 与笔记软件有什么不同? @@ -38,6 +38,6 @@ title: 入门 一篇记录了“XX 城市家具博览会”的内容,在搜索时我们往往会把它记成展览或会展,但无论我们搜索“展览”还是“会展”它都不会出现,除非你想到它是“博览会”,这就是传统笔记软件的硬伤,当我们记忆的内容越来越多,通过关键字匹配越来越难满足我们快速搜索的需求。 -而{process.env.siteName}借助 LLM 技术,让大语言模型理解你的需求,通过复杂的 LLM 工作流即可实现“同义”内容的搜索,再结合大语言模型的推理能力,使它可以像真实的人工助理一样来回答你的问题。 +而{process.env.SITE_NAME}借助 LLM 技术,让大语言模型理解你的需求,通过复杂的 LLM 工作流即可实现“同义”内容的搜索,再结合大语言模型的推理能力,使它可以像真实的人工助理一样来回答你的问题。 ![](/公园场景Demo.png) diff --git a/content/docs/info/journal.mdx b/content/docs/info/journal.mdx index 834234a..9d79a44 100644 --- a/content/docs/info/journal.mdx +++ b/content/docs/info/journal.mdx @@ -3,7 +3,7 @@ title: 日志(Journal) description: 快速记录每日生活与工作中的草稿 --- -日志功能的出现,是为了完善 {process.env.siteName} 作为“个人助理”的职能。 +日志功能的出现,是为了完善 {process.env.SITE_NAME} 作为“个人助理”的职能。 一句话总结就是,记录比较临时的内容。 日志好比是用户的日记本,草稿本。可以快速潦草的将今日待办或今日已完成的工作内容进行记录,在每天结束时可以通过 工作助理 Agent 来进行总结,或人工整理。 diff --git a/next.config.mjs b/next.config.mjs index 9fe9026..e3d81b9 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -8,11 +8,7 @@ const config = { output: 'standalone', images: { unoptimized: true - }, - env: { - siteName: '极核', - siteURL: 'https://jihe.pro' - }, + } }; export default withMDX(config); diff --git a/package-lock.json b/package-lock.json index 8f8e747..556bb4e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8494,6 +8494,96 @@ "type": "github", "url": "https://github.com/sponsors/wooorm" } + }, + "node_modules/@next/swc-darwin-arm64": { + "version": "15.1.7", + "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-15.1.7.tgz", + "integrity": "sha512-hPFwzPJDpA8FGj7IKV3Yf1web3oz2YsR8du4amKw8d+jAOHfYHYFpMkoF6vgSY4W6vB29RtZEklK9ayinGiCmQ==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-darwin-x64": { + "version": "15.1.7", + "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-15.1.7.tgz", + "integrity": "sha512-2qoas+fO3OQKkU0PBUfwTiw/EYpN+kdAx62cePRyY1LqKtP09Vp5UcUntfZYajop5fDFTjSxCHfZVRxzi+9FYQ==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-linux-arm64-gnu": { + "version": "15.1.7", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-15.1.7.tgz", + "integrity": "sha512-sKLLwDX709mPdzxMnRIXLIT9zaX2w0GUlkLYQnKGoXeWUhcvpCrK+yevcwCJPdTdxZEUA0mOXGLdPsGkudGdnA==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-linux-arm64-musl": { + "version": "15.1.7", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-15.1.7.tgz", + "integrity": "sha512-zblK1OQbQWdC8fxdX4fpsHDw+VSpBPGEUX4PhSE9hkaWPrWoeIJn+baX53vbsbDRaDKd7bBNcXRovY1hEhFd7w==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-win32-arm64-msvc": { + "version": "15.1.7", + "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-15.1.7.tgz", + "integrity": "sha512-LDnj1f3OVbou1BqvvXVqouJZKcwq++mV2F+oFHptToZtScIEnhNRJAhJzqAtTE2dB31qDYL45xJwrc+bLeKM2Q==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-win32-x64-msvc": { + "version": "15.1.7", + "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-15.1.7.tgz", + "integrity": "sha512-dC01f1quuf97viOfW05/K8XYv2iuBgAxJZl7mbCKEjMgdQl5JjAKJ0D2qMKZCgPWDeFbFT0Q0nYWwytEW0DWTQ==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10" + } } } } diff --git a/src/app/(home)/layout.tsx b/src/app/(home)/layout.tsx index 4853b78..15588c2 100644 --- a/src/app/(home)/layout.tsx +++ b/src/app/(home)/layout.tsx @@ -19,7 +19,7 @@ function Footer() {