diff --git a/public/mdImages/CleanShot2025-03-02at132359@2x.png b/public/mdImages/CleanShot2025-03-02at132359@2x.png new file mode 100644 index 0000000..5316070 Binary files /dev/null and b/public/mdImages/CleanShot2025-03-02at132359@2x.png differ diff --git a/public/mdImages/CleanShot2025-03-02at132451@2x.png b/public/mdImages/CleanShot2025-03-02at132451@2x.png new file mode 100644 index 0000000..e9a451f Binary files /dev/null and b/public/mdImages/CleanShot2025-03-02at132451@2x.png differ diff --git a/public/mdImages/CleanShot2025-03-02at140751@2x.png b/public/mdImages/CleanShot2025-03-02at140751@2x.png new file mode 100644 index 0000000..40cc50d Binary files /dev/null and b/public/mdImages/CleanShot2025-03-02at140751@2x.png differ diff --git a/public/mdImages/IMG-2025-02-27-A057E6D98847314E2A2742FB44382803.png b/public/mdImages/IMG-2025-02-27-A057E6D98847314E2A2742FB44382803.png new file mode 100644 index 0000000..1366271 Binary files /dev/null and b/public/mdImages/IMG-2025-02-27-A057E6D98847314E2A2742FB44382803.png differ diff --git a/public/mdImages/IMG-2025-02-27-C4F896C16386AFFB89F1ED856D4D8319.png b/public/mdImages/IMG-2025-02-27-C4F896C16386AFFB89F1ED856D4D8319.png new file mode 100644 index 0000000..57d9ed4 Binary files /dev/null and b/public/mdImages/IMG-2025-02-27-C4F896C16386AFFB89F1ED856D4D8319.png differ diff --git a/public/mdImages/IMG-6819ED4AC0DA9B9CF3D106BE71AAADD3.png b/public/mdImages/IMG-6819ED4AC0DA9B9CF3D106BE71AAADD3.png new file mode 100644 index 0000000..6882319 Binary files /dev/null and b/public/mdImages/IMG-6819ED4AC0DA9B9CF3D106BE71AAADD3.png differ diff --git a/public/mdImages/IMG-88633EA7BDD10531AFF07602F1A5D072.png b/public/mdImages/IMG-88633EA7BDD10531AFF07602F1A5D072.png new file mode 100644 index 0000000..828163a Binary files /dev/null and b/public/mdImages/IMG-88633EA7BDD10531AFF07602F1A5D072.png differ diff --git a/public/mdImages/IMG-CFC7256A2D7BC1D6C014F1BED8A455CB.png b/public/mdImages/IMG-CFC7256A2D7BC1D6C014F1BED8A455CB.png new file mode 100644 index 0000000..85730fe Binary files /dev/null and b/public/mdImages/IMG-CFC7256A2D7BC1D6C014F1BED8A455CB.png differ diff --git a/public/mdImages/IMG-pip运行的时候如何设置环境变量-CDC2BAD93093406D70B0F9A6F01B86BF.png b/public/mdImages/IMG-pip运行的时候如何设置环境变量-CDC2BAD93093406D70B0F9A6F01B86BF.png new file mode 100644 index 0000000..3c737f1 Binary files /dev/null and b/public/mdImages/IMG-pip运行的时候如何设置环境变量-CDC2BAD93093406D70B0F9A6F01B86BF.png differ diff --git a/public/mdImages/Pasted image 20250226143342.png b/public/mdImages/Pasted image 20250226143342.png new file mode 100644 index 0000000..3c84c22 Binary files /dev/null and b/public/mdImages/Pasted image 20250226143342.png differ diff --git a/public/mdImages/Pasted image 20250226143542.png b/public/mdImages/Pasted image 20250226143542.png new file mode 100644 index 0000000..e0da7a2 Binary files /dev/null and b/public/mdImages/Pasted image 20250226143542.png differ diff --git a/public/mdImages/Pasted image 20250226143633.png b/public/mdImages/Pasted image 20250226143633.png new file mode 100644 index 0000000..5f08a48 Binary files /dev/null and b/public/mdImages/Pasted image 20250226143633.png differ diff --git a/public/mdImages/Pasted image 20250226143746.png b/public/mdImages/Pasted image 20250226143746.png new file mode 100644 index 0000000..3b17617 Binary files /dev/null and b/public/mdImages/Pasted image 20250226143746.png differ diff --git a/public/mdImages/Pasted image 20250228170840.png b/public/mdImages/Pasted image 20250228170840.png new file mode 100644 index 0000000..135cd54 Binary files /dev/null and b/public/mdImages/Pasted image 20250228170840.png differ diff --git a/public/mdImages/Pasted image 20250228170859.png b/public/mdImages/Pasted image 20250228170859.png new file mode 100644 index 0000000..f09a824 Binary files /dev/null and b/public/mdImages/Pasted image 20250228170859.png differ diff --git a/public/mdImages/Pasted image 20250302133815.png b/public/mdImages/Pasted image 20250302133815.png new file mode 100644 index 0000000..e6afae1 Binary files /dev/null and b/public/mdImages/Pasted image 20250302133815.png differ diff --git a/public/mdImages/Pasted image 20250302135108.png b/public/mdImages/Pasted image 20250302135108.png new file mode 100644 index 0000000..2c82503 Binary files /dev/null and b/public/mdImages/Pasted image 20250302135108.png differ diff --git a/public/mdImages/mermaid-diagram-1740894547276.png b/public/mdImages/mermaid-diagram-1740894547276.png new file mode 100644 index 0000000..83d81df Binary files /dev/null and b/public/mdImages/mermaid-diagram-1740894547276.png differ diff --git a/src/content/post/2024-W03-AI专题.md b/src/content/note/2024-W03-AI专题.md similarity index 98% rename from src/content/post/2024-W03-AI专题.md rename to src/content/note/2024-W03-AI专题.md index cf6b24d..ef7a152 100644 --- a/src/content/post/2024-W03-AI专题.md +++ b/src/content/note/2024-W03-AI专题.md @@ -1,34 +1,35 @@ --- +toAstro: true +astroType: null +published: true +toWexin: null +toJuejin: null +toZhihu: null title: 2024-W03-AI专题 slug: 2024-W03-ai-topics -published: true category: 周报 description: >- 本期AI专题聚焦于2024年第三周的AI领域最新动态,包括Google推出的Circle to Search功能,智谱AI发布的国产大模型GLM4及其GLMs商店,元象开源的XVERSE-Long-256K模型,以及OpenAI对GPT Builders文档的完善。此外,还介绍了彭博推出的IB Connect服务,以及多个AI应用如WhisperSpeech和AutoGen Studio。推荐阅读部分涵盖了AI创业案例、GPT-4的技术分析、Prompt工程指南等内容,为读者提供了丰富的AI知识和应用实例。 -date: '2024-06-26T10:26:54.033Z' +date: 2024-06-26T10:26:54.033Z rinId: 89 finished: true tags: - - model - - text - - prompt - - RAG - - Q&A - AIGC - - scene application + - application + - model + - prompt + - Q&A + - RAG - report - research - - study - - application scene - scene - - application -toAstro: true -astroType: post -date_created: 2025-01-04T03:34:08.000Z -date_modified: 2025-02-19T17:54:54.000Z + - study + - text +date_created: 20250104 +date_modified: 20250228 --- [2024-W03](/posts/2024-W03) diff --git a/src/content/post/2024-W03-应用推荐篇.md b/src/content/note/2024-W03-应用推荐篇.md similarity index 95% rename from src/content/post/2024-W03-应用推荐篇.md rename to src/content/note/2024-W03-应用推荐篇.md index 6a34f5a..9a91694 100644 --- a/src/content/post/2024-W03-应用推荐篇.md +++ b/src/content/note/2024-W03-应用推荐篇.md @@ -1,7 +1,12 @@ --- +toAstro: true +astroType: null +published: true +toWexin: null +toJuejin: null +toZhihu: null title: 2024-W03-应用推荐篇 slug: 2024-W03-application-recommendations -published: true category: 周报 description: >- 2024年第3周应用推荐包括:1. @@ -11,19 +16,17 @@ description: >- [outline](),专为成长型团队设计的知识库应用,支持实时协作和Markdown,官网为[getoutline.com]()。4. 一个帮助用户一次性提交到100多个目录站的服务,应用地址为[affordhunt.com]()。5. [whimsical](),一款画图工具,详细信息可通过推特链接获取。这些应用覆盖了从输入法优化到团队协作工具,再到图形设计的多方面需求。 -date: '2024-06-26T10:26:54.034Z' +date: 2024-06-26T10:26:54.034Z rinId: 90 finished: true tags: - - 应用推荐 + - 画图 - 目录站 - 输入法 + - 应用推荐 - 知识库 - - 画图 -toAstro: true -astroType: post -date_created: 2025-01-04T03:34:08.000Z -date_modified: 2025-02-19T17:54:54.000Z +date_created: 20250104 +date_modified: 20250228 --- # 2024-W03- 应用推荐篇 diff --git a/src/content/post/2024-W03-推荐阅读篇.md b/src/content/note/2024-W03-推荐阅读篇.md similarity index 97% rename from src/content/post/2024-W03-推荐阅读篇.md rename to src/content/note/2024-W03-推荐阅读篇.md index 38616eb..58d1cb7 100644 --- a/src/content/post/2024-W03-推荐阅读篇.md +++ b/src/content/note/2024-W03-推荐阅读篇.md @@ -1,7 +1,12 @@ --- +toAstro: true +astroType: null +published: true +toWexin: null +toJuejin: null +toZhihu: null title: 2024-W03-推荐阅读篇 slug: 2024-W03-recommended-readings -published: true category: 周报 description: >- 本周推荐阅读包括多个领域的精选内容:从[r/SideProject]()的创意项目分享,到[推荐一本行动之书,醍醐灌顶]()的启发性书籍推荐;从[玩转苹果流量生态:解锁App流量新密码]()的市场策略,到[科技爱好者周刊(第 @@ -9,18 +14,16 @@ description: >- 期):蓝色指示灯的解决方案]()的技术讨论。此外,还有关于[fuxiang对于【devv.ai团队分享的RAG原理】的再整理]()的深度分析,以及[HackerNews 趋势, Github 趋势, Google 趋势]()的最新动态。这些内容覆盖了技术、市场、个人成长等多个方面,适合各类读者深入探索。 -date: '2024-06-26T10:26:54.035Z' +date: 2024-06-26T10:26:54.035Z rinId: 91 finished: true tags: - - sideproject + - 网络安全,信息聚合 - action书 - App流量生态 - - 网络安全,信息聚合 -toAstro: true -astroType: post -date_created: 2025-01-04T03:34:08.000Z -date_modified: 2025-02-19T17:54:54.000Z + - sideproject +date_created: 20250104 +date_modified: 20250228 --- # 2024-W03- 推荐阅读篇 diff --git a/src/content/post/2024-W03-设计篇.md b/src/content/note/2024-W03-设计篇.md similarity index 93% rename from src/content/post/2024-W03-设计篇.md rename to src/content/note/2024-W03-设计篇.md index 5e6f2b3..605a009 100644 --- a/src/content/post/2024-W03-设计篇.md +++ b/src/content/note/2024-W03-设计篇.md @@ -1,23 +1,26 @@ --- +toAstro: true +astroType: null +published: true +toWexin: null +toJuejin: null +toZhihu: null title: 2024-W03-设计篇 slug: 2024-W03-design -published: true category: 周报 description: >- 本周设计资源精选包括:AIDesign提供免费Logo设计服务;嘉文钱分享Blender和3D相关教程及作品;阿文推荐可商用的德拉黑体字体;svghub提供免费SVG素材;Orange Free Sounds提供免费声音效果、音乐和循环;以及通过Framer赚钱的方法。这些资源涵盖了设计、字体、素材和创收等多个方面,为设计师和创意工作者提供了丰富的工具和灵感。 -date: '2024-06-26T10:26:54.035Z' +date: 2024-06-26T10:26:54.035Z rinId: 93 finished: true tags: - 设计logo - blender - svg -toAstro: true -astroType: post -date_created: 2025-01-04T03:34:08.000Z -date_modified: 2025-02-19T17:54:54.000Z +date_created: 20250104 +date_modified: 20250228 --- # 2024-W03- 设计篇 diff --git a/src/content/note/pip安装和运行openwebui.md b/src/content/note/pip安装和运行openwebui.md new file mode 100644 index 0000000..3b100de --- /dev/null +++ b/src/content/note/pip安装和运行openwebui.md @@ -0,0 +1,100 @@ +--- +toAstro: true +astroType: null +published: null +toWexin: null +toJuejin: null +toZhihu: null +date: null +tags: [] +category: null +slug: null +date_created: 20250226 +date_modified: 20250228 +--- + + + +运行 openwebui 的时候除了 docker 部署之外,还有一种方法是 pip 部署 + +[GitHub - open-webui/open-webui: User-friendly AI Interface (Supports Ollama, OpenAI API, ...)]() + +![IMG-pip运行的时候如何设置环境变量-CDC2BAD93093406D70B0F9A6F01B86BF](/mdImages/IMG-pip运行的时候如何设置环境变量-CDC2BAD93093406D70B0F9A6F01B86BF.png) + + + +## 环境变量缺失无法将“open-webui”项识别为 cmdlet、函数、脚本文件或可运行程序的名称 + +如果报错: + +``` plaintext +open-webui serve +open-webui : 无法将“open-webui”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果包括路径,请 +确保路径正确,然后再试一次。 +所在位置 行:1 字符: 1 ++ open-webui serve ++ ~~~~~~~~~~ + + CategoryInfo : ObjectNotFound: (open-webui:String) [], CommandNotFoundException + + FullyQualifiedErrorId : CommandNotFoundException + +``` + +这是因为没有将 python 对应的 Scripts 文件夹路径添加到环境变量中 + +1. 如何查看路径在哪里 +在命令行中运行这一段 + +``` shell +pip show requests +``` + +![Pasted image 20250226143342](/mdImages/Pasted image 20250226143342.png) + +能够看到这里面的 location, 所以实际的 script 的路径就是这个(site-packges 替换为 Scripts) + +``` shell +C:\Users\turbo\AppData\Roaming\Python\Python312\Scripts +``` + +把这个路径复制一下或者暂存到一个地方,我们需要把它保存在环境变量里面去(一般 windows 出现这个问题比较多,所以只写了对应的教程) + +### 如何编辑环境变量 + +![Pasted image 20250226143542](/mdImages/Pasted image 20250226143542.png) + +搜索环境变量,进入编辑窗口 + +![Pasted image 20250226143633](/mdImages/Pasted image 20250226143633.png) + +然后编辑系统变量把刚刚的那段路径添加到里面就可以了 + +![Pasted image 20250226143746](/mdImages/Pasted image 20250226143746.png) + +然后再打开一个命令行运行 + +``` +openwebui serve +``` + +就不会报找不到了 + + + +## 启动后长时间白屏的最终的解决方法 + +然后在 [openwebui长时间白屏解决方案#现象描述](/posts/openwebui-long-loading-white-screen-solution#现象描述) 中有提到错误的原因在于当前环境无法连接到 openai。在使用 pip 安装的 packages 的时候,需要设置 ENABLE_OPENAI_API 的环境变量,具体做法如下: + +1. 在命令行中设置当前运行的环境变量 +在 Linux/macOS 中: +`ENABLE_OPENAI_API=0 open-webui serve` + +在 Windows PowerShell 中: +`$env:ENABLE_OPENAI_API=0; open-webui serve` + +在 Windows CMD 中: +`set ENABLE_OPENAI_API=0 && open-webui serve` + +--- + +(题外话)如果你需要从. Env 读取环境变量那么,参考这个格式来写, +[Using .env Files for Environment Variables in Python Applications - DEV Community]() diff --git a/src/content/note/使用大模型处理 git diff 生成 commit msg.md b/src/content/note/使用大模型处理 git diff 生成 commit msg.md new file mode 100644 index 0000000..b89bc6e --- /dev/null +++ b/src/content/note/使用大模型处理 git diff 生成 commit msg.md @@ -0,0 +1,67 @@ +--- +toAstro: true +astroType: null +published: null +toWexin: null +toJuejin: null +toZhihu: null +description: 使用大模型处理 `git diff` 生成 commit msg 的流程 +date: 20250228 +tags: + - 大模型 + - Git +category: null +slug: use-llm-to-generate-commit-message-from-git-diff +date_created: 20250228 +date_modified: 20250228 +--- + +使用大模型处理 `git diff` 生成 commit msg 的流程如下: + +1. **获取 git diff 信息:** + * 可以使用 `git diff > git.diff` 将 diff 信息写入文件。 + * 可以使用 `git diff | clip` (Windows) 将 diff 信息复制到剪贴板。 +2. **准备提示词:** + * 提示词需要包含 commit 规则 [^1]。例子如下: + + ``` + 用户会输入git diff,请你生成commit msg,可以根据更改内容生成一些备注 + + 我的commit规则: + module.exports = { + rules: { + 'type-enum': [ + 2, + 'always', + [ + 'feat', // 新功能 + 'fix', // 修复 + 'docs', // 文档变更 + 'style', // 代码格式 + 'refactor', // 重构 + 'perf', // 性能优化 + 'test', // 增加测试 + 'chore', // 构建过程或辅助工具的变动 + 'revert', // 回退 + 'build', // 打包 + ], + ], + 'type-case': [2, 'always', 'lower-case'], + 'type-empty': [2, 'never'], + 'scope-empty': [0], + 'scope-case': [0], + 'subject-full-stop': [0], + 'subject-case': [0], + 'header-max-length': [0], + }, + }; + ``` + +3. **发送给大模型:** 将 `git diff` 信息和提示词一起发送给大模型,获取 commit msg。 +4. **使用 Cherry Studio (可选):** + * 可以使用 Cherry Studio 创建 commit msg 生成助手 + +![Pasted image 20250228170840](/mdImages/Pasted image 20250228170840.png) +具体效果 + +![Pasted image 20250228170859](/mdImages/Pasted image 20250228170859.png) diff --git a/src/content/post/2024-W03-编程篇.md b/src/content/post/2024-W03-编程篇.md index ee54ad8..17c1416 100644 --- a/src/content/post/2024-W03-编程篇.md +++ b/src/content/post/2024-W03-编程篇.md @@ -1,8 +1,13 @@ --- +toAstro: true +astroType: post +published: true +toWexin: null +toJuejin: null +toZhihu: null title: 2024-W03-编程篇 category: 周报 slug: 2024-W03-programming -published: true description: >- 本篇内容涵盖了多个编程相关的资源和工具,包括头像生成网站、rabbit it图片生成应用、AI生成情绪板、开源用户界面元素、1000个令人激动的网站等。此外,还介绍了如remotion视频制作工具、TypeScript-Node-Starter示例、Konva @@ -12,21 +17,19 @@ date: '2024-07-11T02:17:53.450Z' rinId: 92 finished: true tags: - - css - - html - - javascript - - docker - - cloudflare - ant game engine - - ipx - - packery - bento - - node + - cloudflare + - css + - docker - gameboy style portfolio -toAstro: true -astroType: post -date_created: 2025-01-04T03:34:08.000Z -date_modified: 2025-02-19T17:54:54.000Z + - html + - ipx + - javascript + - node + - packery +date_created: 20250104 +date_modified: 20250228 --- # 2024-W03 编程篇 diff --git a/src/content/post/2024-W03.md b/src/content/post/2024-W03.md index ccd6f57..e1d372b 100644 --- a/src/content/post/2024-W03.md +++ b/src/content/post/2024-W03.md @@ -1,8 +1,13 @@ --- +toAstro: true +astroType: post +published: true +toWexin: null +toJuejin: null +toZhihu: null title: 2024-W03 slug: 2024-W03 category: 周报 -published: true description: >- 本内容涵盖了多个应用推荐和开发相关资源,包括cmd-wrapped、Input Source Pro、outline知识库应用等,以及开发工具如头像生成网站和Moodboard Creator。此外,还介绍了多个技术博客和教程,如REST API @@ -12,32 +17,30 @@ date: '2024-07-11T02:17:53.451Z' rinId: 94 finished: true tags: - - node.js - - java - - react - - typescript - - javascript - - flutter - - css - - html - - open-source - - github - - twitter - - n8n - - fuxiang - - devv.ai - - react-native - - linktree - - ffmpeg - - hackernews - chase-trend -toAstro: true -astroType: post -date_created: 2025-01-04T03:34:08.000Z -date_modified: 2025-02-19T17:54:54.000Z + - css + - devv.ai + - ffmpeg + - flutter + - fuxiang + - github + - hackernews + - html + - java + - javascript + - linktree + - n8n + - node.js + - open-source + - react + - react-native + - twitter + - typescript +date_created: 20250104 +date_modified: 20250228 --- -# 2024-W03 +# 2024-W03 ## 应用推荐 diff --git a/src/content/post/2025-W08.md b/src/content/post/2025-W08.md index 2f3a28c..60000db 100644 --- a/src/content/post/2025-W08.md +++ b/src/content/post/2025-W08.md @@ -1,6 +1,7 @@ --- toAstro: true astroType: post +published: true toWexin: null toJuejin: null toZhihu: null @@ -16,13 +17,12 @@ tags: - tree-shaking - wasm finished: true -published: true category: 周报 slug: 2025-W08 description: >- 本周的产出涵盖了多个领域的内容,包括博客上发布了关于RSSHub新增AsianFanfics路由和解决OpenWebUI长时间白屏的问题。同时,备忘录中记录了Cloudflare规则配置、Vite环境变量以及关于Hono框架的使用等技术分享。此外,还进行了对Web端DICOM压缩的调研,探索了pydicom和gdcm两个库的使用方式。同时,个人反思与日常生活中,感慨与多年未见的同人创作者重新互动,并且体验了私教训练带来的身体挑战。 date_created: 20250216 -date_modified: 20250225 +date_modified: 20250228 --- diff --git a/src/content/post/2025-W09.md b/src/content/post/2025-W09.md new file mode 100644 index 0000000..00ba5e0 --- /dev/null +++ b/src/content/post/2025-W09.md @@ -0,0 +1,208 @@ +--- +toAstro: true +astroType: post +published: true +toWexin: null +toJuejin: null +toZhihu: null +title: 2025-W09 工作流升级 +date: 2025-03-02T00:00:00.000Z +author: KazooTTT +tags: + - 笔记软件 + - 写作 + - 周报 + - gingko + - obsidian +finished: false +category: 周报 +slug: 2025-W09 +description: >- + 本周主要对工作流进行了多项优化,包括引入Thino插件管理碎片化笔记,使用Lineage插件实现Gingko式结构化写作,以及通过Milanote梳理内容输出流程。同时,探索了大模型在生成git + commit message中的应用,通过结合git diff和大模型规则,提高了代码提交的效率。此外,还推荐了Cherry + Studio,以提升大模型使用体验。 +date_created: 20250228 +date_modified: 20250302 +--- + + + +日期范围:2025-02-24 - 2025-03-02 + + + +## 1. 工作流的变化 + + + +### 1.1. 内容记录的位置 + +之前更换了 astro 的 template 之后,内容的 type 分为了 post 和 note 这两类,其中 post 主要指的是比较长和花心思写了的内容,而 note 就是一些比较碎片化的记录。 + +我之前的内容输出是通过 quick add + template 快速添加一个文档来实现的,所以即使是碎片化的内容,也是单独的文档。 +![CleanShot2025-03-02at132359@2x](/mdImages/CleanShot2025-03-02at132359@2x.png) + +也就是下图这种。 + +![CleanShot2025-03-02at132451@2x](/mdImages/CleanShot2025-03-02at132451@2x.png) + +所以只能自己去写 dataview 来方便检索。 + +不过这周又重新使用了 [thino]() 插件,这个插件与 flomo 或者开源的 memo 类似,它把碎片化的记录写入到 obsidian 的日记中,这样既可以在插件中进行单独查看,也可以在日记中查看。 + +然后当需要发布到其他平台的时候,才会把内容单独提取到一个文档里面,再修改 frontmatter 的信息。 + +### 1.2. 内容记录的方式 + +然后内容记录的方式也发生了改变,之前在 [Gingko Writer:在 AI 随便生成 20 万字的时代,“生而为人”该如何写作?]() 这篇博文中第一次了解到 Gingko 这个软件。 + +它使用树桩的视图来展示笔记内部的层级。让写作者专注于当前的这一个小节,从而提升输出的效率和专注率。 + +我体验了一下,觉得确实有效果。不过我的主力编辑器还是 milanote + obsidian + vscode like ide, 不打算再使用其他的笔记软件记录增加管理负担,所以在体验之后就没有下文了。 + +不过有一天心血来潮在网络上搜索了 obsidian + Gingko 的关键词,在论坛中搜索到了 [GitHub - ycnmhd/obsidian-lineage: Gingko-like interface in obsidian]() 这个插件。 + +它的完成度很高,在 obsidian 中实现了和 Gingko 一样的效果。 + +大致的介绍如下: + +- 类 Gingko 视图:提供了一种类似 Gingko 的编辑界面,使得在 Obsidian 中进行结构化的 Markdown 编辑更加直观。适合编写长文的适合使用。 + - ![IMG-CFC7256A2D7BC1D6C014F1BED8A455CB](/mdImages/IMG-CFC7256A2D7BC1D6C014F1BED8A455CB.png) +- 大纲视图:支持根据层级展示不同模块卡片。 + - ![IMG-6819ED4AC0DA9B9CF3D106BE71AAADD3](/mdImages/IMG-6819ED4AC0DA9B9CF3D106BE71AAADD3.png) +- 支持自定义键盘快捷键,快速创建、删除、编辑卡片 + +在 obsidian 的第三方插件中可以直接搜索到 lineage + +![IMG-88633EA7BDD10531AFF07602F1A5D072](/mdImages/IMG-88633EA7BDD10531AFF07602F1A5D072.png) + +#obsidian #gingko #笔记软件 #写作 + +在安装后,lineage 已经成为了我经常使用的插件。 + +不过它默认的快捷键不太符合我的使用习惯。我修改了一下这个按键,在按下 esc 的时候自动保存,避免我无意中丢掉变更。 + +![Pasted image 20250302133815](/mdImages/Pasted image 20250302133815.png) + +### 1.3. 重新梳理的输出的工作流 + +在 [建立人生仪表盘:2025年你将强的可怕!\_哔哩哔哩\_bilibili]() 还有数字游牧人的安利下,我购买了 milanote 这个白板工具。不过之前只是存放一些零散的资料,没有真的用起来。 + +这周刚好比较有动力,所以就重新梳理了一下。 + +以下是各大软件的之间的数据是如何流转的。 + +大体思路社交平台作为最随意的入口,通过 n8n + rss 定时获取内容调接口写入到 raindrop 和 子弹笔记里面(目前用 thino 比较多),然后用 milanote 筛选一层,然后记录比较详细的个人的脑洞和想法,然后输出为项目或者企划,做进一步详细规划。 + +如果输出的形式是项目的话,就按照项目管理的形式去走。 + +如果输出的形式是长文,那么还是放到 obsidian 里面去写(搭配 lineage 插件),最后 git 提交后触发 github actions 部署到 cloudflare,另外如果要录视频就在长文的基础上改一版视频稿。 + +我个人感觉主动筛选这一层比较重要,如果碎片化的记录太多或者随手收集的东西太多,其实不容易留下印象,有效的信息太少了。 + +``` mermaid +graph LR + A[Weibo] & C[Telegram] --> B(n8n); + B --> D[滴答清单]; + B --> E[Raindrop]; + B --> F[Flomo / Dinox / Thino]; + D & E & F --> H(Milanote); + H --> I[Obsidian]; + H --> J[Cursor]; + I & J --> K[Astro]; + + style B fill:#ccf,stroke:#000,stroke-width:2px + style H fill:#ccf,stroke:#000,stroke-width:2px + style K fill:#ccf,stroke:#000,stroke-width:2px + +``` + +![mermaid-diagram-1740894547276](/mdImages/mermaid-diagram-1740894547276.png) + +然后这是 milanote 中的大致目录结构。 + +![Pasted image 20250302135108](/mdImages/Pasted image 20250302135108.png) + + + +## 2. 使用大模型处理 `git diff` 生成 commit msg + +流程如下: + +1. **获取 git diff 信息:** + * 可以使用 `git diff > git.diff` 将 diff 信息写入文件。 + * 可以使用 `git diff | clip` (Windows) 将 diff 信息复制到剪贴板。 +2. **准备提示词:** + * 提示词需要包含 commit 规则 [^1]。例子如下: + +``` +用户会输入git diff,请你生成commit msg,可以根据更改内容生成一些备注 + +我的commit规则: +module.exports = { + rules: { + 'type-enum': [ + 2, + 'always', + [ + 'feat', // 新功能 + 'fix', // 修复 + 'docs', // 文档变更 + 'style', // 代码格式 + 'refactor', // 重构 + 'perf', // 性能优化 + 'test', // 增加测试 + 'chore', // 构建过程或辅助工具的变动 + 'revert', // 回退 + 'build', // 打包 + ], + ], + 'type-case': [2, 'always', 'lower-case'], + 'type-empty': [2, 'never'], + 'scope-empty': [0], + 'scope-case': [0], + 'subject-full-stop': [0], + 'subject-case': [0], + 'header-max-length': [0], + }, +}; +``` + +1. **发送给大模型:** 将 `git diff` 信息和提示词一起发送给大模型,获取 commit msg。 +2. **使用 Cherry Studio (可选):** + * 可以使用 Cherry Studio 创建 commit msg 生成助手 + +![Pasted image 20250228170840](/mdImages/Pasted image 20250228170840.png) +具体效果 + +![Pasted image 20250228170859](/mdImages/Pasted image 20250228170859.png) + + + +## 3. 收藏夹 + + + +### 3.1. Stripe Press + +[Stripe Press — Ideas for progress]() + +一个很有设计感的网站,截图无法体现具体的细节,可以直接访问网站查看。 + +![IMG-2025-02-27-A057E6D98847314E2A2742FB44382803](/mdImages/IMG-2025-02-27-A057E6D98847314E2A2742FB44382803.png) + +![IMG-2025-02-27-C4F896C16386AFFB89F1ED856D4D8319](/mdImages/IMG-2025-02-27-C4F896C16386AFFB89F1ED856D4D8319.png) + + + +### 3.2. [Cherry Studio 官方网站 - 全能的AI助手]() + +Cherry Studio 已经成我的主力大模型客户端了,该有的体验都有,更新也很快。 + +可以针对不同的场景定义系统提示词创建助手,也支持知识库、网络搜索等。 + +![CleanShot2025-03-02at140751@2x](/mdImages/CleanShot2025-03-02at140751@2x.png) + +不过目前不太好的一点是同步的功能不太完善,可以通过网盘或者 webdav 同步,但是网盘只能手动备份和恢复。 + +另外一个比较火的 chatwise 我还没有进行体验,有时间的时候会下载下来体验对比一下。 diff --git a/src/content/post/openwebui长时间白屏解决方案.md b/src/content/post/openwebui长时间白屏解决方案.md index cb53d17..1510a45 100644 --- a/src/content/post/openwebui长时间白屏解决方案.md +++ b/src/content/post/openwebui长时间白屏解决方案.md @@ -4,19 +4,19 @@ astroType: post toWexin: true toJuejin: false toZhihu: true +published: true author: KazooTTT category: 碎片 date: 2025-02-20T00:00:00.000Z date_created: 20250220 -date_modified: 20250226 +date_modified: 20250228 description: null -published: true slug: openwebui-long-loading-white-screen-solution tags: - - 碎片 - docker - ollama - openwebui + - 碎片 title: openwebui长时间白屏解决方案 --- diff --git a/src/content/post/封面生成器推荐.md b/src/content/post/封面生成器推荐.md index 33fe12e..da94a3d 100644 --- a/src/content/post/封面生成器推荐.md +++ b/src/content/post/封面生成器推荐.md @@ -1,21 +1,24 @@ --- +toAstro: true +astroType: post +published: true +toWexin: null +toJuejin: null +toZhihu: null title: 封面生成器推荐 date: 2025-02-01T00:00:00.000Z author: KazooTTT tags: - 封面生成 - - 资料收集 - 软件推荐 -published: true + - 资料收集 slug: cover-generator description: >- 本收集涵盖了多个封面生成工具和资源,旨在帮助用户快速创建美观且专业的封面设计。这些工具包括在线封面生成器、设计模板库以及自定义封面设计的技巧和指南。无论是用于书籍、报告、社交媒体还是其他用途,这些资源都能满足不同用户的需求,提升视觉呈现效果。 -date_created: 2025-01-04T03:34:08.000Z -date_modified: 2025-02-19T17:54:54.000Z +date_created: 20250206 +date_modified: 20250302 finished: true category: 软件 -toAstro: true -astroType: post banner: >- https://pictures.kazoottt.top/2025/02/20250205-studio-807114e82b6ab5567962eacee314c872-bhdbpvle.jpg ---