chekayo
408c641959
Merge remote-tracking branch 'upstream/main' into feature/comment-feed-logic
...
# Conflicts:
# mcp_handlers.go
# mcp_server.go
# service.go
# xiaohongshu/like_favorite.go
2025-10-09 23:20:41 +08:00
zy
022075132b
Update README.md
2025-10-09 21:52:14 +08:00
chekayo
e6bf9921ea
refactor: improve comment posting logic with enhanced error handling and stability checks
...
- Updated the PostComment method to include error handling for navigation and element interactions.
- Replaced sleep calls with more reliable wait mechanisms to ensure page stability.
- Added checks for the presence of input elements and improved logging for better debugging.
2025-10-09 21:38:52 +08:00
allcontributors[bot]
3cc56e0bb8
docs: add haikow as a contributor for code ( #211 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2025-10-08 11:44:00 +08:00
haikow
66aa36b48c
feat: add like and favorite functionality for feeds ( #207 )
...
* feat: add like and favorite functionality for feeds
- Implemented handleLikeFeed and handleFavoriteFeed methods in mcp_handlers.go to manage liking and favoriting feeds.
- Added LikeFavoriteArgs struct in mcp_server.go for handling parameters.
- Registered new MCP tools for liking and favoriting feeds in registerTools function.
- Introduced LikeFeed and FavoriteFeed methods in XiaohongshuService to interact with the respective actions.
- Created LikeFavoriteAction in a new file to encapsulate the logic for liking and favoriting feeds on the Xiaohongshu platform.
* "Fix-build-errors"
* refactor: streamline like and favorite actions in LikeFavoriteAction
- Introduced a generic method `performInteractAction` to handle both liking and favoriting feeds, reducing code duplication.
- Updated logging to reflect the action type being performed (like or favorite).
- Enhanced state verification after interaction to ensure accurate feedback on success or failure.
- Removed the `clickLastMatch` function, simplifying the interaction logic.
* "Add-unlike-and-unfavorite-functionality"
* "Refactor-performInteractAction-function"
* "Refactor-split-LikeFavoriteAction-into-separate-actions"
---------
Co-authored-by: chekayo <9827969+chekayo@user.noreply.gitee.com >
2025-10-08 11:40:45 +08:00
chekayo
7c2658dae5
"优化评论反馈逻辑:简化回复按钮查找和点击流程
2025-10-07 14:00:16 +08:00
chekayo
c6390bf014
feat: add like and favorite functionality for feeds
...
- Implemented handleLikeFeed and handleFavoriteFeed methods in mcp_handlers.go to manage liking and favoriting feeds.
- Added LikeFavoriteArgs struct in mcp_server.go for handling parameters.
- Registered new MCP tools for liking and favoriting feeds in registerTools function.
- Introduced LikeFeed and FavoriteFeed methods in XiaohongshuService to interact with the respective actions.
- Created LikeFavoriteAction in a new file to encapsulate the logic for liking and favoriting feeds on the Xiaohongshu platform.
2025-10-06 03:26:52 +08:00
zy
d84bf2e9a2
update rm popup window ( #202 )
2025-10-04 23:22:28 +08:00
zy
678bc71ae0
publish: 增加发布移除弹窗的操作 ( #201 )
...
* publish: 增加发布移除弹窗的操作
* 随机点击操作
* 更新点击的随机坐标
2025-10-04 21:14:47 +08:00
zy
223d9e146b
fix: remove ARM64 platform support to avoid Chrome installation issues
2025-09-30 01:53:28 +08:00
zy
4d809f1e84
feat: add manual Docker release workflow ( #187 )
...
- 新增 docker-release.yml workflow,支持手动触发 Docker 镜像构建
- 从 release.yml 中移除自动 Docker 构建,避免镜像膨胀
- 使用语义化版本号策略(如 v1.0.0)
- 支持多平台构建(linux/amd64, linux/arm64)
- 硬编码公开信息,只需配置 DOCKERHUB_TOKEN secret
- 自动标记版本号和 latest 标签
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-authored-by: Claude <noreply@anthropic.com >
2025-09-30 01:42:37 +08:00
zy
85852e3277
Update README.md
2025-09-30 01:07:34 +08:00
Banghao Chi
33625dc1b9
docs(README): reflect support for "publish with video and Tags ( #181 )
2025-09-29 23:47:46 +08:00
zy
44628a94e2
update cc config ( #180 )
2025-09-29 01:13:32 +08:00
zy
0955723b19
feat: 为视频发布功能新增HTTP API接口和完善文档 ( #179 )
...
* 重构 publish tab 选择逻辑,把公共代码提取到同一个函数中
* feat: 为视频发布功能新增HTTP API接口和完善文档
- 新增 /api/v1/publish_video HTTP接口
- 添加 publishVideoHandler 处理函数
- 更新 API.md 增加视频发布接口文档
- 更新 README.md 和 README_EN.md 增加视频发布功能说明
- 在MCP工具列表中补充 publish_with_video 工具说明
2025-09-29 01:08:11 +08:00
Banghao Chi
8c3665a3de
feat: publish with video ( #171 )
...
* feat: publish with video
* fix: add more timeout (network bandwidth + large files) and remove pop-up
* fix: remove excessive remove pop-up function
2025-09-29 00:34:47 +08:00
zy
fe82b14ba9
docs: 新增HTTP API文档 ( #178 )
...
- 添加小红书MCP HTTP API完整文档
- 包含所有端点的请求/响应格式说明
- 简化响应示例,突出关键字段结构
- 与实际代码结构保持一致
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-authored-by: Claude <noreply@anthropic.com >
2025-09-29 00:16:31 +08:00
zy
c9002d06e8
publish: update publish, rm pop-cover ( #176 )
...
THANKS: @lmxdawn
CLOSE : #172
2025-09-28 22:41:31 +08:00
zy
f3fe9bab40
docs: 增加 Docker Hub 镜像下载方式 ( #169 )
...
- 在中英文 README 中增加从 Docker Hub 拉取镜像的说明
- 添加 docker pull 命令和 Docker Hub 链接
- 调整 Docker 部署顺序,推荐使用预构建镜像
- 更新 docker/README.md,突出推荐从 Docker Hub 下载
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-authored-by: Claude <noreply@anthropic.com >
2025-09-27 18:13:59 +08:00
zy
53ea832773
refactor: 迁移到官方 MCP SDK ( #167 )
...
- 添加官方 SDK 依赖 github.com/modelcontextprotocol/go-sdk v0.7.0
- 新增 mcp_server.go 使用官方 SDK 注册 8 个 MCP 工具
- 删除自实现的 streamable_http.go(约 400 行)
- 更新 routes.go 使用 mcp.NewStreamableHTTPHandler
- 优化服务器优雅关闭逻辑(5秒超时 + 警告日志)
- 清理 types.go 中的 JSON-RPC 相关类型
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-authored-by: Claude <noreply@anthropic.com >
2025-09-27 01:44:02 +08:00
zy
529ee71144
Update README.md
2025-09-26 16:46:15 +08:00
Banghao Chi
bd8f954ce3
ci(release): add Docker paths to paths-ignore to avoid docs-only release triggers ( #162 )
2025-09-26 09:47:36 +08:00
zy
d08b1d4a43
docs: add Docker deployment instructions to README files ( #161 )
...
- Added a new section for deploying using Docker in both English and Chinese README files.
- Included detailed steps for building the Docker image, starting services with Docker Compose, and configuration notes.
- Updated the Docker README with important notes regarding image storage and local image usage.
2025-09-25 23:54:52 +08:00
zy
9fcc7402b6
update docker config file ( #159 )
...
* update dockerfile, use cn mirrors
* deploy: update docker deploy config
更新 docker 配置文件。
1. 切换到 ubuntu,能测试成功;debian 测试有问题,先用 ubuntu 吧。
2. 增加国内源,优化编译+系统安装的速度。
3. 切换成 chrome 浏览器。
* mv docker compose config file
* update docker compose
2025-09-25 23:41:52 +08:00
zy
f37b4d8591
Update README.md
2025-09-25 23:17:38 +08:00
allcontributors[bot]
6fc84e979b
docs: add lmxdawn as a contributor for code ( #158 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2025-09-25 19:47:29 +08:00
lmxdawn
a8a2743a51
feat: 支持返回登录二维码与 Docker 部署 ( #155 )
...
* feat: 支持返回登录二维码与 Docker 部署
* feat: 完善扫码登录功能
* fix: 修复当存在已经登录的情况,上层还会启动 goroutine的问题,并把 mcp 的返回增加为图片格式
2025-09-25 19:44:01 +08:00
allcontributors[bot]
cc5038decd
docs: add Meloyg as a contributor for code ( #156 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2025-09-24 23:00:10 +08:00
Melo Y Guan
cefbfb8f03
feat: add instructions for cline mcp setup ( #149 )
2025-09-24 22:49:56 +08:00
Banghao Chi
de2c637f4f
ci(release): add deploy into paths-ignore ( #148 )
...
* ci(release): add paths-ignore to avoid release on non-code changes
* ci(release): add deploy into paths-ignore
2025-09-24 12:14:21 +08:00
zy
398adf7c85
Update README.md
2025-09-24 11:55:04 +08:00
allcontributors[bot]
a3ad29a5ad
docs: add varz1 as a contributor for code ( #147 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2025-09-24 11:49:46 +08:00
varz1
c54c00b27c
docs: 添加 macOS launchd 服务配置和安装指南 ( #142 )
2025-09-24 11:49:04 +08:00
zy
177a64822d
Update README.md
2025-09-23 18:45:57 +08:00
allcontributors[bot]
7c5745abd2
docs: add BiboyQG as a contributor for code ( #137 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2025-09-22 23:55:31 +08:00
Banghao Chi
e7d7d02a55
ci(release): add paths-ignore to avoid release on non-code changes ( #132 )
2025-09-22 23:54:33 +08:00
zy
c404f8a7cc
Update README.md
2025-09-22 13:07:52 +08:00
zy
84f6a85105
优化 cookies 路径管理策略 ( #127 )
...
* feat: 优化 cookies 路径管理策略
1. 实现向后兼容的路径迁移逻辑:
- 优先使用旧路径 /tmp/cookies.json(如果存在)
- 否则使用当前目录 ./cookies.json
2. 移除不必要的目录创建逻辑
- 删除 NewLoadCookie 中的 MkdirAll 调用
- 避免相对路径可能导致的权限问题
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
* feat: 添加 cookies.json 到 .gitignore
- 避免将包含敏感登录信息的 cookies 文件提交到版本控制
- 保护用户隐私和安全
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
---------
Co-authored-by: Claude <noreply@anthropic.com >
2025-09-21 23:25:11 +08:00
zy
e1d43d28a4
docs: 添加用户主页功能说明并完善英文文档 ( #125 )
...
- 在README.md中新增"获取用户个人主页"功能说明
- 详细描述用户主页功能的参数要求和返回信息
- 更新MCP工具列表,添加user_profile工具
- 在README_EN.md中补充图片支持方式的完整英文说明
- 添加HTTP链接和本地路径两种方式的详细描述和使用示例
- 在英文版中新增"Get User Profile"功能说明
- 保持中英文文档的功能一致性和完整性
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-authored-by: Claude <noreply@anthropic.com >
2025-09-20 23:55:42 +08:00
zy
716cf104ce
docs: 优化图片支持方式的文档说明 ( #124 )
...
- 在README中详细说明两种图片支持方式(HTTP链接和本地路径)
- 明确推荐使用本地绝对路径的原因和优势
- 添加具体的使用示例和代码示例
- 优化MCP协议中images字段的描述,提供更清晰的格式说明
- 帮助用户更好地理解和使用图片发布功能
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-authored-by: Claude <noreply@anthropic.com >
2025-09-20 23:44:59 +08:00
allcontributors[bot]
34120b4831
docs: add CooperGuo as a contributor for code ( #123 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2025-09-20 22:21:49 +08:00
CooperGuo
5f412a6bc5
feat:获取用户主页功能 ( #122 )
...
增加读取用户的个人主页的信息
2025-09-20 22:20:58 +08:00
zy
eafd973d75
Update README.md
...
add anythingLLM in readme
2025-09-20 10:26:35 +08:00
zy
fe3b93f7b3
fix: 修复 GitHub Actions release workflow 权限问题 ( #119 )
...
将触发事件从 pull_request 改为 push,解决来自 fork 的 PR 合并时
因权限受限导致的 403 错误。
- 触发条件:从 pull_request(closed) 改为 push to main
- 条件判断:相应调整为 push 事件的判断逻辑
这样可以确保 workflow 在代码真正合并到 main 分支后才运行,
此时有完整的 contents:write 权限来创建 release。
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-authored-by: Claude <noreply@anthropic.com >
2025-09-20 00:37:28 +08:00
Journey
fec85b2b30
feat: 添加图片上传验证与超时处理功能 ( #115 )
...
(cherry picked from commit 651b1578ae341f0a5cbb1447d483cc8954f7e5bc)
Co-authored-by: chengchongzhen <15939054361@163.com >
2025-09-20 00:16:07 +08:00
zy
221ff3d40c
Update README.md
2025-09-20 00:00:56 +08:00
allcontributors[bot]
04b8079f65
docs: add eveyuyi as a contributor for code ( #118 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2025-09-19 23:53:51 +08:00
Eve Yu
77a8ae9d2a
add anythingLLM + xiaohongshu-mcp integration guide ( #117 )
...
Co-authored-by: EveYu <eveyu@Eves-MacBook-Air.local >
2025-09-19 23:53:01 +08:00
zy
e14c257248
Update claude-code-kimi-k2.md
2025-09-19 13:24:07 +08:00
zy
61dde42c25
修复 Linux GLIBC 依赖问题并添加压缩包发布 ( #113 )
...
* fix: 禁用 CGO 以解决 Linux 系统 GLIBC 版本依赖问题
- 在所有平台的构建命令中添加 CGO_ENABLED=0
- 生成静态链接的二进制文件,不依赖系统 GLIBC
- 解决 Ubuntu 20.04 等较旧系统无法运行的问题
* feat: 将发布文件打包成压缩包
- 添加打包步骤,将二进制文件压缩成 tar.gz (Unix) 或 zip (Windows)
- 每个压缩包包含主程序和登录工具
- 减小下载体积,方便用户使用
- 更新 Release 说明文档
2025-09-19 02:19:35 +08:00