Skip to content

Let's use AI to Earn!

docs(readme): update new version and docker deployment instructions (#243)

yika8b3912db837d
diff --git a/README.md b/README.md
index 464bca58..5d0d104c 100644
--- a/README.md
+++ b/README.md
@@ -1,71 +1,137 @@
+
# [Aitoearn: The Best Open-Source AI Agent for Content Marketing](https://aitoearn.ai)
+
![GitHub stars](https://img.shields.io/github/stars/yikart/AttAiToEarn?color=fa6470)
![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)
-[![Required Node.JS 20.18.x](https://img.shields.io/static/v1?label=node&message=20.18.x%20&logo=node.js&color=3f893e)](https://nodejs.org/about/releases)
+[![Required Node.JS 20.18.x](https://img.shields.io/static/v1?label=node\&message=20.18.x%20\&logo=node.js\&color=3f893e)](https://nodejs.org/about/releases)
[简体中文](README_CN.md) | 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
+TikTok, YouTube, Facebook, Instagram, Threads, Twitter (X), Pinterest, LinkedIn
<details>
<summary><h2 style="display:inline;margin:0">Table of Contents</h2></summary>
-
+
<br/>
-
-1. [Quick Start](#quick-start)
-2. [Start Web Project](#start-web-project)
-3. [Start Electron Project](#start-electron-project)
-4. [Key Features](#key-features)
-5. [MCP Service](#mcp-service)
-6. [Advanced Setup](#advanced-setup)
-7. [Contribution Guide](#contribution-guide)
-8. [Contact](#contact)
-9. [Milestones](#milestones)
-10. [FAQ](#faq)
-11. [Recommended](#recommended)
+
+ 1. [Quick Start for Creators (Apps & Web)](#quick-start-for-creators-apps--web)
+ 2. [Quick Start for Developers (Docker, Recommended)](#quick-start-for-developers-docker-recommended)
+ 3. [Key Features](#key-features)
+ 4. [MCP Service](#mcp-service)
+ 5. [Advanced Setup](#advanced-setup)
+ 6. [Contribution Guide](#contribution-guide)
+ 7. [Contact](#contact)
+ 8. [Milestones](#milestones)
+ 9. [FAQ](#faq)
+ 10. [Recommended](#recommended)
</details>
-## Quick Start
-| OS | Download |
-| ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Android | [![Download Android](https://img.shields.io/badge/APK-Android1.2.2-green?logo=android&logoColor=white)](https://aitoearn-download.s3.ap-southeast-1.amazonaws.com/aitoearn-download/1.2.2/Aitoearn-1.2.2.apk) |
-| Windows | [![Download Windows](https://img.shields.io/badge/Setup-Windows1.2.2-blue?logo=windows&logoColor=white)](https://aitoearn-download.s3.ap-southeast-1.amazonaws.com/aitoearn-download/1.2.2/AiToEarnSetup-1.2.2.exe) |
-| macOS | [![Download macOS](https://img.shields.io/badge/DMG-macOS1.2.2-black?logo=apple&logoColor=white)](https://aitoearn-download.s3.ap-southeast-1.amazonaws.com/aitoearn-download/1.2.2/AiToEarn+1.2.2.dmg) |
-| iOS | **Coming soon!** |
-| Web | [Use on Web](https://aitoearn.ai/en/accounts) |
+
+
+
+## Quick Start for Creators (Apps & Web)
+
+OS | Download
+-- | --
+Android | [![Download Android](https://img.shields.io/badge/APK-Android1.3.2-green?logo=android&logoColor=white)](https://aitoearn-download.s3.ap-southeast-1.amazonaws.com/aitoearn-download/1.3.2/AiToEarn-1.3.2-internal-arm64-v8a.apk)
+Windows | [![Download Windows](https://img.shields.io/badge/Setup-Windows1.3.2-blue?logo=windows&logoColor=white)](https://aitoearn-download.s3.ap-southeast-1.amazonaws.com/aitoearn-download/1.3.2/AiToEarn-Setup-1.3.2.exe)
+macOS | [![Download macOS](https://img.shields.io/badge/DMG-macOS1.3.2-black?logo=apple&logoColor=white)](https://aitoearn-download.s3.ap-southeast-1.amazonaws.com/aitoearn-download/1.3.2/AiToEarn+1.3.2.dmg)
+iOS | **Coming soon!**
+Web | [Use on Web](https://aitoearn.ai/en/accounts)
[Google Play Download](https://play.google.com/store/apps/details?id=com.yika.aitoearn.aitoearn_app)
-## Start Web Project
-### 1. Start the backend service
+## Quick Start for Developers (Docker, Recommended)
+
+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.
+
+```bash
+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:
+
+| Service | URL | Description |
+| ----------------------- | ---------------------------------------------- | ----------------------------------------------------------- |
+| **Web Frontend** | [http://localhost:3000](http://localhost:3000) | Web user interface |
+| **Main Backend API** | [http://localhost:3002](http://localhost:3002) | AiToEarn main server API |
+| **Channel Service API** | [http://localhost:7001](http://localhost:7001) | AiToEarn channel service API |
+| **MongoDB** | localhost:27017 | MongoDB (inside Docker, uses username/password from `.env`) |
+| **Redis** | localhost:6379 | Redis (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:
+
+```bash
+# 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.
+
+
+
+<details>
+<summary>🧪 Optional: Run backend & frontend manually (dev mode)</summary>
+
+This mode is mainly for local development & debugging.
+You can still use Docker for MongoDB/Redis or point to your own services via `.env`.
-For local setup:
-Create a `local.config.js` file under the `config` directory (copy from `./aitoearn_web/server/aitoearn-user/config/dev.config.js` and adjust configs).
+#### 1. Start the backend services
```bash
+cd project/aitoearn-monorepo
pnpm install
-pnpm run dev:local
+npx nx serve aitoearn-channel
+# in another terminal
+npx nx serve aitoearn-server
```
-### 2. Start the frontend `aitoearn-web`
+#### 2. Start the frontend `aitoearn-web`
```bash
pnpm install
pnpm run dev
```
-## Start Electron Project
+</details>
+
+
-```sh
+<details>
+<summary>🖥️ Optional: Start Electron desktop project</summary>
+
+```bash
# Clone the repo
git clone https://github.com/yikart/AttAiToEarn.git
@@ -75,26 +141,33 @@ cd AttAiToEarn
# Install dependencies
npm i
-# Compile sqlite (better-sqlite3 requires node-gyp, Python must be installed locally)
+# 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.
+
+</details>
+
+
+
+
## 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.**
-### 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)).
-- **(Coming soon) Smart Import**: Import historical content for fast re-editing & redistribution.
+### 1. Content Publishing — One-Click Multi-Platform
- - Example: Sync your Xiaohongshu posts to YouTube in one click.
+* **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)).
+* **(Coming soon) Smart Import**: Import historical content for fast re-editing & redistribution.
-- **Calendar Scheduler**: Plan & coordinate content like a calendar across all platforms.
+ * Example: Sync your Xiaohongshu posts to YouTube in one click.
+* **Calendar Scheduler**: Plan & coordinate content like a calendar across all platforms.
<div style="display: flex; justify-content: space-around;">
<img src="presentation/app-screenshot/1. content publish/calendar.jpeg" width="30%">
<img src="presentation/app-screenshot/1. content publish/support_channels.jpeg" width="30%">
@@ -102,8 +175,8 @@ From creative ideas, to multi-channel publishing, to analytics & monetization
### 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.
+* **Case Library**: Explore how others create posts with 10,000+ likes.
+* **Trend Radar**: Discover the latest viral trends instantly, reduce creator anxiety.
<div style="display: flex; justify-content: space-around;">
<img src="presentation/app-screenshot/2. content hotspot/hotspot.jpg" width="22%">
<img src="presentation/app-screenshot/2. content hotspot/hotspot2.jpeg" width="22%">
@@ -113,8 +186,8 @@ From creative ideas, to multi-channel publishing, to analytics & monetization
### 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.
+* **Brand Monitoring**: Track conversations about your brand in real-time.
+* **Content Discovery**: Search for posts, topics, and communities for targeted engagement.
<div style="display:flex; justify-content:space-between; align-items:center;">
<img src="presentation/app-screenshot/3.%20content%20search/contentsearch.gif" width="22%">
@@ -123,10 +196,11 @@ From creative ideas, to multi-channel publishing, to analytics & monetization
<img src="presentation/app-screenshot/3.%20content%20search/contentsearch4.jpeg" width="22%">
</div>
+
### 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.
+* **Smart Comment Search**: Detect high-conversion signals like “link please” or “how to buy.”
+* **Conversion Booster**: Reply instantly, drive higher engagement & sales.
<div style="display:flex; justify-content:space-between; align-items:center;">
<img src="presentation/app-screenshot/4. comments search/commentsearch.gif" width="30%">
<img src="presentation/app-screenshot/4. comments search/commentfilter.jpeg" width="30%">
@@ -134,9 +208,9 @@ From creative ideas, to multi-channel publishing, to analytics & monetization
### 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.**
+* **Unified Dashboard**: Manage all interactions in one place.
+* **Proactive Engagement**: Join trending conversations, connect with potential customers.
+* Turn **passive operations** into **active traffic growth.**
<div style="display:flex; justify-content:space-between; align-items:center;">
<img src="presentation/app-screenshot/5. content engagement/commentfilter2.jpeg" width="30%">
@@ -144,71 +218,80 @@ From creative ideas, to multi-channel publishing, to analytics & monetization
### 6. (Coming Soon) 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.
+* **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.
<img src="./presentation/data_center.png" alt="post" width="500"/>
### 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.
+* **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**:
+* **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!**
-## MCP Service
+## MCP Service
https://www.modelscope.cn/mcp/servers/whh826219822/aitoearn
https://www.npmjs.com/~aitoearn?activeTab=packages
+
## Advanced Setup
AiToEarn integrates with many official APIs. Developer key setup guides:
-- [Bilibili](./aitoearn_web/CHANNEL_Md/BILIBILI.md)
-- [WeChat Official Accounts](./aitoearn_web/CHANNEL_Md/WXPLAT.md)
+* [Bilibili](./aitoearn_web/CHANNEL_Md/BILIBILI.md)
+* [WeChat Official Accounts](./aitoearn_web/CHANNEL_Md/WXPLAT.md)
+
## Contribution Guide
See [Contribution Guide](./aitoearn_web/CONTRIBUTING.md) to get started.
-## Contact
+## Contact
https://t.me/harryyyy2025
-## Milestones
-- 2025.02.26 — Released win-0.1.1
-- 2025.03.15 — Released win-0.2.0
-- 2025.04.18 — Released win-0.6.0
-- 2025.05.20 — Released win-0.8.0
-- 2025.08.08 — [Released win-0.8.1](https://github.com/yikart/AiToEarn/releases/tag/v0.8.1)
-- 2025.08.08 — [Released web-0.1-beta](./aitoearn_web/README.md)
-- 2025.09.16 — [Released v1.0.18](https://github.com/yikart/AiToEarn/releases/tag/v1.0.18)
-- 2025.10.01 — [Released v1.0.27](https://github.com/yikart/AiToEarn/releases/tag/v1.0.27)
+## Milestones
+* 2025.02.26 — Released win-0.1.1
+* 2025.03.15 — Released win-0.2.0
+* 2025.04.18 — Released win-0.6.0
+* 2025.05.20 — Released win-0.8.0
+* 2025.08.08 — [Released win-0.8.1](https://github.com/yikart/AiToEarn/releases/tag/v0.8.1)
+* 2025.08.08 — [Released web-0.1-beta](./aitoearn_web/README.md)
+* 2025.09.16 — [Released v1.0.18](https://github.com/yikart/AiToEarn/releases/tag/v1.0.18)
+* 2025.10.01 — [Released v1.0.27](https://github.com/yikart/AiToEarn/releases/tag/v1.0.27)
+* 2025.11.01 — [First Usable Version: v1.2.2](https://github.com/yikart/AiToEarn/releases/tag/v1.2.2)
+* 2025.11.12 — [The first open-source, fully usable release. Released: v1.3.2](https://github.com/yikart/AiToEarn/releases/tag/v1.3.2)
---
## [FAQ](https://heovzp8pm4.feishu.cn/wiki/UksHwxdFai45SvkLf0ycblwRnTc?from=from_copylink)
+
## Recommended
**[AWS Activate Program](https://www.amazonaws.cn/en/campaign/ps-yunchuang/)**
**[AI Model Hub](https://api.zyai.online/)**
-- [https://github.com/TMElyralab/MuseTalk](https://github.com/TMElyralab/MuseTalk)
-- [https://github.com/5ime/video_spider](https://github.com/5ime/video_spider)
-- [https://github.com/FunAudioLLM/CosyVoice?tab=readme-ov-file](https://github.com/FunAudioLLM/CosyVoice?tab=readme-ov-file)
-- [https://github.com/facefusion/facefusion](https://github.com/facefusion/facefusion)
-- [https://github.com/linyqh/NarratoAI](https://github.com/linyqh/NarratoAI)
-- [https://github.com/harry0703/MoneyPrinterTurbo](https://github.com/harry0703/MoneyPrinterTurbo)
+* [https://github.com/TMElyralab/MuseTalk](https://github.com/TMElyralab/MuseTalk)
+* [https://github.com/5ime/video\_spider](https://github.com/5ime/video_spider)
+* [https://github.com/FunAudioLLM/CosyVoice?tab=readme-ov-file](https://github.com/FunAudioLLM/CosyVoice?tab=readme-ov-file)
+* [https://github.com/facefusion/facefusion](https://github.com/facefusion/facefusion)
+* [https://github.com/linyqh/NarratoAI](https://github.com/linyqh/NarratoAI)
+* [https://github.com/harry0703/MoneyPrinterTurbo](https://github.com/harry0703/MoneyPrinterTurbo)
+
+
+
diff --git a/README_CN.md b/README_CN.md
index 526d2e30..9cd3e33d 100644
--- a/README_CN.md
+++ b/README_CN.md
@@ -11,60 +11,112 @@
AiToEarn 通过**AI 自动化**,帮助创作者、品牌与企业在全球主流平台上构建、分发并变现内容。
支持渠道:
-抖音(Douyin)、小红书(Rednote)、视频号(WeChat Channels)、快手(Kuaishou)、哔哩哔哩(Bilibili)、微信公众号(WeChat Official Accounts)、TikTok、YouTube、Facebook、Instagram、Threads、Twitter(X)、Pinterest
+抖音、小红书(Rednote)、视频号、快手、哔哩哔哩、微信公众号,
+TikTok、YouTube、Facebook、Instagram、Threads、Twitter(X)、Pinterest、LinkedIn
<details>
<summary><h2 style="display:inline;margin:0">目录</h2></summary>
<br/>
-1. [快速开始](#quick-start)
-2. [启动 Web 项目](#start-web-project)
-3. [启动 Electron 项目](#start-electron-project)
-4. [核心功能](#key-features)
-5. [MCP 服务](#mcp-service)
-6. [高级设置](#advanced-setup)
-7. [贡献指南](#contribution-guide)
-8. [联系](#contact)
-9. [里程碑](#milestones)
-10. [常见问题](#faq)
-11. [推荐](#recommended)
+ 1. [创作者快速开始(应用程序与网页版)](#quick-start-for-creators)
+ 2. [开发者快速开始(Docker,推荐)](#quick-start-for-developers)
+ 3. [核心功能](#key-features)
+ 4. [MCP 服务](#mcp-service)
+ 5. [高级设置](#advanced-setup)
+ 6. [贡献指南](#contribution-guide)
+ 7. [联系](#contact)
+ 8. [里程碑](#milestones)
+ 9. [常见问题](#faq)
+ 10. [推荐](#recommended)
</details>
-<h2 id="quick-start">快速开始</h2>
+## 创作者快速开始(应用程序与网页版)
-| 操作系统 | 下载 |
-| -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Android | [![Download Android](https://img.shields.io/badge/APK-Android1.1.0-green?logo=android&logoColor=white)](<(https://github.com/yikart/AiToEarn/releases/download/v1.1.0/aitoearn-1.1.0.apk)>) |
-| Windows | [![Download Windows](https://img.shields.io/badge/Setup-Windows1.1.0-blue?logo=windows&logoColor=white)](https://github.com/yikart/AiToEarn/releases/download/v1.1.0/AiToEarnSetup-1.1.0.exe) |
-| macOS | [![Download macOS](https://img.shields.io/badge/DMG-macOS1.1.0-black?logo=apple&logoColor=white)](https://github.com/yikart/AiToEarn/releases/download/v1.1.0/AiToEarn.1.1.0.dmg) |
-| iOS | **Coming soon!** |
-| Web | [Use on Web](https://aitoearn.ai/en/accounts) |
+| 操作系统 | 下载 |
+| -- | -- |
+| Android | [![Download Android](https://img.shields.io/badge/APK-Android1.3.2-green?logo=android&logoColor=white)](https://aitoearn-download.s3.ap-southeast-1.amazonaws.com/aitoearn-download/1.3.2/AiToEarn-1.3.2-internal-arm64-v8a.apk) |
+| Windows | [![Download Windows](https://img.shields.io/badge/Setup-Windows1.3.2-blue?logo=windows&logoColor=white)](https://aitoearn-download.s3.ap-southeast-1.amazonaws.com/aitoearn-download/1.3.2/AiToEarn-Setup-1.3.2.exe) |
+| macOS | [![Download macOS](https://img.shields.io/badge/DMG-macOS1.3.2-black?logo=apple&logoColor=white)](https://aitoearn-download.s3.ap-southeast-1.amazonaws.com/aitoearn-download/1.3.2/AiToEarn+1.3.2.dmg) |
+| iOS | **即将推出!** |
+| Web | [网页版使用](https://aitoearn.ai/en/accounts) |
[Google Play 下载](https://play.google.com/store/apps/details?id=com.yika.aitoearn.aitoearn_app)
-<h2 id="start-web-project">启动 Web 项目</h2>
+## 开发者快速开始(Docker,推荐)
-### 1. 启动后端服务
+这是运行 AiToEarn 最简单的方式。它将通过一条命令启动**前端、后端、MongoDB 和 Redis**。
+您**无需**在机器上手动安装 MongoDB 或 Redis。
-用于本地开发:
-在 `config` 目录下创建 `local.config.js`(可从 `./aitoearn_web/server/aitoearn-user/config/dev.config.js` 复制并按需修改)。
+```bash
+git clone https://github.com/yikart/AiToEarn.git
+cd AiToEarn
+cp env.example .env
+docker compose up -d
+```
+
+### 🌐 访问应用
+
+Docker 成功启动后,您可以通过以下地址访问服务:
+
+| 服务 | URL | 描述 |
+| ----------------------- | ---------------------------------------------- | ----------------------------------------------------------- |
+| **Web 前端** | [http://localhost:3000](http://localhost:3000) | Web 用户界面 |
+| **主后端 API** | [http://localhost:3002](http://localhost:3002) | AiToEarn 主服务器 API |
+| **渠道服务 API** | [http://localhost:7001](http://localhost:7001) | AiToEarn 渠道服务 API |
+| **MongoDB** | localhost:27017 | MongoDB(在 Docker 内部,使用 `.env` 中的用户名/密码) |
+| **Redis** | localhost:6379 | Redis(在 Docker 内部,使用 `.env` 中的密码) |
+
+> ℹ️ MongoDB 和 Redis 都由 `docker compose` 启动。
+> 您只需在 `.env` 中配置它们的密码;无需额外的本地安装。
+
+### 🧩 高级配置(.env)
+
+编辑 `.env` 文件以设置安全值并自定义您的部署:
+
+```bash
+# 必需的安全配置
+MONGODB_PASSWORD=your-secure-mongodb-password
+REDIS_PASSWORD=your-secure-redis-password
+JWT_SECRET=your-jwt-secret-key
+INTERNAL_TOKEN=your-internal-token
+
+# 如果需要外部访问,请设置您的公共 API/域名
+NEXT_PUBLIC_API_URL=http://your-domain.com:3002/api
+APP_DOMAIN=your-domain.com
+```
+
+> ✅ 在生产环境中,请使用强随机密码和密钥。
+
+<details>
+<summary>🧪 可选:手动运行后端和前端(开发模式)</summary>
+
+此模式主要用于本地开发和调试。
+您仍然可以使用 Docker 运行 MongoDB/Redis,或通过 `.env` 指向您自己的服务。
+
+#### 1. 启动后端服务
```bash
+cd project/aitoearn-monorepo
pnpm install
-pnpm run dev:local
+npx nx serve aitoearn-channel
+# 在另一个终端
+npx nx serve aitoearn-server
```
-### 2. 启动前端 `aitoearn-web`
+#### 2. 启动前端 `aitoearn-web`
```bash
pnpm install
pnpm run dev
```
-<h2 id="start-electron-project">启动 Electron 项目</h2>
+</details>
+
+<details>
+<summary>🖥️ 可选:启动 Electron 桌面项目</summary>
-```sh
+```bash
# 克隆仓库
git clone https://github.com/yikart/AttAiToEarn.git
@@ -74,13 +126,17 @@ cd AttAiToEarn
# 安装依赖
npm i
-# 编译 sqlite(better-sqlite3 依赖 node-gyp,本地需安装 Python)
+# 编译 sqlite(better-sqlite3 需要 node-gyp 和本地 Python)
npm run rebuild
# 启动开发
npm run dev
```
+Electron 项目为 AiToEarn 提供桌面客户端。
+
+</details>
+
<h2 id="key-features">核心功能</h2>
🚀 **AiToEarn 是一个全链条的 AI 驱动内容增长与变现平台。**
@@ -169,8 +225,9 @@ npm run dev
<h2 id="mcp-service">MCP 服务</h2>
-[https://www.modelscope.cn/mcp/servers/whh826219822/aitoearn](https://www.modelscope.cn/mcp/servers/whh826219822/aitoearn)
-[https://www.npmjs.com/\~aitoearn?activeTab=packages](https://www.npmjs.com/~aitoearn?activeTab=packages)
+https://www.modelscope.cn/mcp/servers/whh826219822/aitoearn
+
+https://www.npmjs.com/~aitoearn?activeTab=packages
<h2 id="advanced-setup">高级设置</h2>
@@ -197,10 +254,12 @@ AiToEarn 集成了多种官方 API。以下是开发者密钥配置指南:
- 2025.08.08 — [发布 web-0.1-beta](./aitoearn_web/README.md)
- 2025.09.16 — [发布 v1.0.18](https://github.com/yikart/AiToEarn/releases/tag/v1.0.18)
- 2025.10.01 — [发布 v1.0.27](https://github.com/yikart/AiToEarn/releases/tag/v1.0.27)
+- 2025.11.01 — [首个可用版本:v1.2.2](https://github.com/yikart/AiToEarn/releases/tag/v1.2.2)
+- 2025.11.12 — [首个开源、完全可用的版本。发布:v1.3.2](https://github.com/yikart/AiToEarn/releases/tag/v1.3.2)
---
-## [常见问题](https://docs.aitoearn.ai)
+## [常见问题](https://heovzp8pm4.feishu.cn/wiki/UksHwxdFai45SvkLf0ycblwRnTc?from=from_copylink)
<h2 id="recommended">推荐</h2>