logo
0
0
WeChat Login
yika<honghaow@yikart.cn>
docs: 增加 OPC 关键词,修复图片布局和比例问题

yikart%2FAiToEarn | Trendshift

GitHub stars GitHub license Required Node.JS 20.18.x

English | 简体中文

Monetize · Publish · Engage · Create — all in one platform.

AiToEarn helps OPCs (One-Person Companies), creators, brands, and businesses build, distribute, and monetize content with AI-powered automation across the world's most popular platforms.

Supported Channels: Douyin, Xiaohongshu (Rednote), Kuaishou, Bilibili, TikTok, YouTube, Facebook, Instagram, Threads, Twitter (X), Pinterest, LinkedIn

🚀 Quick Start with AiToEarn (5 Ways)

OptionBest forDeployment needed?
① Use the WebsiteEveryone❌ No
② Use in OpenClawOpenClaw users❌ No
③ Use in Claude / Cursor / Other AI AssistantsAI tool users❌ No
④ Docker One-Click DeployTeams wanting self-hosted✅ Server needed
⑤ Build from SourceDevelopers✅ Dev environment needed

💡 Options ②③④ require an API Key first. See How to Get an API Key.

What's New

  • 2026-03-26: 2.1 version — Fixed numerous usability issues; added OpenClaw support for using AiToEarn directly within OpenClaw; added MCP protocol support for using AiToEarn in Claude, Cursor, and any MCP-compatible Agent or LLM.
  • 2025-02-07: 1.8.0 version — Added offline business promotion solutions for restaurants, retail stores, hotels, beauty salons, gyms, and more.
  • 2025-01-06: 1.5.3 version — Fixed a large number of known issues.
  • 2024-12-15: "All In Agent" arrives! We've introduced a super AI agent that can automatically generate and publish content. v1.4.3
  • 2024-11-28: Support automatic updates within the application. Added AI functions: abbreviation, expansion, image creation, video creation, tag generation, etc. v1.4.0
  • 2024-11-12: The first open-source, fully usable version. v1.3.2

Table of Contents


  1. Quick Start with AiToEarn (5 Ways)
  2. What's New
  3. Key Features
  4. How to Get an API Key
  5. Contributing
  6. Contact
  7. Recommended

Key Features

AiToEarn provides four core Agent capabilities around the creator's full monetization pipeline:

Monetize · Publish · Engage · Create


💰 Monetize — Earn from Your Content

The core mission of AiToEarn: help every creator earn money.

Creators can sell content on the platform to complete brand promotion tasks. All settlements are results-driven, with three models:

ModelFull NameMeaning
CPSCost Per SaleSettle by transaction amount
CPECost Per EngagementSettle by engagement count
CPMCost Per MilleSettle by view count

📢 Publish — Content Publishing Agent

Distribute content to 10+ major platforms worldwide with one click — no more manual posting on each platform.

  • Multi-Platform Distribution: Douyin, Kwai, Bilibili, Rednote, TikTok, YouTube, Facebook, Instagram, Threads, X (Twitter), Pinterest, LinkedIn
  • Calendar Scheduler: Plan and coordinate content publishing across all platforms like a calendar

▶ Watch Demo Video

Publish Demo Video

💬 Engage — Content Engagement Agent

Automate engagement operations across all supported platforms via the AiToEarn browser extension.

  • Automated Actions: Auto-like, bookmark, and follow — batch operations at scale
  • AI Smart Replies: Use LLMs to generate targeted replies for each comment
  • Comment Mining: Detect high-conversion signals like "link please" or "how to buy" and respond instantly
  • Brand Monitoring: Track brand mentions in real-time and proactively join trending conversations

▶ Watch Demo Video

Engage Demo Video

🎨 Create — Content Creation Agent

We've rebuilt the content creation workflow with Agents. Just tell the Agent what you need — it handles everything from idea to finished product.

Video Content: The Agent automatically invokes video generation models (Grok, Veo, Seedance, etc.), video translation modules, and video editing modules to produce a complete video.

Image & Text Content: Supports top-tier image models like Nano Banana to create high-quality visual content automatically.

Batch Generation: Submit creation tasks in bulk — the Agent generates multiple pieces of content in parallel, perfect for matrix account operations and large-scale content distribution.

▶ Watch Demo Video

Create Demo Video

① Use the Website

The simplest way — just open your browser:


🔑 How to Get an API Key (Required for Steps Below)

Options ②③④ all need an API Key. You only need to get it once.

3 steps:

  1. Open aitoearn.cn (China) or aitoearn.ai (international), sign up and log in
  2. Click Settings in the left menu
  3. Go to API Key, click Create, and copy the generated key
Get API Key

⚠️ Keep your API Key safe. Do not share it with others.


② Use in OpenClaw

Prerequisite: Get an API Key first

Just one step — send this message to OpenClaw (replace your-api-key with your own):

Help me use mcporter to install this MCP server: https://aitoearn.ai/api/unified/mcp, authentication header is x-api-key: your-api-key

OpenClaw will handle the setup automatically. After that, you can say things like "publish a post to Rednote" directly.


③ Use in Claude / Cursor / Other AI Assistants

Prerequisite: Get an API Key first

AiToEarn works with any MCP-compatible AI assistant. Here's how to configure the most popular ones:

Claude Desktop

Find and edit claude_desktop_config.json, add:

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

In Cursor's MCP settings, add:

MCP URL: https://aitoearn.ai/api/unified/mcp Auth Header: x-api-key: your-api-key
Other AI Assistants (Generic Config)

Any MCP-compatible tool just needs two pieces of info:

SettingValue
MCP URLhttps://aitoearn.ai/api/unified/mcp
Auth Headerx-api-key: your-api-key

SSE transport is also available: https://aitoearn.ai/api/unified/sse

💡 For self-hosted instances, replace aitoearn.ai with your own address (e.g., localhost:8080).


④ Docker One-Click Deploy

Prerequisite: Docker installed

For teams wanting to run AiToEarn on their own server. 3 commands, no manual database setup:

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

Open http://localhost:8080 and you're ready to go.

Configure Relay (Strongly Recommended)

Why Relay? Publishing content requires logging into social media accounts (TikTok, Instagram, YouTube, etc.), which need OAuth developer credentials. With Relay, you can use the official aitoearn.ai credentials — no need to register as a developer on each platform.

Add to docker-compose.yml under aitoearn-server (see How to Get an API Key):

RELAY_SERVER_URL: https://aitoearn.ai/api RELAY_API_KEY: your-api-key RELAY_CALLBACK_URL: http://127.0.0.1:8080/api/plat/relay-callback

Then restart: docker compose restart aitoearn-server

📖 Full deployment guide (production config, AI services, OAuth, storage, etc.): DOCKER_DEPLOYMENT_EN.md.


⑤ Build from Source

🧪 Run backend & frontend manually (dev mode)

For local development and debugging. You can use Docker for MongoDB/Redis, or point to your own services.

1. Start the backend services

cd project/aitoearn-backend pnpm install # Copy config files for local development 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 # in another terminal pnpm nx serve aitoearn-server

2. Start the frontend aitoearn-web

pnpm install pnpm run dev
🖥️ Start Electron desktop project
# Clone the repo git clone https://github.com/yikart/AttAiToEarn.git # Enter directory cd AttAiToEarn # Install dependencies npm install # Compile sqlite (better-sqlite3 requires node-gyp and local Python) npm run rebuild # Start development npm run dev

The Electron project provides a desktop client for AiToEarn.

Contributing

Please see Contributing Guide to get started.

Contact

WeChat QR Code

Recommended