yikart/AiToEarn

GitHub Trending (daily) Products

Summary

AiToEarn 是面向一人公司及创作者的AI驱动内容营销平台,支持多平台自动发布、互动与变现。最新更新新增MCP协议支持及OpenClaw集成,提供网页/插件/Docker等多种部署方式。

Let's use AI to Earn!
Original Article
View Cached Full Text

Cached at: 05/11/26, 12:37 PM

yikart/AiToEarn

Source: https://github.com/yikart/AiToEarn

Aitoearn:OPC(一人公司)的AI内容营销智能体

yikart%2FAiToEarn | Trendshift

GitHub stars GitHub license Required Node.JS 20.18.x

简体中文 | English | 日本語

Monetize · Publish · Engage · Create —— 一站式平台。

AiToEarn 通过 AI 自动化,帮助 OPC(一人公司)、创作者、品牌与企业在全球主流平台上构建、分发并变现内容。

支持渠道: 抖音、小红书(Rednote)、快手、哔哩哔哩、TikTok、YouTube、Facebook、Instagram、Threads、Twitter(X)、Pinterest、LinkedIn

🚀 快速使用 AiToEarn(5 种方式)

方式适合谁需要部署吗
① 打开网站直接用所有用户❌ 不需要
② 在龙虾 OpenClaw 中用龙虾用户❌ 不需要
③ 在 Claude / Cursor 等 AI 助手中用AI 工具用户❌ 不需要
④ Docker 一键部署想私有化部署的团队✅ 需要服务器
⑤ 源码开发开发者✅ 需要开发环境

💡 方式 ②③④ 都需要先获取 API Key,请先看 如何获取 API Key

最新动态

  • 2026-04-20: OpenClaw(龙虾)新增 AiToEarn 赚钱支持,可在龙虾中直接接收并执行内容变现任务。
  • 2026-03-26: 2.1 version — 内容交易市场上线;新增 OpenClaw(龙虾)支持,可在龙虾中直接使用 AiToEarn;新增 MCP 协议支持,可在 Claude、Cursor 等任何支持 MCP 的 Agent 或大模型中使用 AiToEarn。
  • 2026-02-07: 1.8.0 version,新增线下商户推广解决方案,支持餐厅、零售店、民宿、美容美发、健身房等多种线下业态,将线下推广活动转化为可执行的线上传播任务,通过内容发布与用户参与机制,帮助门店获取更多线上曝光和到店流量。
  • 2025-12-15: “All In Agent” 的开始!我们加入了能够自动内容生成和发布以及一些帮助你操作 Aitoearn 的超级 AI 智能 Agent。v1.4.3
  • 2025-11-28: 支持应用内自动更新。在创作界面新增大量 AI 功能,例如:缩写、扩写、图片生成、视频生成、标签生成等,并支持 Nano Banana Pro。v1.4.0
  • 2025-11-12: 首个开源且可完全使用的版本。v1.3.2
  • 2025-09-16: 首个出海版本,新增支持 Facebook、Instagram、Threads、Twitter、YouTube、TikTok、Pinterest。v1.0.18
  • 2025-02-26: 首个开源版本,初步实现小红书、抖音、快手、视频号视频一键发布。v0.1.1

目录


  1. 快速使用 AiToEarn(5 种方式)
  2. 最新动态
  3. 核心功能
  4. 如何获取 API Key
  5. 贡献指南
  6. 联系
  7. 推荐

核心功能

AiToEarn 围绕内容创作者的完整变现链路,提供四大 Agent 能力:

Monetize · Publish · Engage · Create


💰 Monetize —— 内容赚钱

AiToEarn 最核心的目标:帮助每一位创作者赚钱

创作者可以在平台出售内容以完成商家的推广任务。所有结算以结果为导向,我们提供三种结算模式:

结算模式全称含义
CPSCost Per Sale按成交额结算
CPECost Per Engagement按互动量结算
CPMCost Per Mille按播放量结算

📢 Publish —— 内容发布 Agent

一键将内容分发到全球 10+ 主流平台,告别逐个平台手动发布。

  • 全网分发:覆盖抖音、快手、B站、小红书、TikTok、YouTube、Facebook、Instagram、Threads、X(Twitter)、Pinterest、LinkedIn
  • 日历排期:像排日程一样统一规划所有平台的内容发布时间

▶ 观看演示视频

Publish 演示视频

💬 Engage —— 内容互动 Agent

通过 AiToEarn 浏览器插件,在上述所有平台上实现自动化互动运营。

  • 自动化操作:自动点赞、收藏、关注,批量高效运营
  • AI 智能回复:调用大模型为每条评论生成针对性回复,精准互动
  • 评论挖掘:识别“求链接““怎么购买“等高转化信号,快速响应
  • 品牌监测:实时追踪关于你品牌的讨论,主动参与热点话题

▶ 观看演示视频

Engage 演示视频

🎨 Create —— 内容创作 Agent

我们用 Agent 的方式重构了内容制作流程。只需告诉 Agent 你的内容需求,它会自动完成从创意到成品的全部工作。

视频内容:Agent 自动调用视频生成模型(Grok、Veo、Seedance 等)、视频翻译模块、视频剪辑模块,一站式完成视频制作。

图文内容:支持调用 Nano Banana 等顶级图片模型,自动生成高质量图文内容。

批量生成:支持批量下发创作任务,Agent 可并行生成多条内容,快速铺量,适合矩阵账号运营和大规模内容分发场景。

▶ 观看演示视频

Create 演示视频

① 打开网站直接用

最简单的方式,打开浏览器即可使用,无需任何配置:


🔑 如何获取 API Key(后续步骤的前置条件)

以下的方式 ②③④ 都需要 API Key。只需获取一次,所有方式通用。

3 步获取

  1. 打开 aitoearn.cn(中国用户)或 aitoearn.ai(国际用户),注册并登录
  2. 点击左侧菜单 设置
  3. API Key 中点击创建,复制生成的 Key
获取 API Key

② 在龙虾 OpenClaw 中使用

前置条件:已 获取 API Key

请在服务器终端输入以下命令!请在服务器终端输入以下命令!请在服务器终端输入以下命令!

安装插件

npx -y @aitoearn/openclaw-plugin-cli

首次运行后会先让你选择环境并输入 API Key。请确保环境与 Key 匹配:

  • 中国版:使用 aitoearn.cn 获取的 API Key
  • 国际版:使用 aitoearn.ai 获取的 API Key

环境和 Key 不匹配会导致 401。

安装完成后,你就可以在 OpenClaw 中直接接收并执行 AiToEarn 的赚钱任务:

在 OpenClaw 中执行 AiToEarn 赚钱任务

③ 在 Claude / Cursor / 其他 AI 助手中使用

前置条件:已 获取 API Key

AiToEarn 支持所有兼容 MCP 协议的 AI 助手。以下是常见工具的配置方式:

请根据 API Key 来源选择地址,环境和 Key 不匹配会导致 401:

环境MCP 地址SSE 地址
中国版https://aitoearn.cn/api/unified/mcphttps://aitoearn.cn/api/unified/sse
国际版https://aitoearn.ai/api/unified/mcphttps://aitoearn.ai/api/unified/sse
Claude Desktop

找到并编辑 claude_desktop_config.json,添加:

{
  "mcpServers": {
    "aitoearn": {
      "type": "http",
      "url": "https://aitoearn.ai/api/unified/mcp",
      "headers": {
        "x-api-key": "你的API-Key"
      }
    }
  }
}
Cursor

在 Cursor 的 MCP 设置中添加:

MCP 地址:https://aitoearn.ai/api/unified/mcp
认证 Header:x-api-key: 你的API-Key
其他 AI 助手(通用配置)

任何支持 MCP 协议的工具,只需要两个信息:

配置项
MCP 地址https://aitoearn.ai/api/unified/mcp
认证 Headerx-api-key: 你的API-Key

也支持 SSE 长连接方式:https://aitoearn.ai/api/unified/sse

💡 如果你是自部署用户,将 aitoearn.ai 替换为你自己的地址(如 localhost:8080)。


④ Docker 一键部署

前置条件:已安装 Docker

适合想把 AiToEarn 部署在自己服务器上的团队。3 条命令搞定,无需手动安装数据库:

git clone https://github.com/yikart/AiToEarn.git
cd AiToEarn
docker compose up -d

启动后打开 http://localhost:8080 即可使用。

配置 Relay(强烈推荐)

为什么要配 Relay? 发布内容需要登录社交媒体账号(抖音、小红书、TikTok 等),而这些平台的 OAuth 登录需要开发者凭据。配置 Relay 后,你可以直接借用官方 aitoearn.ai 的凭据完成授权,不需要自己去各平台申请开发者账号

docker-compose.ymlaitoearn-server 服务中添加(API Key 获取方式见 上方说明):

请根据 RELAY_API_KEY 来源选择 RELAY_SERVER_URL:中国版 Key 使用 https://aitoearn.cn/api,国际版 Key 使用 https://aitoearn.ai/api。环境和 Key 不匹配会导致 401。

RELAY_SERVER_URL: https://aitoearn.ai/api
RELAY_API_KEY: 你的API-Key
RELAY_CALLBACK_URL: http://127.0.0.1:8080/api/plat/relay-callback

然后重启:docker compose restart aitoearn-server

📖 完整部署指南(生产环境配置、AI 服务、OAuth、存储等)请参阅 DOCKER_DEPLOYMENT_CN.md


⑤ 源码开发

🧪 手动运行后端和前端(开发模式)

此模式主要用于本地开发和调试。 您仍然可以使用 Docker 运行 MongoDB/Redis,或在配置文件中指向您自己的服务。

1. 启动后端服务

cd project/aitoearn-backend
pnpm install
# 复制配置文件用于本地开发
cp apps/aitoearn-ai/config/config.js apps/aitoearn-ai/config/local.config.js
cp apps/aitoearn-server/config/config.js apps/aitoearn-server/config/local.config.js
pnpm nx serve aitoearn-ai
# 在另一个终端
pnpm nx serve aitoearn-server

2. 启动前端 aitoearn-web

pnpm install
pnpm run dev
🖥️ 启动 Electron 桌面项目
# 克隆仓库
git clone https://github.com/yikart/AttAiToEarn.git

# 进入目录
cd AttAiToEarn

# 安装依赖
npm install

# 编译 sqlite(better-sqlite3 需要 node-gyp 和本地 Python)
npm run rebuild

# 启动开发
npm run dev

Electron 项目为 AiToEarn 提供桌面客户端。

贡献指南

请查看 贡献指南 开始参与。

联系

如果你在使用过程中遇到困难、使用问题或异常情况,优先通过 GitHub Issues 提交反馈,方便我们统一跟进和处理。

微信二维码

推荐

Similar Articles

@IndieDevHailey: This is literally a godsend for content creators! The viral open-source project AiToEarn: helps you publish content across all platforms and monetize automatically — already at 9.3k Stars and trending on GitHub. No more staying up late editing videos, grinding platforms, replying to comments, or stressing about monetization. One open-source tool to handle your entire workflow: content creation → cross-platform publishing → engagement…

X AI KOLs Timeline

AiToEarn is a wildly popular open-source tool that has garnered 9.3k stars on GitHub and topped the trending charts. It supports one-click publishing to 10+ platforms (Douyin, Xiaohongshu, TikTok, and more), automated engagement management, AI-powered content creation, and a built-in monetization marketplace — helping content creators complete the full loop from content creation to earning money.

@0xajc: Spent a month building a fully automated AI marketing tool @OllieOwl_AI — Just enter your website and it generates all branding assets, automatically posts/writes images/generates videos across all major platforms (X, Instagram, TikTok, Pinterest…) Self…

X AI KOLs Following

@0xajc launched a fully automated AI marketing tool, OllieOwl_AI, which generates brand assets, automatically posts, creates images, and produces videos across multiple major platforms with just a website input.

@AYi_AInotes: https://x.com/AYi_AInotes/status/2062774798166503872

X AI KOLs Timeline

The author open-sourced an AI content creation system based on the Helio platform, where multiple AI agents automatically take turns completing topic discovery, research, content rewriting, and distribution. The author only needs to make two decisions (select topics and finalize drafts), greatly improving content creation efficiency.

@VincentLogic: Still running AI tools by opening multiple terminal windows? That’s torture. I found an open-source, free 'Agent Operating System'— AionUi. Previously, using Claude Code, OpenClaw, Hermes meant running each independently; now, it can host top-tier agents like Gemini, Claude Code, Codex, and Qwen Code in a single interface, just like Windows hosts apps. G…

X AI KOLs Timeline

AionUi is an open-source, free AI agent operating system designed to centrally manage top AI models like Claude Code and Gemini. It supports multi-agent collaboration, centralized data management, and remote task automation.

@QingQ77: Automatically organize company documents into a knowledge Wiki, and use MCP to deliver the right context to each employee's AI client — no more manual copy-pasting. https://github.com/nduckmink/arkon Arkon is a self-hostable enterprise AI knowledge hub. Upload SO…

X AI KOLs Timeline

Arkon is a self-hostable enterprise AI knowledge hub that automatically compiles company documents into a cross-linked knowledge Wiki. Via the MCP protocol, employees' AI clients (such as Claude Desktop) can automatically retrieve relevant context based on their permissions — no manual document pasting required.