diff --git a/docs/INDEX.md b/docs/INDEX.md index 7c5d501..b5ec3a0 100644 --- a/docs/INDEX.md +++ b/docs/INDEX.md @@ -21,6 +21,7 @@ Use this page to discover repository documentation. `authoritative` documents de | [development/CI-validation.md](development/CI-validation.md) | Pull-request and main-branch validation | authoritative | | [development/CI-build-and-release.md](development/CI-build-and-release.md) | Tagged firmware builds and releases | authoritative | | [development/CI-sync-main.md](development/CI-sync-main.md) | Fork upstream synchronization | authoritative | +| [development/publish-to-community.md](development/publish-to-community.md) | Publish firmware to the AI Passport community market | authoritative | | [fork-guide.md](fork-guide.md) | Fork branch and documentation workflow | authoritative | | [hardware-design/README.md](hardware-design/README.md) | Hardware-document index | reference | | [hardware-design/AI_HARDWARE_DEVELOPMENT_GUIDE.md](hardware-design/AI_HARDWARE_DEVELOPMENT_GUIDE.md) | Board facts, constraints, validation, and troubleshooting | authoritative | diff --git a/docs/INDEX.zh_CN.md b/docs/INDEX.zh_CN.md index 67d033f..d673059 100644 --- a/docs/INDEX.zh_CN.md +++ b/docs/INDEX.zh_CN.md @@ -22,6 +22,7 @@ | [development/CI-build-and-release.zh_CN.md](./development/CI-build-and-release.zh_CN.md) | CI 文档 | authoritative | 自动构建与发布说明(tag 触发自动编译固件并发布 Release) | | [development/CI-validation.zh_CN.md](./development/CI-validation.zh_CN.md) | CI 文档 | authoritative | PR/main 自动仓库检查、host tests 与固件验证 | | [development/CI-sync-main.zh_CN.md](./development/CI-sync-main.zh_CN.md) | CI 文档 | authoritative | 上游同步说明(定期同步上游 main 到 fork) | +| [development/publish-to-community.zh_CN.md](./development/publish-to-community.zh_CN.md) | 工程规范 | authoritative | 发布到 AI Passport 社区市场 | | [fork-guide.zh_CN.md](./fork-guide.zh_CN.md) | fork 工作流 | authoritative | 目录结构、main 保持干净、fork 约定、docs/assets 使用 | | [software-design/README.zh_CN.md](./software-design/README.zh_CN.md) | 软件设计索引 | 参考 | 软件设计文档子目录骨架 | | [hardware-design/README.zh_CN.md](./hardware-design/README.zh_CN.md) | 硬件设计索引 | 参考 | 硬件设计文档子目录骨架 | diff --git a/docs/assets/brand/README.md b/docs/assets/brand/README.md new file mode 100644 index 0000000..42b4974 --- /dev/null +++ b/docs/assets/brand/README.md @@ -0,0 +1,58 @@ +

+ 简体中文 · English +

+ +# AI Passport Brand Visuals + +This directory holds official product and brand visual references for the AI Passport. Use these images as the visual baselines when generating marketing or showcase renders with AI image tools. + +## Overview + +The AI Passport is a wearable device (named **Folotoy** on the device and in the community). The references cover the physical product from the front and back, plus three brand-colored shell renders of the front. Each image keeps the product silhouette, port/button placement, and shell color important details. The screen content is not a fixed requirement — the AI Passport is a programmable wearable, so the screen may be fully replaced depending on the play or firmware. When generating a render, keep the outside hardware (shell, buttons, ports, key-ring hole) consistent and treat the on-screen content as flexible. + +## Images + +### Product references + +| File | View | Notes | +| --- | --- | --- | +| [`ai-passport-front.png`](ai-passport-front.png) | Front | Transparent shell; on-screen content is illustrative and may be replaced. Keep the shell, buttons, ports, and key-ring hole when generating a matching render. | +| [`ai-passport-back.webp`](ai-passport-back.webp) | Back | Transparent shell over the PCB; `FOLOTOY` logo, `AI PASS WEARABLE DEVICE`, power/STA/BATT/USB/NFC LEDs, an `NFC` label, the `AI PASSport` title with `Wear it. Flash it. Make it anything.` and a QR code. | + +### Brand-color shell renders (front) + +| File | Color | Model badge | Notes | +| --- | --- | --- | --- | +| [`ai-passport-front-eva-01.png`](ai-passport-front-eva-01.png) | Purple | `01` | Unit-01 (EVA) colorway; `TEST TYPE` badge. | +| [`ai-passport-front-eva-00.png`](ai-passport-front-eva-00.png) | Orange | `00` | Unit-00 (EVA) colorway; `PROTOTYPE MODEL` badge. | +| [`ai-passport-front-eva-02.png`](ai-passport-front-eva-02.png) | Red | `02` | Unit-02 (EVA) colorway; `PRODUCTION MODEL` badge. | + +All three color renders are 1024 × 1536 PNG and share the same shell layout as the standard front (`ai-passport-front.png`). Their on-screen content is illustrative and may be replaced; the screen image itself is not a requirement for a generated render. + +## Image dimensions + +| File | Format | Dimensions | Size | +| --- | --- | --- | --- | +| `ai-passport-front.png` | PNG | 605 × 931 | 460 KB | +| `ai-passport-back.webp` | WebP | — | 118 KB | +| `ai-passport-front-eva-01.png` | PNG | 1024 × 1536 | 2.0 MB | +| `ai-passport-front-eva-00.png` | PNG | 1024 × 1536 | 2.0 MB | +| `ai-passport-front-eva-02.png` | PNG | 1024 × 1536 | 2.0 MB | + +## How to generate new renders + +When generating a marketing or showcase render from these references, keep the following consistent: + +- **External hardware**: keep the rounded-corner shell, top key-ring hole, side buttons, and ports consistent with the reference. +- **Screen content**: not a requirement. The screen is a programmable display and its image may be fully replaced by the play or firmware; leave it flexible in generated renders. +- **Logo and label text**: keep `Folotoy` / `FOLOTOY`, the model name, and any tagline as shown on the shell. +- **Colorways**: use the shell reference as the base and change only the accent/shell palette for a new variant (for example a white, green, or black edition). +- **Aspect**: renders at a 2:3 vertical ratio read best for the front view. + +Unless the reference image is licensed for reuse, use these files as an internal visual baseline rather than recycling them verbatim into published assets. + +## Usage + +- Reference the local files in this directory when generating images with an AI tool; the source files are under `docs/assets/brand/`. +- Document any new render you create here by adding a row to the tables above and linking the generated file in this directory. +- Keep product facts (labels, model names, hardware features) accurate; do not invent hardware that is not present in the references. On-screen status text is illustrative and not a fixed requirement. diff --git a/docs/assets/brand/README.zh_CN.md b/docs/assets/brand/README.zh_CN.md new file mode 100644 index 0000000..71e5e21 --- /dev/null +++ b/docs/assets/brand/README.zh_CN.md @@ -0,0 +1,58 @@ +

+ English · 简体中文 +

+ +# AI Passport 品牌视觉素材 + +本目录存放 AI Passport 的官方产品与品牌视觉参考图。用 AI 图像工具生成市场宣传图或展示效果图时,请以这些图片作为视觉基线。 + +## 概览 + +AI Passport 是一款穿戴设备(设备上与社区中名为 **Folotoy**)。参考图覆盖产品正面与背面,以及三种品牌色的正面外壳渲染图。每张图保持产品轮廓、接口与按键位置、外壳配色等关键特征。**屏幕显示内容不作硬性要求**——AI Passport 是可编程穿戴设备,屏幕内容可能随玩法或固件整体替换;生成效果图时保持外壳硬件(外壳、按键、接口、挂绳孔)一致,屏显内容灵活处理。 + +## 图片清单 + +### 产品参考图 + +| 文件 | 视角 | 说明 | +| --- | --- | --- | +| [`ai-passport-front.png`](ai-passport-front.png) | 正面 | 透明外壳;屏幕上内容仅为示意、可被替换。生成匹配效果图时保持外壳、按键、接口与挂绳孔一致。 | +| [`ai-passport-back.webp`](ai-passport-back.webp) | 背面 | 透明外壳内可见 PCB;`FOLOTOY` logo、`AI PASS WEARABLE DEVICE`、电源/STA/BATT/USB/NFC 指示灯、`NFC` 标签、`AI PASSport` 标题与 `Wear it. Flash it. Make it anything.` 及二维码。 | + +### 品牌色外壳渲染图(正面) + +| 文件 | 配色 | 型号徽标 | 说明 | +| --- | --- | --- | --- | +| [`ai-passport-front-eva-01.png`](ai-passport-front-eva-01.png) | 紫色 | `01` | 初号机(Unit-01)配色;`TEST TYPE` 徽标。 | +| [`ai-passport-front-eva-00.png`](ai-passport-front-eva-00.png) | 橙色 | `00` | 零号机(Unit-00)配色;`PROTOTYPE MODEL` 徽标。 | +| [`ai-passport-front-eva-02.png`](ai-passport-front-eva-02.png) | 红色 | `02` | 二号机(Unit-02)配色;`PRODUCTION MODEL` 徽标。 | + +三张配色渲染图均为 1024 × 1536 PNG,外壳版式与标准正面图(`ai-passport-front.png`)一致。屏显内容仅为示意、可被替换;屏幕图像本身不是生成效果图时的硬性要求。 + +## 图片尺寸 + +| 文件 | 格式 | 尺寸 | 大小 | +| --- | --- | --- | --- | +| `ai-passport-front.png` | PNG | 605 × 931 | 460 KB | +| `ai-passport-back.webp` | WebP | — | 118 KB | +| `ai-passport-front-eva-01.png` | PNG | 1024 × 1536 | 2.0 MB | +| `ai-passport-front-eva-00.png` | PNG | 1024 × 1536 | 2.0 MB | +| `ai-passport-front-eva-02.png` | PNG | 1024 × 1536 | 2.0 MB | + +## 如何生成新的渲染图 + +当基于这些参考图生成市场宣传或展示图时,请保持一致: + +- **外部硬件**:保持圆角外壳、顶部挂绳孔、侧键与接口与参考一致。 +- **屏幕内容**:不作要求。屏幕是可编程显示屏,其图像可能被玩法或固件整体替换;生成效果图时保持灵活即可。 +- **Logo 与标签文字**:保留外壳上的 `Folotoy` / `FOLOTOY`、型号名与标语。 +- **配色**:以外壳参考图为基础,仅改变外壳/强调色以生成新变体(如白色、绿色或黑色版)。 +- **比例**:正面视角按 2:3 竖版比例渲染效果最佳。 + +除非参考图本身允许复用,请把这些文件作为内部视觉基线,而不是原样搬运到公开发布的素材中。 + +## 使用方式 + +- 用 AI 工具生成图片时,请引用本目录下的文件;源文件位于 `docs/assets/brand/`。 +- 如果你生成了新的渲染图,请在上方表格中新增一行,并把生成文件链接进本目录。 +- 保持产品事实(标签、型号名、硬件特性)准确;不要虚构参考图中不存在的硬件。屏显状态文字仅为示意、不是硬性要求。 diff --git a/docs/assets/brand/ai-passport-back.webp b/docs/assets/brand/ai-passport-back.webp new file mode 100644 index 0000000..6db5690 Binary files /dev/null and b/docs/assets/brand/ai-passport-back.webp differ diff --git a/docs/assets/brand/ai-passport-front-eva-00.png b/docs/assets/brand/ai-passport-front-eva-00.png new file mode 100644 index 0000000..7ae8dcc Binary files /dev/null and b/docs/assets/brand/ai-passport-front-eva-00.png differ diff --git a/docs/assets/brand/ai-passport-front-eva-01.png b/docs/assets/brand/ai-passport-front-eva-01.png new file mode 100644 index 0000000..525882c Binary files /dev/null and b/docs/assets/brand/ai-passport-front-eva-01.png differ diff --git a/docs/assets/brand/ai-passport-front-eva-02.png b/docs/assets/brand/ai-passport-front-eva-02.png new file mode 100644 index 0000000..a2a6fe9 Binary files /dev/null and b/docs/assets/brand/ai-passport-front-eva-02.png differ diff --git a/docs/assets/brand/ai-passport-front.png b/docs/assets/brand/ai-passport-front.png new file mode 100644 index 0000000..4f8e1cc Binary files /dev/null and b/docs/assets/brand/ai-passport-front.png differ diff --git a/docs/brand-and-product.md b/docs/brand-and-product.md index 40136fa..780e7f0 100644 --- a/docs/brand-and-product.md +++ b/docs/brand-and-product.md @@ -36,6 +36,12 @@ Both flashers write local firmware through WebSerial without uploading the firmw The official play catalog changes over time; treat the live website as authoritative rather than copying a permanent list into engineering decisions. +## Brand visuals + +Official product and brand visual references live in [`docs/assets/brand/`](assets/brand/README.md). They include the product from the front and back, plus three brand-colored shell renders of the front (the EVA purple, orange, and red colorways). These images are the visual baseline for AI Passport marketing and showcase material. + +You can use these references as input when generating render images with an AI image tool. Keep the product silhouette, external hardware (shell, buttons, ports, key-ring hole), logo text, and colorway consistent with the references; the on-screen content is not a fixed requirement and may be replaced. Document any new render you create in the [`assets/brand/README.md`](assets/brand/README.md) index. Treat the files as an internal visual baseline rather than recycling them verbatim into published assets. + ## Specifications, source, and license See [specifications.md](hardware-design/specifications.md) for dimensions, weight, battery, charging, NFC, input, and wireless specifications. The source repository is licensed under the MIT License, Copyright (c) 2026 FoloToy. See [fork-guide.md](fork-guide.md) for downstream development conventions. diff --git a/docs/brand-and-product.zh_CN.md b/docs/brand-and-product.zh_CN.md index a9c5045..86d6061 100644 --- a/docs/brand-and-product.zh_CN.md +++ b/docs/brand-and-product.zh_CN.md @@ -65,6 +65,12 @@ FoloToy 提供两处浏览器刷机入口,均可安全写入本地固件,固 引用"在线刷机 / 浏览器刷机"入口时,产品官网场景优先用官网内置入口;需要给用户通用刷机工具时用 `tool.folotoy.cn`。 +## 3.1 品牌视觉素材 + +官方产品与品牌视觉参考图存于 [`docs/assets/brand/`](assets/brand/README.md)(索引见同目录 `README.md` / `README.zh_CN.md`)。包含产品**正面**与**背面**实拍图,以及三种品牌配色外壳的正面渲染图(EVA 紫 / 橙 / 红三款)。 + +这些图是 AI Passport 市场宣传与展示物料的**视觉基线**。可用 AI 图像工具基于这些参考图生成效果图,生成时保持产品轮廓、外部硬件(外壳、按键、接口、挂绳孔)、Logo 文字与配色与参考一致;**屏幕内容不作硬性要求、可被替换**。新生成的渲染图请登记进 [`assets/brand/README.md`](assets/brand/README.md) 索引。素材作为内部视觉基线使用,除非参考图本身允许复用,否则不要原样搬运到公开发布物料中。 + ## 4. 产品规格 设备产品规格见 [hardware-design/specifications.md](hardware-design/specifications.md)(尺寸、重量、电池、充电、NFC、按键等)。 diff --git a/docs/development/README.md b/docs/development/README.md index 1d102c9..22f4a33 100644 --- a/docs/development/README.md +++ b/docs/development/README.md @@ -14,3 +14,4 @@ This directory contains AI Passport engineering rules and reusable workflows. Ru - [CI-validation.md](CI-validation.md): pull-request and main-branch checks. - [CI-build-and-release.md](CI-build-and-release.md): tagged firmware builds and releases. - [CI-sync-main.md](CI-sync-main.md): upstream synchronization for forks. +- [publish-to-community.md](publish-to-community.md): publishing firmware to the AI Passport community market. diff --git a/docs/development/README.zh_CN.md b/docs/development/README.zh_CN.md index 3ac3063..5dfbd76 100644 --- a/docs/development/README.zh_CN.md +++ b/docs/development/README.zh_CN.md @@ -23,3 +23,4 @@ - [CI-build-and-release.md](CI-build-and-release.md):自动构建与发布说明(tag 触发自动编译固件并发布 Release)。 - [CI-validation.md](CI-validation.md):Pull Request 与 main 的自动仓库检查、host tests 和固件验证。 - [CI-sync-main.md](CI-sync-main.md):上游同步说明(定期把上游 `FoloToy/ai-passport` 的 `main` 同步到本 fork 的 `main`)。 +- [publish-to-community.md](publish-to-community.md):发布到社区说明(把当前固件发布到 AI Passport 社区市场)。 diff --git a/docs/development/publish-to-community.md b/docs/development/publish-to-community.md new file mode 100644 index 0000000..5f45c1c --- /dev/null +++ b/docs/development/publish-to-community.md @@ -0,0 +1,36 @@ +

+ 简体中文 · English +

+ +# Publish to the AI Passport Community + +This document describes how to publish this project's firmware to the [AI Passport Community](https://ai-passport.folotoy.cn). This page is the human-facing entry point; it tells an AI assistant to install the publisher skill from the official bundle and run the workflow. + +## When to use this + +Use this when you want to release the current firmware (or a specific `demo/*` application) to the community market. It is not for ordinary firmware development or flashing. + +The workflow is driven by the official publisher skill. Running the prompt once makes the assistant install the skill from the official bundle; nothing is committed into the repository. + +## Reproduce the bundled prompt + +To run the publishing workflow, copy the prompt to your AI assistant. The paste-ready prompt is reproduced verbatim in the Simplified Chinese peer [`publish-to-community.zh_CN.md`](publish-to-community.zh_CN.md); it requests installing the assistant at `https://ai-passport.folotoy.cn/skills/folotoy-ai-passport-publisher.zip`, then inspecting the project, preparing bilingual title and description, choosing a cover, resolving the HTTPS Git source, authorizing through the official site, and confirming every field before uploading. + +The skill's `SKILL.md` defines the exact workflow: inspect the project, prepare bilingual title and description, resolve the HTTPS Git source, prepare and validate a cover, authorize through the official site, then preview every field and obtain approval before uploading. + +## What the assistant will need from you + +- **Firmware**: a single merged ESP `.bin` (flashed from `0x0`). Build it with `./tools/validate.sh --firmware` or `idf.py build` when needed. +- **Cover**: a representative JPEG / PNG / WebP image (<= 10 MiB). +- **Source**: the public HTTPS Git page for the firmware repository — GitHub, Gitee, GitLab, Codeberg, or another publicly reachable HTTPS Git repository page. A fork owner publishes from their fork's source page, resolved from `git remote -v`. + +## Safety and boundaries + +- Upload only to `https://ai-passport.folotoy.cn`. Publishing and updating are external mutations. +- Validation, drafting, and preview that is not confirmed by the author does **not** authorize upload. +- Authorization credentials are never requested, received, or stored by the assistant. The creator registers or signs in on the official site and approves the displayed code; the assistant never handles their password. +- Never retry a rejected upload automatically. Report the server response and resolve the cause with the creator first. + +## How the assistant installs the skill + +The assistant fetches the official bundle from the URL in the prompt and follows the workflow described in its `SKILL.md`. No skill needs to be kept or committed in this repository; the prompt reproduces the official install source each time. diff --git a/docs/development/publish-to-community.zh_CN.md b/docs/development/publish-to-community.zh_CN.md new file mode 100644 index 0000000..69e5aff --- /dev/null +++ b/docs/development/publish-to-community.zh_CN.md @@ -0,0 +1,41 @@ +

+ 简体中文 · English +

+ +# 发布到 AI Passport 社区 + +本文说明如何把本项目的固件发布到 [AI Passport 社区](https://ai-passport.folotoy.cn)。本页是面向人的入口;它告诉 AI 助手从官方包安装发布 skill,并运行该工作流。 + +## 何时使用 + +当你希望把当前固件(或某个 `demo/*` 应用)发布到社区市场时使用。它不用于普通固件开发或烧录。 + +该工作流由官方发布 skill 驱动。运行一次提示词,让助手从官方包安装 skill;仓库无需提交任何东西。 + +## 使用内置提示词 + +要运行发布工作流,把这段提示词交给你的 AI 助手: + +```text +请安装 FoloToy AI Passport 发布助手:https://ai-passport.folotoy.cn/skills/folotoy-ai-passport-publisher.zip +然后分析当前项目并准备发布到 AI Passport 社区。请检查完整固件,从 README、文档和代码中整理中英文标题与简介,准备项目封面,并使用当前 GitHub、Gitee 或其他 HTTPS Git 仓库地址。如果尚未登录,请引导我在官网注册或登录并完成授权;正式上传前,先把全部内容展示给我确认。 +``` + +skill 的 `SKILL.md` 定义了精确流程:检查项目、准备中英文标题与简介、解析 HTTPS Git 源码、准备并校验封面、经官方站点授权,然后在真正上传前展示每个字段并取得批准。 + +## 你需要提供给助手的东西 + +- **固件**:单个合并的 ESP `.bin`(从 `0x0` 烧录)。必要时用 `./tools/validate.sh --firmware` 或 `idf.py build` 构建。 +- **封面**:一张代表产品的 JPEG / PNG / WebP 图(≤ 10 MiB)。 +- **源码**:固件仓库的公开 HTTPS Git 项目页——GitHub、Gitee、GitLab、Codeberg 或其它公开可达的 HTTPS Git 仓库页。fork 所有者从其 fork 的来源页发布,从 `git remote -v` 解析。 + +## 安全与边界 + +- 只上传到 `https://ai-passport.folotoy.cn`。发布与更新是外部变更。 +- 未经作者确认的验证、起草与预览**不授权上传**。 +- 助手绝不索取、接收或存储授权凭证。由创作者在官方站点注册或登录并批准显示的代码;助手不接触其密码。 +- 不自动重试被拒的上传。先把服务端响应展示给创作者,查清原因再处理。 + +## 助手如何安装该 skill + +助手从提示词里的 URL 拉取官方包,并按其中 `SKILL.md` 描述的工作流执行。本仓库无需保留或提交该 skill;提示词每次都会复现官方安装源。