← all repositories
yikart/AiToEarn

The AI-powered social media farm you can self-host

A TypeScript Electron app that automates creating, posting, and engaging across 14 platforms for solo creators chasing ad revenue.

18.8k stars TypeScript AgentsApp Builders
AiToEarn
Velocity · 7d
+40
★ / day
Trend
steady
star history

What it does

AiToEarn is a desktop and web platform that wraps content creation, cross-platform publishing, automated engagement, and monetization into one interface. It targets “OPC” (one-person companies) and creators who want to run what is essentially a social media content farm without building the plumbing themselves. The app supports 14 platforms including Douyin, Xiaohongshu, Kuaishou, TikTok, YouTube, Instagram, X, and LinkedIn.

The interesting bit

The project leans heavily into MCP (Model Context Protocol), letting you control the entire pipeline through Claude, Cursor, or any MCP-compatible agent. You can literally tell your AI assistant to “make me money” and it will draft content, schedule posts, and hunt for engagement opportunities. The Docker self-host option includes a “Relay” feature that borrows the official service’s OAuth credentials so you don’t have to register developer accounts with every platform.

Key highlights

  • Four agent modules: Create (drafts via Grok/Veo/Seedance), Publish (calendar scheduling to 14 platforms), Engage (auto-like, auto-reply, comment mining), and Monetize (CPS/CPE/CPM task marketplace)
  • MCP server support: plug into Claude Desktop, Cursor, or OpenClaw with an API key and SSE endpoint
  • Docker Compose deployment with MongoDB/Redis included; optional Relay bypasses individual platform OAuth registration
  • Browser extension for automated interaction on all supported platforms
  • Electron + React desktop app with auto-updater

Caveats

  • Most non-web usage requires an API key from the official aitoearn.cn/aitoearn.ai service; self-hosting without Relay still needs platform OAuth credentials
  • The README is heavily China-market oriented with international support feeling bolted-on; documentation beyond Docker setup is sparse for self-hosters
  • “Automated liking, following, and commenting” sits in a gray area for most platforms’ Terms of Service

Verdict

Worth a look if you’re running multiple social accounts across Chinese and Western platforms and want to automate the grind. Skip it if you’re building something that needs clean platform API access without workaround relays, or if you find the engagement automation ethically dicey.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.