Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

小红书运营台

iPolloWork 的独立小红书运营插件。源码仓库为 ipollo-rednote-plugin,插件 ID 保持 xiaohongshu-ops,以便识别已有安装和账号数据。

支持多账号独立浏览器登录、账号验证与数据同步、图文/视频草稿、素材导入、关键词找帖、评论候选、发布/评论记录,以及通过主软件会话和日程执行已授权操作。平台操作使用账号对应的可见浏览器会话;不会将预期账号、未观察的数据或不确定结果当作成功。

独立开发

需要 Node.js ≥22.22 和 pnpm。在本仓库根目录运行:

pnpm run setup
pnpm run check
pnpm test
pnpm run build
pnpm start

默认本地地址为 http://127.0.0.1:4790。pnpm dev 使用源码监视模式。账号、数据库和凭据属于运行数据,不随源码提交。独立启动默认写入 skills/xhs-ops-worker/app/data;通过插件启动时使用 ~/.ipollowork/plugin-data/xiaohongshu-ops,可用 XHS_OPS_DATA_DIR 指定目录。主软件浏览器、AI 和日程操作需要安装后的宿主桥接,独立启动用于页面及本地服务开发。

接入 iPolloWork

根目录的 ipollowork.plugin.json 是原生插件清单,service/workbench.mjs 是宿主启动入口,skills/ 包含工作技能和完整运行代码。宿主通过通用插件接口加载这些资源,不需要把本仓库复制进主软件源码或桌面安装包。

已有安装继续从用户目录中的插件制品运行,从主软件右侧 + → 小红书运营台 打开。源码拆分不卸载插件、不删除账号、草稿或登录会话。

本插件包含本地可执行服务。当前主软件的 GitHub / ZIP 导入需要由宿主信任的发布者签名;源码仓库本身不是已签名的发布包。分发新版本时必须走宿主已有的签名和安装流程,不能通过修改 source.trusted 绕过检查。运行数据、Cookie 和签名私钥均不得提交到此仓库。

验证与主软件边界

单元测试和类型检查均在本仓库运行,不依赖主软件源码。evals/flows/、evals/voiceovers/ 保存插件自己的界面验证流程。

需要验证主软件集成时,设置 IPOLLOWORK_ROOT 为本机 iPolloWork 仓库绝对路径,然后运行 node evals/run.mjs --list 或 node evals/run.mjs --flow xiaohongshu-installed --cdp-url http://127.0.0.1:9823。仅验证工具复用主软件的 fraimz 运行器;业务运行不依赖该路径。模拟日程/发布流程还需按流程的 requiredEnv 配置隔离测试环境,勿在真实账号上运行全部流程。

来源与许可

本版本从 iPolloWork 提交 cb440dab2 的 examples/plugin-packages/xiaohongshu-ops 拆出,保留原有业务实现,补充独立仓库入口、说明和验证路径。原项目为 Devin-AXIS/iPolloWork。许可及署名见 LICENSE 和 历史 MIT 许可,没有将原代码重新许可为另一种许可证。

GitHub releases and updates

Every validated change is committed and pushed to this repository. A push to main runs checks and publishes a signed stable GitHub Release. The host downloads plugin-package.json from the latest release and verifies its signature and resource checksums before installing. The .ipollowork-plugin asset is the same package for manual import. Increment the version for each new release; existing version tags are never overwritten.

The repository owner’s GitHub Actions are currently disabled. After committing and pushing, run pnpm release locally to run the same checks, sign a clean source snapshot, and publish the latest GitHub Release. This requires GitHub CLI authentication and the dedicated signing key at ~/.ipollowork/plugin-signing/social-plugins-2026.pem, or the IPOLLOWORK_PLUGIN_SIGNING_KEY path. The command never overwrites a version associated with a different commit.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages