EternalAI/README.md

51 lines
1.6 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Eternal AI
AI 陪伴平台 — 开放给人设创作者进行人设设定并发布,生成 Hermes agent 可用的配置文件Soul.md + config.yaml
## 项目结构
```
EternalAI/
├── index.html # 单页应用入口9 个视图)
├── app.js # 应用逻辑(路由、状态管理、表单生成)
├── styles.css # 样式(玻璃拟态、深空背景)
├── server.js # Express 静态服务器(端口 3001
├── img/ # 背景与卡片素材
├── docs/plans/ # 规划文档
├── Eternal_AI_PRD_v1.docx # 产品需求文档
└── package.json
```
## 快速开始
```bash
# 方式一Express 服务器
npm install && npm start
# → http://localhost:3001
# 方式二:任意静态服务器
python3 -m http.server 8083
# → http://localhost:8083
```
## 页面一览
| 页面 | 视图 ID | 说明 |
|------|---------|------|
| 首页 | landing | 两张入口卡片 + 底部链接 |
| 登录/注册 | auth | 登录态分流 |
| 角色库 | role-library | 创作者上架的角色列表 |
| 角色详情 | role-detail | 单个角色详情 + 付款流程 |
| 蒸馏前任 | distill | 自营情感服务介绍页 |
| 关于 Eternal AI | about | 平台简介 + FAQ |
| 创作者入驻 | onboarding | 合作说明 + 微信联系方式 |
| 创作者管理中心 | creator-center | 角色/收入/设置 三 tab |
| 角色编辑 | creator | 4 步表单 → 生成 Soul.md + config.yaml |
## 技术栈
- 纯前端 HTML5 SPAIIFE 模式,无框架)
- localStorage 持久化登录态
- Express 静态文件服务
- 玻璃拟态 UI + 深空背景