Commit Graph

336 Commits

Author SHA1 Message Date
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
zy
5785a545ae examples: add claude code with kimi-k2 (#112)
* examples: init claude code

* Update claude-code-kimi-k2.md

更新文档

* Update claude-code-kimi-k2.md

* Update README.md
2025-09-19 01:59:28 +08:00
zy
053dc4a53c Merge pull request #111 from xpzouying/add-donate-qrcode
feat: 添加赞赏支持功能
2025-09-19 01:10:26 +08:00
zy
d4469ce94a feat: 添加赞赏支持功能
- 在 README 中添加赞赏支持章节
- 支持支付宝转账(邮箱地址)
- 支持微信扫码赞赏(二维码图片)
- 添加 GitHub FUNDING.yml 配置

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-19 01:04:55 +08:00
zy
3b8abfeafc refactor: 优化发布流程 - PR 合并时触发,自动清理旧版本
主要改进:
- 改为 PR 合并到 main 时触发(不是每次 push)
- 自动删除超过 10 个的旧 Release,保持发布历史整洁
- 移除 prerelease 标记,所有自动构建都是正式 Release
- 恢复使用 v 前缀的版本号格式
- 清理了现有的 Draft 状态 Release

工作流程:
1. PR 合并到 main 分支时自动构建并发布
2. 自动清理,只保留最近 10 个 Release
3. 手动触发 tag-release.yml 发布语义化版本

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-18 23:19:00 +08:00
zy
4c4b9cb47a fix: 恢复自动构建的 Release 功能,但不创建永久 tag
- 保留每次 push 到 main 时自动创建 Release
- 使用基于时间戳的命名(Build-年.月.日.时分-commit)
- 标记为预发布版本,用于测试
- 正式版本通过手动触发 tag-release.yml 发布

这样既保留了自动构建的 Release 供测试使用,又避免了 tag 膨胀问题

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-18 23:08:23 +08:00
zy
c8042d0822 refactor: 改进发布策略,将自动发布改为手动触发
- 修改 release.yml 为仅构建不打 tag,构建产物保存为 artifacts
- 新增 tag-release.yml 用于手动触发发布和打 tag
- 删除所有历史自动生成的 tags
- 采用更合理的版本管理策略,避免版本号膨胀

现在的工作流:
1. push to main 时自动构建(不打 tag)
2. 需要发布时手动触发 Tag and Release workflow
3. 手动输入语义化版本号(如 v1.0.0)和发布说明

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-18 22:41:58 +08:00
allcontributors[bot]
798bcb2be5 docs: add chengazhen as a contributor for code (#108)
* 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-18 22:25:52 +08:00
zy
b86d3626f1 Revert "Revert PR #105" - 恢复 publish.go 功能 (#109)
* Reapply "Merge pull request #105 from chengazhen/main" (#107)

This reverts commit 81ff26d6a7.

* feature: 获取有效的元素
2025-09-18 22:25:36 +08:00