yikart

    yikart/AiToEarn

    #305 this week

    Let's use AI to Earn!

    web
    auto-publish
    douyin
    douyin-api
    electron-app
    electron-react
    TypeScript
    MIT
    24.2K stars
    3.7K forks
    24.2K GitHub watchers
    Updated 7/25/2026
    View on GitHub

    Backblaze Generative Media Hackathon

    Build the next generation of AI media apps with Genblaze, stored on Backblaze B2. $10,000 in prizes.

    Enter the hackathon

    Loading star history...

    Use Cases & Benefits

    • AiToEarn is an AI-powered full-stack platform for content creation, multi-channel publishing, engagement, and monetization across major social media and content platforms.
    • Key technologies include TypeScript, Docker, MongoDB, Redis, and AI agents for automated content generation and publishing.
    • Strengths include broad platform support, AI automation, offline business scenario integration, and comprehensive analytics; limitations may include dependency on platform APIs and evolving AI features.
    • Organizations can deploy AiToEarn via Docker for scalable content marketing automation, enhancing brand presence and driving traffic through AI-driven multi-platform publishing and engagement.
    • Ideal use cases are content creators, brands, and businesses seeking to automate content marketing, increase online exposure, and monetize across platforms like TikTok, YouTube, Douyin, and Instagram.

    About AiToEarn

    Aitoearn: The Best Open-Source AI Agent for Content Marketing

    GitHub stars GitHub license Required Node.JS 20.18.x

    English | 简体中文

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

    AiToEarn helps 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), WeChat Channels, Kuaishou, Bilibili, WeChat Official Accounts, TikTok, YouTube, Facebook, Instagram, Threads, Twitter (X), Pinterest, LinkedIn

    🎥 Demo Video

    Watch the video

    Watch the video

    What's new:

    • 2025.02.07: 1.8.0 version, we introduced support for offline business scenarios, covering restaurants, retail stores, hotels and guesthouses, beauty and hair salons, gyms, and other types of physical businesses. This feature transforms offline promotional activities into executable online distribution tasks. Through content publishing and user participation mechanisms, it helps businesses gain more online exposure and in-store traffic.

    • 2025.01.06 : 1.5.3 version, deal with lots of issue

    • 2025.12.15 : "All In Agent" arrives! We've introduced a super AI agent that can automatically generate and publish content, and help you operate AiToEarn. v1.4.3

    • 2025.11.28 : Support automatic updates within the application. Add a large number of AI functions to the creation interface, such as abbreviation, expansion, image creation, video creation, tag generation, etc., supporting Nano Banana Pro.v1.4.0

    • 2025.11.12 : The first open-source, fully usable version,v1.3.2

    Table of Contents


    1. Quick Start for Creators (Apps & Web)
    2. Key Features
    3. Quick Start for Developers (Docker, Recommended)
    4. MCP Service
    5. Contact
    6. FAQ
    7. Recommended

    Quick Start for Creators

    Key Features

    🚀 AiToEarn is a full-stack AI-powered content growth & monetization platform. From creative ideas, to multi-channel publishing, to analytics & monetization — AiToEarn helps you truly Create · Publish · Engage · Monetize.

    Agent — AI Assistant

    • All In Agent: Let the AI agent help you create and publish content, assisting you in operating AiToEarn.

    1. Content Publishing — One-Click Multi-Platform

    • Distribute Everywhere: Publish to the widest range of global platforms (Douyin, Kwai, WeChat Channels, WeChat Offical Account, Bilibili, Rednote, Facebook, Instagram, TikTok, LinkedIn, Threads, YouTube, Pinterest, x(Twitter)).

    • Smart Import: Import historical content for fast re-editing & redistribution.

      • Example: Sync your Xiaohongshu posts to YouTube in one click.
    • Calendar Scheduler: Plan & coordinate content like a calendar across all platforms.

    2. Content Hotspot — Viral Inspiration Engine

    • Case Library: Explore how others create posts with 10,000+ likes.
    • Trend Radar: Discover the latest viral trends instantly, reduce creator anxiety.

    3. Content Search — Brand & Market Insights

    • Brand Monitoring: Track conversations about your brand in real-time.
    • Content Discovery: Search for posts, topics, and communities for targeted engagement.

    4. Comments Search — Precision User Mining

    • Smart Comment Search: Detect high-conversion signals like “link please” or “how to buy.”
    • Conversion Booster: Reply instantly, drive higher engagement & sales.

    5. Content Engagement — Growth Engine

    • Unified Dashboard: Manage all interactions in one place.
    • Proactive Engagement: Join trending conversations, connect with potential customers.
    • Turn passive operations into active traffic growth.

    6. Content Analytics — Full-Funnel Data

    • Cross-Platform Comparison: One platform may block traffic, but others won’t.
    • End-to-End Monitoring: Track performance and build your path to 1M+ followers.
    post

    7. (Coming Soon) AI Content Creation — End-to-End Assistant

    • AI Copywriting: Auto-generate titles, captions & descriptions.
    • AI Commenting: Engage proactively, attract traffic.
    • Image & Card Generator: Speed up content workflows.
    • Supported AI Video Models: Seedance, Kling, Hailuo, Veo, Medjourney, Sora, Pika, Runway.
    • Supported AI Image Models: GPT, Flux.
    • Next: Tag generator, smart DMs, video editing, AI avatars, translation for global distribution.

    8. (Coming Soon) Content Marketplace — Trade & Monetize

    • Creators: Sell your content directly, find buyers fast.
    • Brands: Purchase ready-made, high-quality content.
    • AI-Powered Growth: Let’s use AI to earn. Let’s earn money together!

    This is the easiest way to run AiToEarn. It will start the frontend, backend, MongoDB and Redis with one command.
    You do NOT need to install MongoDB or Redis on your machine manually.

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

    🌐 Access Applications

    After Docker starts successfully, you can access services at:

    ServiceURLDescription
    Web Frontendhttp://localhost:3000Web user interface
    Main Backend APIhttp://localhost:3002AiToEarn main server API
    Channel Service APIhttp://localhost:7001AiToEarn channel service API
    MongoDBlocalhost:27017MongoDB (inside Docker, uses username/password from .env)
    Redislocalhost:6379Redis (inside Docker, uses password from .env)

    ℹ️ MongoDB & Redis are both started by docker compose. You only need to configure their passwords in .env; no extra local installation is required.

    🧩 Advanced Configuration (.env)

    Edit the .env file to set secure values and customize your deployment:

    # Required security configurations
    MONGODB_PASSWORD=your-secure-mongodb-password
    REDIS_PASSWORD=your-secure-redis-password
    JWT_SECRET=your-jwt-secret-key
    INTERNAL_TOKEN=your-internal-token
    
    # If external access is needed, set your public API/domain
    NEXT_PUBLIC_API_URL=http://your-domain.com:3002/api
    APP_DOMAIN=your-domain.com
    

    ✅ In production, please use strong, random passwords and secrets.

    🧪 Optional: Run backend & frontend manually (dev mode)

    This mode is mainly for local development & debugging. You can still use Docker for MongoDB/Redis or point to your own services via .env.

    1. Start the backend services

    cd project/aitoearn-monorepo
    pnpm install
    npx nx serve aitoearn-channel
    # in another terminal
    npx nx serve aitoearn-server
    

    2. Start the frontend aitoearn-web

    pnpm install
    pnpm run dev
    
    🖥️ Optional: Start Electron desktop project
    # Clone the repo
    git clone https://github.com/yikart/AttAiToEarn.git
    
    # Enter directory
    cd AttAiToEarn
    
    # Install dependencies
    npm i
    
    # 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.

    MCP Service

    https://www.modelscope.cn/mcp/servers/whh826219822/aitoearn

    https://www.npmjs.com/~aitoearn?activeTab=packages

    Contact

    https://t.me/harryyyy2025

    FAQ

    Discover Repositories

    Search across tracked repositories by name or description