Files
moteva/refer/技术栈.md
T
root 44406b72db Initial commit: img-infinite-canvas AI design workbench MVP
Moteva-style AI design workbench replica. Home prompt creates a project;
the project page provides an infinite canvas with node drag, zoom/pan,
a design chat panel, history replay, image asset upload, and project
save/regenerate.

- Backend: go-zero, DDD layering, sqlc/pgx, optional PostgreSQL; memory
  or Redis cache; asynq job queue; MinIO/S3/R2/OSS object storage;
  sky-valley/pi agent runtime adapter.
- Frontend: Next.js App Router + Vite artifact build, TypeScript, i18n,
  shadcn/ui components, auth (OTP/Turnstile/Google/WeChat).
- Deploy: Docker Compose and k3s manifests.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-07 23:15:37 +08:00

15 lines
1.5 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.
产品对标:Moteva
其中,视频生成暂时不需要对接
1. go-zero + sqlc + pgx + PostgreSQL + 缓存技术(Redis 和 memory 可选,默认 memory) 高性能服务,需要践行 DDD 领域设计
2. pi-agent: https://github.com/sky-valley/pi (go 版本);可参考完美版 typescript 版本( https://github.com/earendil-works/pi Pi Agent Harness
This is the home of the Pi agent harness project including our self extensible coding agent.
@earendil-works/pi-coding-agent: Interactive coding agent CLI
@earendil-works/pi-agent-core: Agent runtime with tool calling and state management
@earendil-works/pi-ai: Unified multi-provider LLM API (OpenAI, Anthropic, Google, …)
1. next.js + pnpm + vite + typesript + gzip + i18n + ShadUI + less + MobX + 组件名是文件夹名,文件里可以放 index.tsx 和 index.less ,需要践行 DDD 领域设计
2. 前端复刻 skills 使用 frontend skills
3. 无线画布使用 https://github.com/basketikun/infinite-canvas 去除 本地 agent 功能,功能模仿 Moteva 来,可通过 mcp 查看 Moteva 实现原理然后抄过来,agent 需要支持 历史聊天记录回放;图片支持 oss 存储(R2, aws oss, aliyun oss 和 私有部署的 minio
4. 页面设计参考 refer/design 文件夹;首页设计 refer/design/home 页面 ;新建项目和打开最近项目页面 refer/design/project 页面 (使用了无限画布)
5. PostgreSQL 可以使用 docker 版本
6. 支持 本机二进制部署, docker compose 部署和 k3s 部署