Files
piik/docs/todo.md
T
AAA f92162b3bb feat: launch Piik with a unified interface and public website
Piik now has one public presentation and a coordinated App/Server release path. This phase unifies the room UI, rewrites the bilingual README and guides, adds a static website with an inline product film, and prepares matching GitHub/Gitee packages and update links.

The film uses the current homepage and shared product controls on one seekable timeline. Runtime fixes preserve presentation when the App opens a room, normalize Site origins, and keep capture and media-recovery status in the television indicator. New visits use Chinese for a Chinese system language and English otherwise; explicit language and visual-mode choices remain available. An optional site passphrase controls site entry, while room authorization remains enforced.

GitHub is the release authority. Gitee mirrors verified packages and provides update metadata when GitHub is unavailable. Reviewed PR release notes become the GitHub Release description. The separate public demo uses P2P only, with HTTPS and STUN verified.

Validation: 756 Web tests, TypeScript and production build; Go core tests, formatting, vet and available target builds; bounded Windows capture and App/Site interoperability; browser film checks, audible playback and narrow layouts; anonymous Gitee Windows-package download, checksum and launcher/update-link checks. Public demo acceptance covers authenticated WebSocket signaling, synthetic P2P video and room cleanup on one network. macOS/Linux physical capture and the wider device/network/endurance matrix remain explicitly deferred.

Publication builds every package from the merged source SHA. The repository is public, main protection is active, and Pages is configured for piik.tv. CI/publisher and Pages deployment records own publication results.

## Release notes

### 中文

Piik 是免费开源的屏幕共享工具。开个房间,发出邀请,最多 20 位朋友就能用浏览器加入观看。

- 使用浏览器或 Piik App 分享游戏、窗口和整个屏幕。
- 优先建立直连;自托管站点可开启媒体转发作为备用线路。
- Piik App 支持本地房间、临时公网邀请和已有站点。
- Piik Server 内置网页界面、房间管理和连接服务,方便自行部署。
- 提供中英文界面与使用指南,以及 GitHub、Gitee 两条下载线路。

[官网](https://piik.tv) · [在线体验](https://demo.piik.tv) · [使用指南](https://github.com/TNTcraftHIM/Piik/blob/main/docs/guide/getting-started.zh-CN.md) · [自行部署](https://github.com/TNTcraftHIM/Piik/blob/main/docs/operations/self-hosting.zh-CN.md) · [Gitee 下载](https://gitee.com/TNTcraftHIM/Piik/releases)

Windows App 和桌面浏览器是本次主要验证的平台。macOS 和 Linux 尚未经过实机测试,欢迎有设备的朋友测试并反馈。演示站和 App 公网邀请使用 P2P,受限网络下可能无法连接;自托管站点可开启媒体转发。

### English

Piik is free, open-source screen sharing for you and up to 20 viewers. Start a room, send an invitation, and your friends can join in a browser.

- Share games, windows or a whole screen from your browser or Piik App.
- Direct connections come first, with optional media forwarding on self-hosted sites.
- Piik App supports local rooms, temporary public invitations and existing sites.
- Piik Server includes the web interface, rooms and connection services for self-hosting.
- English and Chinese interfaces and guides are available, with GitHub and Gitee downloads.

[Website](https://piik.tv) · [Online demo](https://demo.piik.tv) · [User guide](https://github.com/TNTcraftHIM/Piik/blob/main/docs/guide/getting-started.md) · [Self-hosting](https://github.com/TNTcraftHIM/Piik/blob/main/docs/operations/self-hosting.md) · [Gitee downloads](https://gitee.com/TNTcraftHIM/Piik/releases)

Windows App and desktop browsers are the primary validated paths. macOS and Linux have not yet been tested on physical devices; testing and feedback are welcome. The demo and App public invitations rely on P2P and may not connect on restrictive networks. Self-hosted sites can enable media forwarding.
2026-09-12 22:09:12 +08:00

6.9 KiB

Current TODO Ledger

Last reviewed: 2026-09-12

Only Now is executable. Product modules own behavior; Git/PRs own completed history. A parked idea is not implementation authority.

Now

  • Release and repository readiness. Review the prepared Windows test candidate. Run native CI on the now-public repository, then rehearse the publisher with genuine matching Server and App packages. Old cloud artifacts have already been removed; if quota rejection persists, inspect account billing and Packages usage with credentials that can read those scopes. Run the final source's required regression checks, prepare one coherent squash PR, accept the first public release, and finish publishing activation. Test-candidate checks do not accept the public release. Keep the owner's device/network deferrals.
  • Gitee package acceptance. The public README mirror, publisher secret, upload pipeline and App/Server update fallback are implemented. The complete Windows test archive passed anonymous download, checksum and App entry acceptance. Verify the complete matching Server and three-platform App release, total attachment capacity and real update/download flow under the release model before launch.
  • Website launch. Publish the accepted website through GitHub Pages and verify piik.tv under website operations. Verify all public destinations, including the deployed password-free, P2P-only demo.piik.tv; the current private production service remains private.

Keep implementation on the existing phase branch. Main and the private service stay unchanged until the related acceptance and delivery actions are complete.

Next: P2P Connection And Feedback Review

After the current phase, measure connection success, time to first picture and failure causes on representative networks, especially App and P2P-only sites. Review user progress/failure feedback and useful privacy-conscious diagnostics. Trace the existing ICE and P2P/SFU handoffs, including background P2P attempts behind working SFU media; compare SFU-first startup with measured current behavior before choosing changes. Preserve one graph and one operation under the routing contract and ADR-0005. Prior ownership audits do not establish better connection success or speed; this note adds no retry policy.

Parked Product Work

The reported persistent low resolution after Viewer backgrounding and square black video remain unconfirmed incident leads, separate from the closed, reproduced reconnect ownership bug. They do not block this release. Reopen from matching upstream/receiver evidence; local H264 relay background checks did not reproduce them. Missing NAT attempt text alone does not prove skipped attempts. If Native adaptation is implicated, compare actual VSE limitations with sender quality evidence before changing policy. Do not add retry budgets, visibility resets or resolution heuristics without proof. Sanitized aggregates and the isolated reconnect reproductions are diagnostic evidence, not a recovery policy. Game/background settings behavior also remains an unconfirmed incident lead; reopen from actual control actions and matching requested/applied media evidence. Clarify whether Viewer-local pause should survive replacement media before adding playback-intent state; the current binding starts new media unless the Host is paused. No preservation policy has been accepted for that transition.

  1. Representative device/network acceptance. Resume the remaining matrix in verification status when directed, preserving the owner's platform deferrals. Correlate freezes with publisher/receiver evidence before changing media policy. Run physical workloads serially from stable executable paths with cleanup between runs.
  2. Broader quality work. Reopen from measured benefit at acceptable complexity. Preserve chosen profiles, bitrate ceilings, endpoint capacity and P2P-first routing unless a new accepted decision supports changing them. No weighted score, all-pairs probes, periodic rebalancing, parent-wide prediction or room-wide minimum. Check whether a quality move merely shifts pressure to another parent's siblings before widening policy.
  3. Control/resource fairness and input review. Reassess the authenticated WebSocket/SFU owner, HTTP/body/resource bounds, authorization and error/log handling before adding a queue or limiter. No parallel security framework, accounts, risk score or speculative policy layer. Measure signaling-lock contention and synchronous diagnostic I/O before changing the lock or execution model; their cost remains a tradeoff.
  4. Reachable ownership/refactor work. Retain Host/Viewer page media-session extraction as a candidate alongside related behavior changes. Evaluate clear resource owners, fewer shared writers and a smaller change surface under engineering review; file size alone does not justify a split. The completed audits do not close this candidate. Reopen C=3 structural-intent retention, SFU failure during unrelated prepare and multi-child evidence ownership only with current-contract reproductions. No new revision namespace, failure-state mirror or topology queue by default.
  5. Storage fault recovery. Choose and verify a damaged-disk/COMMIT/ROLLBACK recovery policy before adding catch-and-continue or retries. This failure boundary remains unestablished after ordinary persistence checks.
  6. Platform output. Reopen for a registered receiver acting as an ordinary Viewer only after the platform-output gate passes.
  7. Full UI themes. After the base version, research themes that can change layout, composition and motion, including a restrained graphic/cinematic direction with original Piik assets. Assess extension boundaries and cost before scheduling any theme/plugin API. Design experiments remain in Git history, outside the main source tree.
  8. Visual presentation and community translations. In a later version, explore bringing the pure-visual mode's illustrations and motion into the Chinese and English interfaces. Evaluate whether a separate pure-visual mode remains useful, and prepare the existing locale catalogs for community translations. No removal or new translation framework is scheduled for this release.
  9. Website illustration polish. Match the Host's held prop to the four existing hero activities: gamepad, paintbrush, camera and remote. Keep the accepted bright cast, floating hands and shared activity timing.