TONG-H
Timeline
自媒体

all my focus has been on self-media recently. i know this should be a secondary, since i can’t make living from it. but i’m enjoying in it, creating content and expressing my ideas, publishing them, and watching how the videos perform on different platforms. it’s not bad even see it as a hobby. three months from 0212 to 0512, across 3 platforms, i’ve been gained followers 820+320+400 = 1540, i ...

61.4k2026-05-172026-05-31
OpenClaw + 即梦自动运营小红书

github 地址: https://github.com/Tong-H/jimeng-generator使用 OpenClaw + 即梦 + 小红书 mcp,实现从 AI 绘图到小红书图文发布的全自动化运营。 快速开始1. 准备工作123456789# 克隆仓库git clone https://github.com/Tong-H/jimeng-generator.gitcd jimeng-generator# 下载依赖npm i# 安装 playwrightnpm run playwright:install# 本地打包npm run build OpenClaw: 确保 OpenClaw 已经正常运行,并且能够加载技能。 小红书 mcp,作为发布工具,还有一些发布工具是可以做全平台的也可以试试,除了小红书,抖音也能发图文 可以跟随官方教程进行 1. 安装,2. 启动 ...

51.4k2026-04-292026-06-01
202512

0112-0118 たくさん投資の知識を習得した とうし、ちしき、しゅうとくする 学習する: learning. the process of learning or studying 習得する: learned. the result of having acquired knowledge or skills macd / rsi / boll / streatgies 1006 error, discord gateway error: Error: connect ETIMEDOUTbug, VPN might be configured for HTTP/HTTPS proxy, but the Discord bot needs direct socket connections to Discord’s gateway serversuse TUN mode a...

24212025-12-012026-05-31
nonsense

i’ve learned a bit of …. philosophy. well, yes…. philosophy. this word itself is used like a fraud to me. however, i’ve been grappling with questions that cut so deeply they feel almost self-destructive at times. i don’t know if i’m overly sentimental, or dramatic. does my life hold any true meaning? are all the suffering and pain worth to pay? is it really necessary to stick to the journey? is...

13122025-11-092026-06-01
基于 Playwright 的开发辅助工具-dev-playkit

github 地址: https://github.com/Tong-H/dev-playkit这是一个基于 Playwright 的前端开发辅助工具,支持自动登录、页面监控、请求调试和行为录制。通过 MCP 协议可以在 AI 编辑器(Cursor/Claude Desktop)中使用,并且为 llm 提供页面报错,请求以及渲染信息。 安装方式 1: NPM 安装12345678# 全局安装npm i -g dev-playkit# 或使用 yarnyarn global add dev-playkit# 打开百度dev-playkit --urls=["https://www.baidu.com/"] MCP 集成(AI 工具)在 Cursor 或 Claude Desktop 的配置文件中添加: 12345678{ "mcpServer...

184.1k2025-09-292026-06-01
CAT-TV

0803 i set up a small fish tank as a CAT TV for hello. i bought some fish and shrimp online, they are really tiny, barely bigger than a mosquito. however hello doesn’t seems interesting in them at all. I can’t believe a cat wouldn’t enjoy watching a group of fish swimming around. It makes me wonder if he can even see such small fish. but cats are supposed to have good eyesight. let’s just wait ...

61k2025-08-032026-05-31
202508/09

0921 vibe coding, coding with a good vibe, where you’re not stressing about bugs or edge cases too much but rather enjoying the problem-solving process trying use mcp tool and playwright to guide llm to write a page and refine the style of page until the page machs the design picture It’s a long and pretty complex workflow. it works best for pages with a simple style or ones that closely foll...

61k2025-08-012026-06-01
AI 实践-DeepWiki-open 为项目生成 wiki 文档

背景 有一些仓库的 readme 文件很草率,如果作为一个新人去接手一个仓库,看完 readme 连这个仓库的作用都不知道,需要多花时间看代码才能理解这个仓库的功能。但换个角度,作为一个开发人员,大部分时候都会疏于去写文档。 DeepWiki是专门解决这个问题的,用于为 github/gitlab 仓库生成全面详细文档,但这是个闭源项目,且能集成的平台有限https://docs.devin.ai/integrations/gh DeepWiki-open 是 DeepWiki 的一个开源实现 基于 adalflow, 支持本地部署,以及结合 ollama 使用本地模型 支持基于仓库像模型提问 技术调研在决定使用deepwiki之前有了解过一些其他的方式 cursor + rule 只用一个rule,不会深入代码比较浅,适合当readme文件 通过不通的 rule 来生成不同的...

71.9k2025-07-202025-08-04
ai 实践-项目迁移

背景需要将页面从一个旧项目迁移到新项目,由于我对这两个项目都完全陌生,对功能也不熟悉,所以我的原则是:小心翼翼,确保安全稳定 这两个项目基于不同的技术栈: 旧项目: React 15、Webpack、jQuery、内部 UI 框架 新项目: React 16.8+、TypeScript、Redux、Vite、Axios、Ant Design 实现 技术栈差异 显而易见的 JS 与 TS 的区别 类组件(带有生命周期方法)与函数组件(使用 Hooks)等的转换 应重构或移除直接的 DOM 操作或 jQuery 的使用 UI 与样式差异 两个项目都使用 SCSS 旧项目使用通过 CDN 引入的 Bootstrap,而新项目使用现代框架 Ant Design API 调用 从 jQuery 迁移到 带有 API 服务封装的 Axios 构建差异 主要集中在代理(proxy)...

15302025-07-202026-05-31
在富文本编辑器中处理图文资源

背景功能是在富文本编辑器创建/编辑一些图文内容, 图文图文, “文”没什么需要操心的, 主要是“图” 。 图乍一看好像也没什么担心的, 但是用户行为大概率不会按照期望去做。, 有图片上传按钮,但是用户可能会粘贴或者拖拽,刚开始暂时都还能显示, 只是个别会因为跨域或者验证限制什么的会无法显示。但这从外部来的 src 链接不是自己服务器的, 指不定什么时候就失效了。所以理想情况还是要下载存储到服务器。 富文本编辑器是基于 wangeditor, 用户添加图片的行为主要是 菜单栏上传按钮, 合法流程, 没什么操心的 复制粘贴图片, 截图然后粘贴, 或者从文件夹拖拽图片进编辑器, 这几个也算合法流程, 因为数据类型都包含 Files 会触发 editor 的上传事件, 就走到了合法流程。如果用的 editor 没有触发, 也可以通过监听 paste / drop 事件来监听 tips:wa...

31k2025-07-132025-08-04