Peach: Local-first video metadata scraper and media manager.
docs(readme): 精简功能简介并加入介绍视频
longmeidao93886628b07d
diff --git a/README.en.md b/README.en.mdindex 55fd7d77f..7689274ba 100644--- a/README.en.md+++ b/README.en.md@@ -4,178 +4,78 @@<h1 align="center">Peach</h1>-<p align="center">A personal library for media across your disks, mounted drives and followed sources.</p>+<p align="center">Turn media on disks, mounted drives and followed sources into a private library of your own.</p><p align="center">- <a href="https://github.com/longmeidao/peach/releases">Download for Windows</a> ·- <a href="#quick-start">Quick start</a> ·+ <a href="https://github.com/longmeidao/peach/releases">Download the Windows test package</a> ·+ <a href="#feature-preview">Feature preview</a> ·<a href="#documentation">Documentation</a> ·<a href="README.md">中文</a></p>-<p align="center">- <a href="https://github.com/longmeidao/peach/actions/workflows/test.yml"><img src="https://img.shields.io/github/actions/workflow/status/longmeidao/peach/test.yml?branch=master&label=tests&style=flat" alt="Tests"></a>- <a href="https://github.com/longmeidao/peach/releases"><img src="https://img.shields.io/github/v/release/longmeidao/peach?include_prereleases&label=release&style=flat" alt="Release"></a>- <a href="LICENSE"><img src="https://img.shields.io/badge/license-AGPL--3.0--or--later-blue?style=flat" alt="AGPL-3.0-or-later"></a>-</p>--Peach is a single-user, local-first media system. Search, play and organize media you already own on your computer, with browser access from your phone over the LAN. Your library, viewing history and review decisions stay in a local SQLite ledger.--> **18+** Intended for adults managing adult-content collections. The repository contains no media or site datasets; documentation uses SFW demo material only. Connectors require access rights and do not bypass paywalls, bot verification or other access controls.--## Features--| Capability | What it does |-| --- | --- |-| Browse and search | Find videos and photo collections by work, performer, studio, creator, series or tag; the search bar completes identities and works from your library as you type; works with nobody credited form an Unassigned group |-| Region split | Japan, Korea, mainland China and the West each form their own class; filter by one or several, or list the ones still undecided. Release codes that can be recognised are classified automatically; for the rest you decide once per batch, and automatic results never overwrite that |-| Play and save | Play local and mounted media; keep watch-later items, viewing state, Mixes and playlists, and let a video keep going in a corner miniplayer after you leave its details |-| Scan and enrich | Scan folders, detect existing NFO files and local posters, fetch missing metadata and write it to the catalog after review |-| Follow updates | Register official or archive sources, explicitly check updates, view and save content inside Peach |-| Review and organize | Review external candidates and identity assessments; manage duplicates, junk, unavailable files and trash |-| Taste and history | Explore your taste profile, import browsing records and manage reasons for liking items |--Local disks alone work. 115 and PikPak arrive as folders mounted by CloudDrive: sign in and mount them there first, then add the folders to Peach. See [CloudDrive tuning](docs/CLOUDDRIVE.md) for cache and read-length settings.--Follow sources include FANBOX, Patreon, SubscribeStar, Kemono, Pawchive, Coomer, the Rule34 family, F95zone and SimpCity (needs your own login cookie). Availability depends on the site and your access rights. See [source collection](docs/SOURCING.md) for supported workflows and boundaries.--Interface preferences are saved in the current browser and live under Settings: default sort, official covers or preview images for JAV works, autoplay when details open, UI sounds (a soft cue for buttons, switches and action receipts), and SFW mode, which blurs, desaturates and dims images and video and stops hover previews.--“Video thumbnail capture”, in the same place, belongs to the computer running Peach rather than to each browser: pick precise (a frame every 10 seconds) or coarse (every 30 seconds) and it captures frames in the background, so dragging the progress bar shows the picture at that point in time. It is off by default and only covers videos on local disks; every frame from a mounted cloud drive costs one fetch from the source. The images are cleaned up together with the video on the data management page.--The interface uses Board styling. “Increase contrast” in Settings disables navigation transparency and refraction; “Sidebar glow” is the three slowly drifting lights on the sidebar’s glass, and the other glass surfaces (search box, top-bar icon buttons, filter overlay, the settings card’s section nav, the library and palette popovers) pick up the first two colours. The palette button at the bottom of the sidebar picks both a glow preset and an accent colour: the “Native glass” preset hands every surface back to its own reflection, which follows the light or dark theme, while the accent drives buttons, focus rings, links and data colours. Settings adjusts strength, grain, drift speed, softness, size and each of the three glow colours. It shows in both the light and dark themes. Numeric preferences accept custom values within their supported ranges, with switches for optional features.--Choose a media library at the top of the sidebar; theme and settings controls are fixed at the bottom. Set library names and icons in Configuration; matching names group folders into one library. Library selection filters work lists and facets. Cloud libraries use locally served provider icons by default.--“Remember me” uses this browser’s Security preference (1–365 days, default 30). Leaving it unchecked creates a browser session lasting at most 12 hours.--## Quick start--Peach is **pre-1.0**. The application interface is currently Chinese only.--| Platform | Available today |-| --- | --- |-| Windows | Standalone test package or source installation |-| macOS | Source installation; standalone desktop packaging is in development |-| Linux | Unsupported and untested |--### Windows test package--1. Download `Peach-<version>-windows-x64.zip` from [GitHub Releases](https://github.com/longmeidao/peach/releases) and extract the complete archive.-2. Open `Peach.exe`, select existing media folders in the setup page and submit.-3. Browse your library. Media and service configuration are available from page settings or the tray menu.--The test package can stay local to one computer or allow devices on the same LAN during first-run setup.-LAN clients open `http://<configured-name>.local:<port>`; on first use, allow only Private networks in the Windows Firewall prompt.-No Python, Git, Node or OpenSSL is required. Data lives separately from the program in `%LOCALAPPDATA%\Peach\peach-data`.--Settings → “This computer” → Updates and maintenance compares the installed version with the latest GitHub prerelease.-Automatic updates can check every 6 hours, daily, or weekly and are off by default. Standalone packages can download automatically and wait for restart confirmation; source installations support automatic checks.-Standalone packages download and install the update in the app and restore the previous version if installation fails;-you can also exit the tray and extract a complete new package over it, keeping the data directory.-The same section offers uninstall, with optional removal of Peach data; original media is preserved.--Install FFmpeg and ffprobe separately for transcoding, probing and thumbnails. Without them, browsing and playback of browser-compatible formats remain available.-The package is unsigned; see [Windows testing](docs/TESTING_DESKTOP.md) for download verification, configuration and feedback.--### Run from source--Requires Git, [uv](https://docs.astral.sh/uv/getting-started/installation/) **0.12.13** and **Python 3.12 or newer**. These examples use 3.14; uv can download a missing Python interpreter. CI covers 3.12 and 3.14.-Node is unnecessary at runtime; frontend development needs Node 24 or newer.--Clone the repository:--```shell-git clone https://github.com/longmeidao/peach.git peach-app-cd peach-app-```--Windows: create the environment, install and launch setup in PowerShell:--```powershell-uv sync --locked --python 3.14-& .\.venv\Scripts\peach-tray.exe-```--macOS: create the environment, install menu-bar support and launch setup:--```shell-uv sync --locked --python 3.14 --extra macos-./.venv/bin/peach-tray-```--Setup configures media folders, access scope and ports. Alternatively, use the `peach init` terminal wizard followed by `peach serve`; executables are in the virtual environment directories above.--Source deployments default to a sibling `peach-data/` directory. Set `PEACH_DATA_ROOT` for a custom location.-The access password is optional during setup. Leave it blank to allow devices that can reach Peach to enter directly. Configuration lets you set, change or disable the password; Security settings control how long to stay signed in. Existing deployments retain their current login requirement. Local CA generation requires OpenSSL.-See [operations](docs/OPERATIONS.md) for configuration, HTTPS, CloudDrive mounts and non-interactive initialization.--## Your data--- Media stays in its original folders. Transcoding uses disposable derived caches without rewriting source files.-- The SQLite ledger stores library identities, viewing behavior and human decisions. External metadata and AI assertions retain provenance and confidence and require review to become truth.-- Credentials live in the data directory's `secrets/`, outside Git, logs and API responses. Migrations and irreversible operations require a backup and authorization.-- Each deployment serves one person and is not intended for teams or public hosting.-- Optional replication is off by default. The verified setup is a Windows writer and macOS reader, each with a local ledger. A shared folder transports data; replication and takeover are explicit. Divergence makes the ledger read-only rather than automatically merging it. See [replication boundaries](docs/adr/0017-dual-host-local-runtime-and-sync-boundaries.md).--The repository distributes no media, covers, thumbnails, metadata or site datasets. External titles, images and descriptions remain the content and copyright of their respective sites and creators.--## Development and contributions--The backend is a FastAPI modular monolith with SQLite as the truth store. The frontend migrates page by page to React, Tailwind v4 and BoardUI source.-Python serves existing pages and committed build output from `web/`; runtime requires neither Node nor a CDN.--| Path | Contents |-| --- | --- |-| `src/peach/` | API, media, ledger and source adapters |-| `frontend/` | TypeScript, React with BoardUI source, the island mount contract, Vite build |-| `web/` | Pages, styles, self-hosted dependencies and `web/dist/` output |-| `migrations/` | Versioned SQLite migrations |-| `scripts/`, `tests/` | Development entry points, maintenance scripts and isolated tests |-| `docs/` | Guides, architecture and project status |--Read the [working agreement](AGENTS.md) before changing the project. Tests use temporary databases and media. Run the official entry point in an isolated worktree.--Windows: run checks for the current changes:--```powershell-& .\scripts\test.ps1-```--macOS: run checks for the current changes:--```shell-./scripts/test.sh-```--The default `auto` scope selects affected domains. See [testing and dependencies](docs/TESTING.md) for the CI policy.-See [frontend development](docs/FRONTEND.md) for installation, builds, type checking and committed output.-Dependency manifests and lockfiles define versions; Dependabot checks Python, npm and GitHub Actions weekly.--For issues, include the version, steps, expected result and actual result. Do not attach a real ledger, media, cookies or private keys.-Report security issues according to the [security policy](SECURITY.md).+Peach is a single-user, local-first media library. It brings search, playback, organization and followed updates into one browser interface, while the catalog, watch history and review decisions stay in a local SQLite ledger.++> **18+** Intended for adults managing adult-content collections. The repository contains no media or site datasets. Source connectors require the user's own access rights and do not bypass paywalls, bot checks or other access controls.++## Feature preview++https://github.com/user-attachments/assets/a97049bd-ddaf-4844-99ca-b18e97957d2a++<p align="center"><a href="docs/assets/peach-overview.mp4">Download the 58-second feature video</a></p>++## What it does++<table>+ <thead>+ <tr>+ <th width="180" nowrap>Capability</th>+ <th>Summary</th>+ </tr>+ </thead>+ <tbody>+ <tr>+ <td width="180" nowrap><strong>Visual library</strong></td>+ <td>Browse videos and photo collections by cover; search by work, performer, studio, creator, series or tag; use library filters, identity completion and large-cover mode from the same page.</td>+ </tr>+ <tr>+ <td width="180" nowrap><strong>Playback and links</strong></td>+ <td>Play media from local disks and mounted drives, with people, studios, tags and related works beside the player; keep watch-later items, viewing state, Mixes, playlists and a corner miniplayer.</td>+ </tr>+ <tr>+ <td width="180" nowrap><strong>People and identity</strong></td>+ <td>Collect portraits, aliases, external links and work relationships on performer profiles, while external identity candidates retain provenance and wait for review.</td>+ </tr>+ <tr>+ <td width="180" nowrap><strong>Collection and enrichment</strong></td>+ <td>Scan folders for NFO files, local posters and existing metadata; fetch missing covers, portraits and metadata, then write reviewed results to the library.</td>+ </tr>+ <tr>+ <td width="180" nowrap><strong>Multi-source following</strong></td>+ <td>Register official or archive sources, see one creator's updates across sites and save content inside Peach.</td>+ </tr>+ <tr>+ <td width="180" nowrap><strong>Interface and devices</strong></td>+ <td>Use light or dark themes, custom colors and responsive pages on desktop, tablet and phone; review duplicates, unavailable files, trash and external candidates in one place.</td>+ </tr>+ </tbody>+</table>++## Get Peach++The standalone Windows x64 test package is available from [GitHub Releases](https://github.com/longmeidao/peach/releases); Windows and macOS can also run Peach from source, which requires Python 3.12 or newer. See [Windows testing](docs/TESTING_DESKTOP.md) and [operations](docs/OPERATIONS.md) for downloads, verification and configuration.++## Data boundaries++Media stays in its original folders, while the catalog, identities, viewing history and human decisions stay in a local SQLite ledger. External metadata and AI output enter as candidates with provenance and confidence; credentials stay outside Git, logs and API responses. Peach is for single-user self-hosting and does not provide a public-site or team permission model.## Documentation-Detailed project documentation is in Chinese.--| Task | Guide |-| --- | --- |-| Download, configure and test the package | [Windows testing](docs/TESTING_DESKTOP.md) |-| Configure media, LAN, HTTPS and replication | [Operations](docs/OPERATIONS.md) |-| Understand collection and evidence boundaries | [Sources](docs/SOURCING.md) |-| Check the installed runtime and verification | [Status](docs/STATUS.md) |-| See what changed in each release | [Changelog](CHANGELOG.md) |-| Find open work | [Backlog](docs/PRODUCT_BACKLOG.md) |-| Change and maintain Peach | [Working agreement](AGENTS.md) · [Frontend](docs/FRONTEND.md) · [Reuse](docs/REUSE.md) |-| Read durable conventions and architecture | [Handoff](docs/HANDOFF.md) · [Decisions](docs/adr/) |+[Windows testing](docs/TESTING_DESKTOP.md) · [Operations](docs/OPERATIONS.md) · [Sources](docs/SOURCING.md) · [Changelog](CHANGELOG.md) · [Development agreement](AGENTS.md) · [Architecture decisions](docs/adr/)-README describes mainline capabilities. Status records the installed runtime and its verification; Releases identifies distributed packages.-See [README maintenance](docs/README_MAINTENANCE.md) for the documentation update process.+Run development checks through `& .\scripts\test.ps1` on Windows or `./scripts/test.sh` on macOS/Linux.## License[AGPL-3.0-or-later](LICENSE) · Copyright (C) 2026 longmeidao.-Vendored frontend dependencies retain upstream licenses and provenance in [web/vendor](web/vendor/).-FFmpeg is not distributed with the repository or packages; install it separately and follow its license.+Vendored frontend files retain their upstream licenses and provenance under [web/vendor](web/vendor/).diff --git a/README.md b/README.mdindex 12c3c2488..1f61f88bd 100644--- a/README.md+++ b/README.md@@ -1,177 +1,81 @@<p align="center">- <img src="resources/peach-logo.png" alt="Peach 蜜桃" width="96">+ <img src="resources/peach-logo.png" alt="Peach" width="96"></p>-<h1 align="center">Peach · 蜜桃</h1>+<h1 align="center">Peach</h1>-<p align="center">把散落在磁盘、网盘和关注来源里的媒体,整理成自己的馆藏。</p>+<p align="center">把磁盘、挂载网盘与关注来源里的媒体,整理成只属于自己的私人馆藏。</p><p align="center">- <a href="https://github.com/longmeidao/peach/releases">下载 Windows 测试版</a> ·- <a href="#快速开始">快速开始</a> ·+ <a href="https://github.com/longmeidao/peach/releases">下载 Windows 测试包</a> ·+ <a href="#功能预览">功能预览</a> ·<a href="#文档">文档</a> ·<a href="README.en.md">English</a></p>-<p align="center">- <a href="https://github.com/longmeidao/peach/actions/workflows/test.yml"><img src="https://img.shields.io/github/actions/workflow/status/longmeidao/peach/test.yml?branch=master&label=tests&style=flat" alt="测试状态"></a>- <a href="https://github.com/longmeidao/peach/releases"><img src="https://img.shields.io/github/v/release/longmeidao/peach?include_prereleases&label=release&style=flat" alt="发行版本"></a>- <a href="LICENSE"><img src="https://img.shields.io/badge/license-AGPL--3.0--or--later-blue?style=flat" alt="AGPL-3.0-or-later"></a>-</p>--Peach 是单用户、本地优先的个人媒体系统。在自己的电脑上搜索、播放、整理已有媒体,也能从手机浏览器经局域网访问。馆藏、观看记录和人工复核决定保存在本机 SQLite ledger。--> **18+** 面向成年人的成人内容馆藏。仓库不含媒体与站点数据;文档中的演示素材仅限 SFW。连接器需要使用者拥有访问权限,不绕过付费墙、机器人验证或其他访问控制。--## 能做什么--| 能力 | 说明 |-| --- | --- |-| 浏览与搜索 | 按作品、女优、厂牌、创作者、系列和标签查找视频与图集;搜索栏边打边补出馆藏里的身份与作品;没有署名人的作品归为「未归属」一类 |-| 产地区分 | 日本、韩国、国产、欧美各成一类,筛选里可单选或多选,还能列出尚未判定的那批;番号推得出的自动归类,推不出的选中一批一次判完,之后不被自动结果改写 |-| 播放与收藏 | 播放本地和挂载网盘媒体,保存稍后看、观看状态、Mix 与播放列表;离开详情可缩成角落小窗继续播 |-| 扫描与补全 | 扫描文件夹,识别已有 NFO 和本地海报,采集缺失资料,经「复核资料」确认后写入馆藏 |-| 关注与追更 | 登记官方或归档来源,显式检查更新,在站内查看和保存内容 |-| 复核与整理 | 核对外部候选与身份判断,处理重复文件、垃圾文件、脱盘条目和回收站 |-| 口味与记录 | 查看口味画像,导入浏览记录,管理喜欢理由 |--媒体来源可以只用本地磁盘,也可以接 CloudDrive 挂出的 115 与 PikPak:先在 CloudDrive 登录并挂载,再把文件夹交给 Peach 索引。缓存和读取长度怎么填见 [CloudDrive 配置与调优](docs/CLOUDDRIVE.md)。--关注来源包括 FANBOX、Patreon、SubscribeStar,以及 Kemono、Pawchive、Coomer、Rule34 系列、F95zone 与 SimpCity(需要你自己的登录 cookie)。来源可用性受站点和使用者权限限制;采集边界与支持情况见 [来源采集](docs/SOURCING.md)。--界面偏好保存在当前浏览器,在右上角「设置」里改:默认排序、JAV 封面用官方封面还是预览图、打开详情是否自动播放、按钮开关和操作回执要不要配一声轻响的「界面音效」,以及把图像模糊降饱和、关掉悬停预览的「SFW 模式」。--同一处的「视频缩略图采集」跟着运行 Peach 的这台电脑走,不是每个浏览器各存一份:选精准(每 10 秒一帧)或粗略(每 30 秒一帧)后它在后台按密度抽帧,拖动进度条时按时间点显示画面。默认关闭,只采集本机磁盘上的片子;网盘上的每抽一帧都要回源拉一次。产物随片子一起在数据管理页清理。--界面采用 Board 风格。设置里的「增加对比度」关闭导航玻璃的透明与折射;「侧栏光晕」是左栏玻璃面上那三枚慢慢漂动的光,可以关掉,其余玻璃面(搜索框、顶栏图标钮、筛选浮层、设置卡的分区导航、媒体库与配色弹层)跟着取前两枚的颜色;左栏底部那枚配色钮上挑光晕配色与强调色,「玻璃原色」那一档让每块玻璃回到自带的反光、颜色跟着明暗主题走,强调色管按钮、焦点环、链接和数据色;设置里的「侧栏光晕」调强度、颗粒感、漂移速度、柔化、大小和三枚光晕各自的颜色,浅色与深色主题都会显示。数量和时间支持范围内自定义,可关闭的功能使用开关控制。--侧栏顶部选择媒体库,底部切换明暗主题并打开设置。配置中可设置媒体库名称和图标,同名文件夹归入一库;库选择限定作品列表与筛选项。网盘默认显示本机提供的网盘图标。--登录页勾选「保持登录」时,使用此浏览器安全设置里的保持时间(1–365 天,默认 30 天)。不勾选时使用最长 12 小时的浏览器会话。--## 快速开始--Peach 处于 **pre-1.0** 阶段,界面目前只有中文。--| 平台 | 当前使用方式 |-| --- | --- |-| Windows | 独立测试包,或源码运行 |-| macOS | 源码运行;独立桌面包仍在开发 |-| Linux | 不在支持范围,未测试 |--### Windows 测试包--1. 从 [GitHub Releases](https://github.com/longmeidao/peach/releases) 下载 `Peach-<版本>-windows-x64.zip`,完整解压。-2. 双击 `Peach.exe`,在首次设置页选择已有媒体文件夹并提交。-3. 打开馆藏浏览;媒体文件夹与服务配置可从页面设置或托盘进入。--测试包可只在本机访问,也可在首次设置中允许同一局域网的设备访问;局域网模式通过-`http://<设置的名字>.local:<端口>` 打开,首次连接时只允许 Windows 防火墙的专用网络。-不需要 Python、Git、Node 或 OpenSSL。数据保存在 `%LOCALAPPDATA%\Peach\peach-data`,与程序目录分开。--右上角「设置 →『这台电脑』→ 更新与维护」比对 GitHub 上的最新测试版,独立包可以在页面里下载并安装,失败时恢复旧版;-也可以退出托盘后手动完整解压新版,保留数据目录。同一处提供卸载,可选是否一并删除 Peach 数据,原始媒体保留。+Peach 是面向单人的本地优先媒体馆藏应用。它在浏览器里统一搜索、播放、整理和追更已有媒体,馆藏、观看记录与复核决定保存在本机 SQLite ledger 中。-同一处的「自动更新」可按每 6 小时、每天或每周检查新版本,默认关闭。独立测试包可自动下载,下载完成后确认重启安装;源码运行支持自动检查。+> **18+** 面向管理成人内容馆藏的成年人。仓库不包含媒体或站点数据;来源连接器要求使用者拥有相应访问权,不绕过付费墙、机器人验证或其他访问控制。-FFmpeg 与 ffprobe 需另装;缺少它们时可浏览和播放浏览器兼容格式,转码、探测与缩略图不可用。-测试包未签名;下载校验、配置与问题反馈见 [Windows 测试版](docs/TESTING_DESKTOP.md)。+## 功能预览-### 源码运行+https://github.com/user-attachments/assets/a97049bd-ddaf-4844-99ca-b18e97957d2a-需要 Git、[uv](https://docs.astral.sh/uv/getting-started/installation/) **0.12.13** 和 **Python 3.12 或更高**。下面示例使用 3.14,uv 可自动下载缺失的 Python;CI 覆盖 3.12 与 3.14。-普通运行不需要 Node;修改前端需要 Node 24 或更高。+<p align="center"><a href="docs/assets/peach-overview.mp4">下载 58 秒功能介绍视频</a></p>-先克隆仓库并进入目录:--```shell-git clone https://github.com/longmeidao/peach.git peach-app-cd peach-app-```--Windows:在 PowerShell 创建环境、安装并启动首次设置:--```powershell-uv sync --locked --python 3.14-& .\.venv\Scripts\peach-tray.exe-```--macOS:在终端创建环境、安装菜单栏依赖并启动首次设置:--```shell-uv sync --locked --python 3.14 --extra macos-./.venv/bin/peach-tray-```--首次设置页会配置媒体文件夹、访问范围和端口。也可使用 `peach init` 的终端问答,再用 `peach serve` 启动服务;可执行文件位于上述虚拟环境目录。--源码部署默认使用仓库同级的 `peach-data/`;自定义位置需设置 `PEACH_DATA_ROOT`。-首次设置的访问密码为可选项:留空时,能连接到 Peach 的设备可直接访问。配置页可设置、修改或关闭密码,安全设置可调整保持登录时间。已有部署保留当前登录要求。本机 CA 生成需要 OpenSSL。-配置、HTTPS、CloudDrive 挂载与非交互初始化详见 [运行与配置](docs/OPERATIONS.md)。--## 数据属于自己--- 媒体保留在原目录;转码使用可删除的派生缓存,不改写原文件。-- SQLite ledger 保存馆藏、身份、观看行为和人工决定;外部元数据与 AI 断言保留来源与置信度,经复核才成为真相。-- 凭据保存在数据目录的 `secrets/`,不进入 Git、日志或 API 返回。迁移和不可逆操作必须先备份并取得授权。-- 每个部署只服务一个人,不面向团队或公开部署。-- 可选的多机复制默认关闭,目前验证形态是 Windows writer + macOS reader。两端各有本地 ledger,共享目录只传输;复制与接管为显式操作,分叉时只读,不自动合并。见 [复制边界](docs/adr/0017-dual-host-local-runtime-and-sync-boundaries.md)。--仓库不分发媒体、封面、缩略图、元数据或任何站点的数据副本。外部标题、图片与说明的内容及版权属于对应站点和创作者。--## 开发与贡献--后端是 FastAPI 模块化单体,SQLite ledger 是真相源。前端以 React + Tailwind v4 + BoardUI 源码逐页迁移;-`web/` 提供现有页面与已提交的构建产物,运行时由 Python 直接服务,不依赖 Node 或 CDN。--| 路径 | 内容 |-| --- | --- |-| `src/peach/` | API、媒体、ledger 与来源适配器 |-| `frontend/` | TypeScript、React 与 BoardUI 源码、island 挂载契约、Vite 构建 |-| `web/` | 页面、样式、自托管依赖与 `web/dist/` 产物 |-| `migrations/` | SQLite 版本迁移 |-| `scripts/`、`tests/` | 开发入口、维护脚本与隔离测试 |-| `docs/` | 使用说明、架构与项目状态 |--开始修改前阅读 [工作契约](AGENTS.md)。测试使用临时数据库与临时媒体;在隔离工作树运行正式入口。--Windows:运行与当前改动对应的检查:--```powershell-& .\scripts\test.ps1-```--macOS:运行与当前改动对应的检查:--```shell-./scripts/test.sh-```--默认 `auto` 按影响域选测;CI 分层与依赖维护见 [测试与依赖](docs/TESTING.md)。前端安装、构建、类型检查与产物提交见-[前端开发](docs/FRONTEND.md)。依赖以项目清单和锁文件为准,Dependabot 每周检查 Python、npm 与 GitHub Actions。+## 能做什么-提交问题请附版本、操作步骤、预期与实际结果;不要附带真实账本、媒体、Cookie 或私钥。-安全问题按 [安全政策](SECURITY.md) 报告。+<table>+ <thead>+ <tr>+ <th width="180" nowrap>功能</th>+ <th>简介</th>+ </tr>+ </thead>+ <tbody>+ <tr>+ <td width="180" nowrap><strong>视觉馆藏</strong></td>+ <td>以封面浏览视频与图集,按作品、女优、厂牌、创作者、系列和标签搜索;馆藏筛选、身份补全与大图模式在同一页完成。</td>+ </tr>+ <tr>+ <td width="180" nowrap><strong>播放与关联</strong></td>+ <td>播放本地磁盘和挂载网盘媒体,在详情页查看人物、厂牌、标签与相关作品;支持稍后看、观看状态、Mix、播放列表和角落小窗。</td>+ </tr>+ <tr>+ <td width="180" nowrap><strong>人物与身份</strong></td>+ <td>把头像、别名、外部链接与作品关系整理到人物资料页,外部身份候选保留来源并交给用户复核。</td>+ </tr>+ <tr>+ <td width="180" nowrap><strong>采集与补全</strong></td>+ <td>扫描文件夹并识别 NFO、本地海报和已有资料;从来源补充封面、头像与元数据,确认后才写入馆藏。</td>+ </tr>+ <tr>+ <td width="180" nowrap><strong>多来源关注</strong></td>+ <td>登记官方或归档来源,集中查看同一创作者在不同站点的更新,并在 Peach 内保存内容。</td>+ </tr>+ <tr>+ <td width="180" nowrap><strong>界面与多端</strong></td>+ <td>支持明暗主题、自定义配色和响应式页面,可在桌面、平板与手机浏览;重复项、失效文件、回收站和外部候选集中复核。</td>+ </tr>+ </tbody>+</table>++## 获取 Peach++Windows x64 独立测试包在 [GitHub Releases](https://github.com/longmeidao/peach/releases) 提供;Windows 与 macOS 也可从源码运行,源码方式需要 Python 3.12 或更高。下载、校验与配置见 [Windows 测试版](docs/TESTING_DESKTOP.md) 和 [运行与配置](docs/OPERATIONS.md)。++## 数据边界++媒体保留在原目录,馆藏、身份、观看记录和人工决定保存在本机 SQLite ledger;外部元数据与 AI 结果先作为带来源和置信度的候选,凭据不进入 Git、日志或 API 返回。Peach 面向单人自托管,不提供公开站点或团队权限模型。## 文档-| 要做什么 | 入口 |-| --- | --- |-| 下载、配置与反馈测试包 | [Windows 测试版](docs/TESTING_DESKTOP.md) |-| 配置媒体、局域网、HTTPS 与同步 | [运行与配置](docs/OPERATIONS.md) |-| 了解采集来源与证据边界 | [来源采集](docs/SOURCING.md) |-| 确认当前运行状态 | [项目状态](docs/STATUS.md) |-| 查看每个版本的变化 | [变更日志](CHANGELOG.md) |-| 查看开放需求 | [产品待办](docs/PRODUCT_BACKLOG.md) |-| 修改与维护项目 | [工作契约](AGENTS.md) · [前端开发](docs/FRONTEND.md) · [复用清单](docs/REUSE.md) |-| 了解长期约定与架构 | [交接说明](docs/HANDOFF.md) · [架构决策](docs/adr/) |+[Windows 测试版](docs/TESTING_DESKTOP.md) · [运行与配置](docs/OPERATIONS.md) · [来源采集](docs/SOURCING.md) · [变更日志](CHANGELOG.md) · [开发约定](AGENTS.md) · [架构决策](docs/adr/)-README 描述当前主线能力;已安装版本与验证结果以项目状态为准,发行制品以 Releases 为准。-文档迭代方式见 [README 维护](docs/README_MAINTENANCE.md)。+开发验证统一使用 Windows `& .\scripts\test.ps1` 或 macOS/Linux `./scripts/test.sh`。## 许可证[AGPL-3.0-or-later](LICENSE) · Copyright (C) 2026 longmeidao。固定的第三方前端文件保留上游许可证与来源记录,见 [web/vendor](web/vendor/)。-FFmpeg 不随仓库或制品分发,使用者需自行安装并遵守其许可证。