Files
piik/site/index.html
T

940 lines
59 KiB
HTML
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.
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="color-scheme" content="light dark" />
<meta
name="description"
content="Free, open-source screen sharing for private live streams with friends. Share games, watch movies together, or self-host Piik. Viewers join in a browser."
/>
<meta name="theme-color" content="#f4f3ef" />
<title>Piik — Free, open-source screen sharing</title>
<link rel="canonical" href="https://piik.tv/" />
<link rel="icon" href="./favicon.ico" />
<link rel="icon" href="./assets/favicon.png" type="image/png" sizes="96x96" />
<link rel="icon" href="./assets/favicon.svg" type="image/svg+xml" sizes="any" />
<script>
(() => {
let theme = new URLSearchParams(location.search).get('theme');
if (theme !== 'system' && theme !== 'light' && theme !== 'dark') {
try { theme = localStorage.getItem('piik:ui-theme'); } catch {}
}
if (theme === 'light' || theme === 'dark') document.documentElement.dataset.theme = theme;
})();
</script>
<link rel="stylesheet" href="./styles.css" />
<link rel="stylesheet" href="./assets/brand.css" />
<script type="module" src="./main.js"></script>
</head>
<body>
<a class="skip-link" href="#main"><span lang="en">Skip to content</span><span lang="zh-CN">跳到正文</span></a>
<svg class="symbols" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
<symbol id="tv-mark" viewBox="0 0 32 32">
<g fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round">
<path d="m11 4 5 4 5-4" />
<rect x="4" y="8" width="24" height="18" rx="4" />
<circle cx="11.5" cy="16.5" r="1.25" fill="currentColor" stroke="none" />
<path d="M19 17c1.5-1.8 3.2-1.8 4.7 0M10 29l2-3m10 3-2-3" />
</g>
</symbol>
<symbol id="download-mark" viewBox="0 0 24 24">
<path
d="M12 3v12m-5-5 5 5 5-5M4 16v4h16v-4"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
/>
</symbol>
</svg>
<header class="site-header wrap">
<a class="identity" href="#" aria-label="Piik" data-brand>Piik<span class="identity-dot">.</span></a>
<nav aria-label="Main">
<a href="#start"><span lang="en">Get started</span><span lang="zh-CN">使用教程</span></a>
<a href="#demo"><span lang="en">Use online</span><span lang="zh-CN">在线使用</span></a>
<a href="#faq"><span lang="en">FAQ</span><span lang="zh-CN">常见问题</span></a>
<a href="#download"><span lang="en">Download</span><span lang="zh-CN">下载</span></a>
<a href="./docs/?lang=en" data-doc-page=""><span lang="en">Documentation</span><span lang="zh-CN">文档中心</span></a>
</nav>
<div class="preferences" hidden>
<span id="language" class="lr-lang" role="group" aria-label="Language">
<button type="button" data-language="zh-CN" lang="zh-CN" aria-label="简体中文" aria-pressed="false">中</button>
<button type="button" data-language="en" lang="en" aria-label="English" aria-pressed="true" class="is-selected">EN</button>
</span>
<button id="theme" class="lr-btn is-compact lr-theme-toggle" type="button"></button>
<template id="theme-light"></template>
<template id="theme-dark"></template>
</div>
</header>
<main id="main">
<section class="hero wrap" aria-labelledby="hero-title">
<div class="hero-copy">
<p class="eyebrow">
<span class="status-dot" aria-hidden="true"></span><span lang="en">Free, open-source screen sharing</span
><span lang="zh-CN">免费开源的屏幕共享</span>
</p>
<h1 id="hero-title">
<span lang="en">Share the<br /><span class="highlight">good stuff.</span></span
><span lang="zh-CN">来,看点<br /><span class="highlight">好康的。</span></span>
</h1>
<p class="hero-description">
<span lang="en">A great play. A movie night. Photos from your trip.<br />Share your screen and invite your friends.</span
><span lang="zh-CN">游戏高光、周末电影、旅行照片。<br />开个房间,叫朋友来一起看。</span>
</p>
<div class="hero-actions">
<a class="lr-btn is-primary button" href="#download"
><span lang="en">Download Piik App</span><span lang="zh-CN">下载 Piik App</span
><svg aria-hidden="true"><use href="#download-mark" /></svg></a
><a class="text-link" href="https://demo.piik.tv" target="_blank" rel="noopener noreferrer"
><span lang="en">Use Piik online</span><span lang="zh-CN">直接使用在线版</span
><span aria-hidden="true"> ↗</span></a
>
</div>
<p class="hero-note">
<span lang="en">One host and up to 20 friends. Watch without installing anything.</span
><span lang="zh-CN">一位房主,最多 20 位朋友。观看无须安装。</span>
</p>
<div class="film-actions">
<a class="film-link" href="./film/" data-film-link>
<span class="film-play" aria-hidden="true"><svg viewBox="0 0 24 24"><path d="m9 6 9 6-9 6Z" fill="currentColor" /></svg></span>
<span lang="en">A little film about Piik</span><span lang="zh-CN">用一支短片,认识 Piik</span>
<span class="film-length">64s</span>
</a>
</div>
</div>
<div class="hero-scene">
<img
class="living-room"
src="./assets/living-room.svg#still"
width="900"
height="590"
fetchpriority="high"
alt="A host with a small gold crown shares an RPG, a drawing, travel photos and an animated film. Three friends watch from the sofa."
/>
<div class="scene-caption">
<span class="caption-line"></span>
<p id="welcome-line"><span lang="en">“Your seat is right here.”</span><span lang="zh-CN">“沙发给你留着呢。”</span></p>
</div>
</div>
</section>
<details class="film-preview wrap" id="film-preview" hidden>
<summary><span lang="en">A little film about Piik</span><span lang="zh-CN">用一支短片,认识 Piik</span><span class="film-collapse"><span lang="en">Close</span><span lang="zh-CN">收起</span> ×</span></summary>
<iframe id="website-film" title="Piik introduction" allow="fullscreen" allowfullscreen></iframe>
</details>
<section class="how-section" id="how" aria-labelledby="how-title">
<div class="wrap">
<div class="section-heading">
<p class="eyebrow"><span lang="en">How it works</span><span lang="zh-CN">分享只需三步</span></p>
<h2 id="how-title">
<span lang="en"
><span class="phrase">Pick a screen.</span> <span class="phrase">Send a link.</span>
<span class="phrase">Watch together.</span></span
><span lang="zh-CN"><span class="phrase">选好画面,</span><span class="phrase">发个邀请。</span></span>
</h2>
</div>
<ol class="steps">
<li>
<button class="step-art" type="button" disabled>
<span class="sr-only"
><span lang="en">Replay: choosing a screen</span><span lang="zh-CN">重播:选择分享画面</span></span
><svg viewBox="0 0 250 136" aria-hidden="true">
<g fill="none" stroke="var(--drawing)" stroke-width="3" stroke-linejoin="round">
<rect x="47" y="17" width="141" height="90" rx="12" fill="var(--art-mint)" />
<path d="M105 108v14m-20 0h65" />
<g class="chosen-window">
<rect x="64" y="31" width="64" height="57" rx="7" fill="var(--art-paper)" />
<path d="m79 76 12-15 9 7 12-19" />
</g>
<rect x="137" y="31" width="34" height="23" rx="5" fill="var(--art-blue)" />
<rect x="137" y="64" width="34" height="24" rx="5" fill="var(--art-yellow)" />
<g class="screen-cursor">
<path d="m172 82 3 33 9-8 8 13 9-5-8-13 11-2Z" fill="var(--art-orange)" />
</g>
</g>
<path
d="m33 35-8-4m12-8-4-8m169 22 9-5"
stroke="var(--drawing)"
stroke-width="3"
stroke-linecap="round"
/></svg
><span class="art-replay" aria-hidden="true">↻</span>
</button>
<p class="step-number">01 <span aria-hidden="true">/</span></p>
<h3><span lang="en">Choose what to share.</span><span lang="zh-CN">选好画面。</span></h3>
<p>
<span lang="en">Your whole screen or just one window.<br />You choose what to let people see.</span
><span lang="zh-CN">整个屏幕,或只分享一个窗口。<br />分享哪些内容,由你决定。</span>
</p>
</li>
<li>
<button class="step-art" type="button" disabled>
<span class="sr-only"
><span lang="en">Replay: sending an invitation</span
><span lang="zh-CN">重播:发出邀请链接</span></span
><svg viewBox="0 0 250 136" aria-hidden="true">
<g stroke="var(--drawing)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round">
<g class="invite-note">
<rect
x="44"
y="31"
width="143"
height="73"
rx="16"
fill="var(--art-paper)"
transform="rotate(-5 115 67)"
/>
<path
d="m80 77-6-6a13 13 0 0 1 0-18l10-10a13 13 0 0 1 18 0l6 6m-10 8 6 6a13 13 0 0 1 0 18L94 91a13 13 0 0 1-18 0l-6-6m11-10 16-16"
fill="none"
/>
<path d="M125 58h38m-38 15h24" />
</g>
<circle cx="191" cy="96" r="25" fill="var(--art-blue)" />
<g class="invite-plane">
<path d="m174 94 34-12-12 33-7-14Z" fill="var(--art-paper)" />
<path d="m189 101 8-9" />
</g>
<path class="invite-spark" d="M190 24v10m-5-5h10M33 93v8m-4-4h8" />
</g></svg
><span class="art-replay" aria-hidden="true">↻</span>
</button>
<p class="step-number">02 <span aria-hidden="true">/</span></p>
<h3><span lang="en">Send a link.</span><span lang="zh-CN">发个邀请。</span></h3>
<p>
<span lang="en">Drop the room link in your group chat.<br />Your friends open it in a browser.</span
><span lang="zh-CN">把邀请链接发给朋友。<br />对方用浏览器打开,就能加入。</span>
</p>
</li>
<li>
<button class="step-art" type="button" disabled>
<span class="sr-only"
><span lang="en">Replay: friends joining the sofa</span
><span lang="zh-CN">重播:朋友坐上沙发</span></span
><svg viewBox="0 0 250 136" aria-hidden="true">
<g stroke="var(--drawing)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round">
<path d="M55 112v9m139-9v9" />
<rect x="46" y="63" width="157" height="50" rx="17" fill="var(--couch)" stroke="none" />
<g class="sofa-friend">
<g fill="var(--art-blue)" stroke="none">
<circle cx="99" cy="39" r="12" />
<path d="M78 88c0-19.5 7.5-30 21-30s21 10.5 21 30q0 4.5-4.5 4.5h-33Q78 92.5 78 88Z" />
</g>
<path d="M95 39v1m8-1v1" />
</g>
<g class="sofa-friend">
<g fill="var(--art-pink)" stroke="none">
<circle cx="150" cy="37" r="12" />
<path d="M129 88c0-19.5 7.5-30 21-30s21 10.5 21 30q0 4.5-4.5 4.5h-33Q129 92.5 129 88Z" />
</g>
<path d="M146 37v1m8-1v1" />
</g>
<path d="M125 99v10M46 73h18a10 10 0 0 1 10 10v26m129-36h-18a10 10 0 0 0-10 10v26" fill="none" stroke="var(--couch-dark)" />
<g class="sofa-spark"><path d="m185 20 3 8 8 3-8 3-3 8-3-8-8-3 8-3Z" fill="var(--art-yellow)" /></g>
</g></svg
><span class="art-replay" aria-hidden="true">↻</span>
</button>
<p class="step-number">03 <span aria-hidden="true">/</span></p>
<h3><span lang="en">Watch together.</span><span lang="zh-CN">沙发上见。</span></h3>
<p>
<span lang="en">Watch, chat and send reactions.<br />Join room voice to talk along.</span
><span lang="zh-CN">边看边聊,送个表情。<br />也能开麦,一起聊出声。</span>
</p>
</li>
</ol>
</div>
</section>
<section class="start-section wrap" id="start" aria-labelledby="start-title">
<div class="section-heading">
<p class="eyebrow"><span lang="en">Quick start</span><span lang="zh-CN">使用教程</span></p>
<h2 id="start-title">
<span lang="en">Start your first room.</span><span lang="zh-CN">开始第一次分享。</span>
</h2>
<p>
<span lang="en"
>Download the App to start sharing, or open <a href="https://demo.piik.tv">Piik online</a> and use it right in your browser.</span
><span lang="zh-CN"
>下载 Piik App,开始分享;也可以直接打开<a href="https://demo.piik.tv">在线版</a>,用浏览器开房间。</span
>
</p>
</div>
<nav class="guide-links" aria-label="Guides">
<a href="#demo"><span lang="en">Use online</span><span lang="zh-CN">在线版</span></a
><a href="#guide-app"><span lang="en">Piik App</span><span lang="zh-CN">Piik App</span></a
><a href="#guide-web"><span lang="en">Existing site</span><span lang="zh-CN">已有站点</span></a
><a href="#watch"><span lang="en">Join as a viewer</span><span lang="zh-CN">加入房间</span></a>
</nav>
<div class="guides">
<details class="guide" id="demo" open>
<summary>
<span class="guide-number">01</span
><span class="guide-heading"
><span lang="en">Share online</span><span lang="zh-CN">直接在线分享</span
><small
><span lang="en">Open in your browser and start sharing</span
><span lang="zh-CN">打开浏览器就能开房间、发邀请</span></small
></span
>
</summary>
<div class="guide-body">
<ol class="guide-steps">
<li>
<strong
><span lang="en">Open Piik online.</span
><span lang="zh-CN">打开在线版。</span></strong
>
<p>
<span lang="en"
>Visit <a href="https://demo.piik.tv">demo.piik.tv</a> on a computer or phone.
</span
><span lang="zh-CN"
>用电脑或手机浏览器打开 <a href="https://demo.piik.tv">demo.piik.tv</a>。
</span
>
</p>
</li>
<li>
<strong
><span lang="en">Share a screen and copy its invitation.</span
><span lang="zh-CN">分享画面,复制邀请。</span></strong
>
<p>
<span lang="en"
>Select <strong>Start sharing</strong>. On a computer, use <strong>Browser</strong> to choose a screen, window or tab.
You can also choose <strong>Camera</strong> on a supported computer or phone browser.
Once the preview appears, select <strong>Copy invite link</strong>.</span
><span lang="zh-CN"
>点击<strong>开始分享</strong>。电脑上可通过<strong>浏览器</strong>选择屏幕、窗口或标签页;
电脑和手机也可选择<strong>摄像头</strong>(需浏览器支持)。预览出现后,点击<strong>复制邀请链接</strong>。</span
>
</p>
</li>
<li>
<strong
><span lang="en">Send the invitation to your friends.</span
><span lang="zh-CN">把邀请发给朋友。</span></strong
>
<p>
<span lang="en"
>Friends can open the link on a phone or computer. Select <strong>Play</strong> if playback does not start automatically.</span
><span lang="zh-CN"
>朋友用手机或电脑打开链接即可观看。如果没有自动播放,点击<strong>播放</strong>。</span
>
</p>
</li>
<li>
<strong><span lang="en">End your share.</span><span lang="zh-CN">结束分享。</span></strong>
<p>
<span lang="en"
>When you are finished, select <strong>Stop sharing</strong> on the host page.</span
><span lang="zh-CN">结束时,在房主页面点击<strong>停止分享</strong>。</span>
</p>
</li>
</ol>
<aside class="guide-note">
<h3><span lang="en">About this online site</span><span lang="zh-CN">在线版说明</span></h3>
<p id="demo-status">
<span lang="en"
>This site uses direct device-to-device connections (P2P), with media forwarding disabled.
Restrictive networks may open the page but block the video.</span
><span lang="zh-CN"
>在线版仅使用设备间直连(P2P),未启用媒体转发。
在受限网络下,可能出现页面能打开、画面无法连接的情况。</span
>
</p>
<p>
<span lang="en">Self-hosted Piik sites can <a href="./docs/self-hosting.html#optional-media-fallback">enable media forwarding (SFU)</a> as a fallback when a direct connection cannot be established.</span
><span lang="zh-CN">自行部署的 Piik 站点可以<a href="./docs/zh/self-hosting.html#可选启用媒体兜底">启用媒体转发(SFU)</a>,为直连失败提供兜底。</span>
</p>
<a class="lr-btn button download-button" href="https://demo.piik.tv" aria-describedby="demo-status"
><span lang="en">Use Piik online</span><span lang="zh-CN">直接在线使用</span
><span aria-hidden="true"> ↗</span></a
>
</aside>
</div>
</details>
<details class="guide" id="guide-app">
<summary>
<span class="guide-number">02</span
><span class="guide-heading"
><span lang="en">Share with Piik App</span><span lang="zh-CN">用 Piik App 分享</span
><small
><span lang="en">Download, open and create a room</span
><span lang="zh-CN">下载后直接开房间</span></small
></span
>
</summary>
<div class="guide-body">
<ol class="guide-steps">
<li>
<strong
><span lang="en">Download Piik App.</span
><span lang="zh-CN">下载 Piik App。</span></strong
>
<p>
<span lang="en"><a href="#download">Download Piik App</a>. Extract the desktop package or install the Android APK. On iPhone or iPad, <a href="https://demo.piik.tv">open Piik in Safari</a>.</span
><span lang="zh-CN"><a href="#download">下载 Piik App</a>。电脑上解压后打开,安卓设备安装 APK。iPhone 或 iPad 请<a href="https://demo.piik.tv">用 Safari 打开在线版</a>。</span>
</p>
<dl class="launch-files">
<div>
<dt>Windows</dt>
<dd><span lang="en">Open </span><span lang="zh-CN">打开 </span><code>piik-app.exe</code></dd>
</div>
<div>
<dt>macOS</dt>
<dd><span lang="en">Open </span><span lang="zh-CN">打开 </span><code>Piik App.app</code></dd>
</div>
<div>
<dt>Linux</dt>
<dd><span lang="en">Run </span><span lang="zh-CN">运行 </span><code>./piik-app</code></dd>
</div>
<div>
<dt><span lang="en">Mobile</span><span lang="zh-CN">手机/平板</span></dt>
<dd><span lang="en">Open Piik after installation</span><span lang="zh-CN">安装后打开 Piik</span></dd>
</div>
</dl>
</li>
<li>
<strong
><span lang="en">Choose Public invite, then Open Piik.</span
><span lang="zh-CN">选择「公网邀请」,点击「进入 Piik」。</span></strong
>
<p>
<span lang="en"
>The launcher opens in your system browser. Public invite creates a temporary Internet address
for friends outside your network. Choose Local room for the same network; to use an existing site, see guide 03.</span
><span lang="zh-CN">启动页会在系统浏览器里打开。「公网邀请」会生成临时公网地址,方便不在同一网络的朋友加入。同一局域网可选「本地房间」;搭配已有站点使用见教程 03。</span>
</p>
</li>
<li>
<strong
><span lang="en">Start sharing and choose a source.</span
><span lang="zh-CN">点击「开始分享」,选择来源。</span></strong
>
<p>
<span lang="en"
>Choose <strong>Browser</strong>, <strong>Camera</strong>, <strong>Apps / Windows</strong> or
<strong>Screens</strong> where available. Select the picture and audio you want to share.</span
><span lang="zh-CN"
>按可用选项选择<strong>浏览器</strong>、<strong>摄像头</strong>、<strong>程序 / 窗口</strong
>或<strong>屏幕</strong>,再选择具体画面和声音。</span
>
</p>
</li>
<li>
<strong
><span lang="en">Copy the invitation and keep the App open.</span
><span lang="zh-CN">复制邀请,并保持 App 运行。</span></strong
>
<p>
<span lang="en"
>Check the preview and select <strong>Copy invite link</strong>. Keep both the App and sharing tab
open until you finish.</span
><span lang="zh-CN"
>确认预览后点击<strong>复制邀请链接</strong>。分享期间保持 App
和分享标签页打开,结束时点击<strong>停止分享</strong>。</span
>
</p>
</li>
</ol>
<aside class="guide-note">
<h3><span lang="en">Which mode should I use?</span><span lang="zh-CN">模式怎么选?</span></h3>
<dl class="modes">
<div>
<dt><span lang="en">Local room</span><span lang="zh-CN">本地房间</span></dt>
<dd>
<span lang="en">For friends on the same Wi-Fi or local network, such as at home or in the office. If several local invitation addresses appear, choose the network your friends use.</span
><span lang="zh-CN">适合同一 Wi-Fi 或局域网里的朋友,比如同屋或同办公室。出现多个局域网邀请地址时,选择与朋友相同的网络。</span>
</dd>
</div>
<div>
<dt><span lang="en">Public invite</span><span lang="zh-CN">公网邀请</span></dt>
<dd>
<span lang="en"
>For friends on another network, even in another city. Send them a temporary invitation and keep the App running. Closing it ends the room and invitation.</span
><span lang="zh-CN">朋友在外地、和你不在同一网络时,用临时公网邀请加入。分享期间保持 App 运行,退出后房间和邀请失效。</span>
</dd>
</div>
</dl>
<p>
<span lang="en">Already have a Piik site? Keep the App running and <a href="#guide-web">connect from the site</a>.</span>
<span lang="zh-CN">已有 Piik 站点?保持 App 运行,<a href="#guide-web">从站点连接即可</a>。</span>
</p>
<p>
<span lang="en"
>Public invite relies on P2P media connections, without a media-server fallback. Some networks may
open the page but fail to receive video.</span
><span lang="zh-CN"
>公网邀请依赖 P2P
媒体连接,不提供媒体服务器转发兜底;部分网络可能出现网页能打开、画面无法连接的情况。</span
>
</p>
<p>
<span lang="en"
>Physical-device coverage for the macOS and Linux apps is still limited. Test reports are welcome on
<a href="https://github.com/TNTcraftHIM/Piik/issues">GitHub Issues</a>.
On macOS, native capture requires macOS 13+. On Linux, it needs <a href="https://github.com/TNTcraftHIM/Piik/blob/main/native/capture/linux/README.md">additional system components</a>. Browser capture is also available.</span
><span lang="zh-CN"
>macOS 和 Linux 版 Piik App 仍需更多实机测试,欢迎有设备的朋友试用并在
<a href="https://github.com/TNTcraftHIM/Piik/issues">GitHub Issues</a> 反馈。
macOS 原生采集需要 macOS 13 及以上;Linux 原生采集需要<a href="https://github.com/TNTcraftHIM/Piik/blob/main/native/capture/linux/README.md">额外系统组件</a>。也可以用浏览器采集。</span
>
</p>
<a href="./docs/getting-started.html#share-with-piik-app" lang="en">Full App guide<span aria-hidden="true">&nbsp;↗</span></a>
<a href="./docs/zh/getting-started.html#用-piik-app-分享" lang="zh-CN">完整 Piik App 使用指南<span aria-hidden="true">&nbsp;↗</span></a>
</aside>
</div>
</details>
<details class="guide" id="guide-web">
<summary>
<span class="guide-number">03</span
><span class="guide-heading"
><span lang="en">Use your group's Piik site</span><span lang="zh-CN">使用已有的 Piik 站点</span
><small
><span lang="en">Open in a browser, or connect with Piik App</span
><span lang="zh-CN">浏览器直接用,也能搭配 Piik App</span></small
></span
>
</summary>
<div class="guide-body">
<ol class="guide-steps">
<li>
<strong
><span lang="en">Get a Piik site address.</span
><span lang="zh-CN">准备一个站点地址。</span></strong
>
<p>
<span lang="en"
>A Piik site runs on a server set up by you or someone in your group.
Use its address, or try the public site at <a href="https://demo.piik.tv">https://demo.piik.tv</a>.</span
><span lang="zh-CN">Piik 站点由你或朋友部署在服务器上。使用你们已有的地址,
也可以先用公开站点 <a href="https://demo.piik.tv">https://demo.piik.tv</a>。</span>
</p>
</li>
<li>
<strong
><span lang="en">Connect Piik App to the site.</span><span lang="zh-CN">用 App 连接站点。</span></strong
>
<p>
<span lang="en"
>Keep Piik App running and open the site in your browser. Click <strong>App</strong> at the top,
check the address on the local confirmation page, then choose <strong>Allow access</strong>.
Enter any site passphrase on the site itself.</span
><span lang="zh-CN"
>保持 Piik App 运行,在浏览器打开站点,点击顶部的 <strong>App</strong>。
在本机确认页核对网址,点击<strong>允许使用</strong>。如果站点要求口令,在站点页面输入。</span
>
</p>
<p>
<span lang="en">The same browser remembers this connection. On later visits, keep the App running;
the page reconnects when you choose what to share.
Allow local-network access if your browser asks.</span>
<span lang="zh-CN">同一浏览器会记住这次连接。之后保持 App 运行,直接访问站点,
选择分享来源时会自动连接 App。
浏览器询问本地网络权限时,请允许访问。</span>
</p>
</li>
<li>
<strong
><span lang="en">Share a picture and invite your friends.</span
><span lang="zh-CN">选好画面,把邀请发给朋友。</span></strong
>
<p>
<span lang="en"
>Select <strong>Start sharing</strong> and choose a source. Check the preview, then
<strong>Copy invite link</strong> and send it to your friends. Keep the App and sharing tab open.</span
><span lang="zh-CN"
>点击<strong>开始分享</strong>并选择来源,确认预览后,<strong>复制邀请链接</strong>发给朋友。
分享期间保持 App 和分享标签页打开。</span
>
</p>
</li>
</ol>
<aside class="guide-note">
<h3><span lang="en">App and site, together</span><span lang="zh-CN">App 与站点,搭配着用</span></h3>
<p>
<span lang="en"
>Use the App's window, screen and audio capture with your group's regular Piik address.
Your friends can still watch in a browser.</span
><span lang="zh-CN"
>用上 App 的窗口、屏幕与声音采集,也保留站点的固定入口。朋友照样用浏览器观看。</span
>
</p>
<p>
<span lang="en">With the site's media forwarding (SFU) enabled and the host's Privacy mode off,
Piik can try this fallback when a direct connection is unavailable.
<strong>demo.piik.tv is P2P-only; this fallback is not enabled there.</strong></span>
<span lang="zh-CN">站点启用媒体转发(SFU)、房主关闭隐私模式后,直连不通时,Piik 会自动尝试这条备用路线。
<strong>demo.piik.tv 仅使用 P2P,未开启 SFU 兜底。</strong></span>
</p>
<p>
<span lang="en">To share using just a browser, open the same site on a computer and select <strong>Start sharing</strong>.
Available sources and audio depend on your browser and system.</span>
<span lang="zh-CN">也可以直接用电脑浏览器打开同一站点,点击<strong>开始分享</strong>。
可选画面和声音取决于浏览器与系统。</span>
</p>
<a href="./docs/getting-started.html#share-from-an-existing-site" lang="en">How to share from an existing site<span aria-hidden="true">&nbsp;↗</span></a>
<a href="./docs/zh/getting-started.html#使用已有站点分享" lang="zh-CN">如何从已有站点分享<span aria-hidden="true">&nbsp;↗</span></a>
<a href="#docs"><span lang="en">Host a site of your own</span><span lang="zh-CN">部署自己的站点</span><span aria-hidden="true"> ↓</span></a>
</aside>
</div>
</details>
</div>
<article class="watch-guide" id="watch" aria-labelledby="watch-title">
<svg aria-hidden="true"><use href="#tv-mark" /></svg>
<div>
<h3 id="watch-title">
<span lang="en">Here to watch a friend?</span><span lang="zh-CN">来围观朋友的分享?</span>
</h3>
<ol>
<li>
<span lang="en">Open your friend’s invitation in a phone or computer browser.</span
><span lang="zh-CN">用手机或电脑浏览器打开朋友发来的邀请链接。</span>
</li>
<li>
<span lang="en">Wait for the picture. If playback does not start, select <strong>Play</strong>.</span
><span lang="zh-CN">等待画面出现;如果没有自动播放,点击<strong>播放</strong>。</span>
</li>
<li>
<span lang="en"
>Move the pointer over the video or tap it to show volume, fullscreen and other playback
controls.</span
><span lang="zh-CN">将鼠标移到画面上,或轻点画面,显示音量、全屏等播放控件。</span>
</li>
</ol>
<p>
<span lang="en"
>Only have a four-digit room code? Ask your friend for the site address. Open it, select <strong>Join a room</strong> and enter the code. If the page asks for a passphrase or password, ask the host for it.</span
><span lang="zh-CN"
>如果朋友只发了四位房间号,先请他发来站点网址。打开网址,选<strong>加入房间</strong>并输入房间号。如果页面要求密码,请向房主索取。</span
>
</p>
</div>
</article>
</section>
<section class="faq-section wrap" id="faq" aria-labelledby="faq-title">
<div class="faq-intro">
<div class="faq-heading">
<h2 id="faq-title"><span lang="en">Frequently asked questions</span><span lang="zh-CN">常见问题</span></h2>
<svg class="faq-tv" aria-hidden="true"><use href="#tv-mark" /></svg>
</div>
<nav class="faq-support" id="faq-help-title" aria-labelledby="faq-title">
<a href="./docs/?lang=en" data-doc-page="">
<template data-faq-glyph="book"></template>
<span>
<strong><span lang="en">Browse the documentation</span><span lang="zh-CN">查阅文档中心</span></strong>
<small lang="en">Learn how to share your screen, invite friends, and use remote control.</small>
<small lang="zh-CN">学习分享屏幕、邀请朋友和远程控制。</small>
</span>
</a>
<a href="./docs/troubleshooting.html?lang=en" data-doc-page="troubleshooting.html">
<template data-faq-glyph="help"></template>
<span>
<strong id="faq-support-title"><span lang="en">Troubleshoot a problem</span><span lang="zh-CN">查看疑难解答</span></strong>
<small lang="en">Fix invitations that won’t open, missing picture, or missing sound.</small>
<small lang="zh-CN">解决邀请打不开、没画面或没声音的问题。</small>
</span>
</a>
</nav>
</div>
<div class="questions">
<details id="faq-what">
<summary><span lang="en">How do I share my screen with friends?</span><span lang="zh-CN">怎么把我的屏幕分享给朋友?</span></summary>
<p lang="en">Open Piik online, select <strong>Start sharing</strong> and choose a window or your whole screen. Once you see your preview, send friends the invitation link. They can watch in their browser without installing the App or creating an account. <a href="./docs/getting-started.html?lang=en#share-your-screen-in-a-browser">Share your screen in a browser</a></p>
<p lang="zh-CN">打开 Piik 在线版,点<strong>开始分享</strong>,选一个窗口或整个屏幕。看到预览后,把邀请链接发给朋友。朋友用浏览器打开就能看,无需安装 App 或注册账号。<a href="./docs/zh/getting-started.html#用浏览器分享屏幕">用浏览器分享屏幕</a></p>
</details>
<details id="faq-platforms">
<summary><span lang="en">Which devices can I use?</span><span lang="zh-CN">哪些设备可以用 Piik?</span></summary>
<p lang="en">Friends can watch on a phone, tablet or computer. Piik App is available for Windows, macOS, Linux and Android. On iPhone and iPad, use Safari. Sharing the device screen requires iOS or iPadOS 27 or later, and game and video audio are unavailable during screen sharing. <a href="./docs/sharing.html?lang=en#iphone-and-ipad-screen-sharing">iPhone and iPad screen sharing</a></p>
<p lang="zh-CN">手机、平板和电脑都能用浏览器观看。Windows、macOS、Linux 和 Android 也有 Piik App。iPhone 和 iPad 用 Safari 观看。分享设备屏幕需要 iOS 或 iPadOS 27 及以上版本,分享时观众听不到游戏或视频的声音。<a href="./docs/zh/sharing.html#iphone-与-ipad-屏幕分享">iPhone 与 iPad 屏幕分享</a></p>
</details>
<details id="faq-app">
<summary><span lang="en">When would I use the App instead of the browser?</span><span lang="zh-CN">有了在线版,什么时候需要 App?</span></summary>
<p lang="en">You can share, watch, chat and talk in a browser. Use Piik App to host a room on your device. To let a friend control your computer or share sound from one Windows app on an existing site, start Piik App, select <strong>App</strong> at the top right of the site and approve the connection.</p>
<p lang="zh-CN">浏览器里就能分享、观看、聊天和通话。想用自己的设备开房间,可以用 Piik App。在已有站点里,如果想让朋友操作你的电脑,或只分享某个 Windows 程序的声音,先启动 App,再点站点右上角的 <strong>App</strong> 并允许连接。</p>
</details>
<details id="faq-network-title">
<summary><span lang="en">How many friends can join, and how do I invite them?</span><span lang="zh-CN">一个房间能邀请多少人?怎么邀请?</span></summary>
<p lang="en">One host can share with up to 20 viewers. Copy the full invitation link or show its QR code. Anyone who receives a password-free invitation can use it. If a friend has only the four-digit room code, send them your site address so they can select <strong>Join a room</strong> there and enter the code.</p>
<p lang="zh-CN">一个房间可以有 1 位房主和最多 20 位观众。可以复制完整的邀请链接,也可以让朋友扫邀请二维码。拿到免密邀请的人都能使用它。如果朋友只有四位房间号,再把你使用的站点网址发给他,让他打开后点<strong>加入房间</strong>并输入房间号。</p>
</details>
<details id="faq-sound">
<summary><span lang="en">Can my friends hear the game and talk to me?</span><span lang="zh-CN">朋友能听到游戏声音,也能和我语音聊天吗?</span></summary>
<p lang="en">Yes. When choosing a screen or window, turn on the sound option if one is available. For a browser game, share its tab and include tab audio. For a two-way conversation, the host selects <strong>Interact → Voice → Open room voice</strong>. Each speaker joins voice and turns on their microphone. <a href="./docs/sound-help.html?lang=en">Missing game sound, quiet microphones and echo</a></p>
<p lang="zh-CN">可以。选屏幕或窗口时,如果有声音开关,把它打开。分享网页游戏时,可以选游戏所在的标签页并勾选分享标签页音频。想边看边聊,房主先在<strong>互动 → 语音</strong>里点<strong>开启房间语音</strong>。想说话的人再加入语音并开麦。<a href="./docs/zh/sound-help.html">游戏没声音、听不到朋友或有回声</a></p>
</details>
<details id="faq-coplay">
<summary><span lang="en">Can a friend play the game on my computer?</span><span lang="zh-CN">朋友能一起玩我电脑上的游戏吗?</span></summary>
<p lang="en">Yes. Share your game from the desktop App, enable <strong>Remote control</strong> and accept your friend’s request. Games with local multiplayer can have several players. A friend on a phone can use the on-screen joystick. <a href="./docs/remote-control.html?lang=en">Remote control and playing together</a></p>
<p lang="zh-CN">可以。用电脑上的 Piik App 分享游戏,打开<strong>远程控制</strong>,同意朋友的控制请求。游戏支持本地多人模式时,几位朋友可以一起玩。用手机的朋友也可以打开屏幕摇杆。<a href="./docs/zh/remote-control.html">远程控制与多人同乐</a></p>
</details>
<details id="faq-hosting">
<summary><span lang="en">Do I need a server to share with friends elsewhere?</span><span lang="zh-CN">和异地的朋友分享,要自己搭服务器吗?</span></summary>
<p lang="en">No. Use Piik online or select <strong>Public invite</strong> in Piik App to get a temporary internet address. For a permanent site for your group, you can host Piik on your own server. <a href="./docs/self-hosting.html?lang=en">Deploy Piik Server</a></p>
<p lang="zh-CN">不用。可以使用在线版,也可以在 Piik App 里选<strong>公网邀请</strong>,生成一个临时网址发给朋友。如果想让大家长期使用同一个站点,可以自行部署。<a href="./docs/zh/self-hosting.html">部署 Piik Server</a></p>
</details>
</div>
</section>
<section class="download-section wrap" id="download" aria-labelledby="download-title">
<div class="section-heading">
<p class="eyebrow"><span lang="en">Download</span><span lang="zh-CN">下载</span></p>
<h2 id="download-title"><span lang="en">Get Piik App.</span><span lang="zh-CN">下载 Piik App。</span></h2>
<p>
<span lang="en"
>Share from your computer or phone. Friends join with a link.</span
><span lang="zh-CN">电脑或手机上开播,朋友点开链接就能加入。</span>
</p>
<a class="download-release" href="https://github.com/TNTcraftHIM/Piik/releases/latest">
<span class="download-headline" id="download-headline" hidden><span lang="en"><strong></strong><span></span></span><span lang="zh-CN"><strong></strong><span></span></span></span>
<span class="download-release-meta">
<span id="download-release" hidden>
<span><span lang="en">Latest </span><span lang="zh-CN">最新版本 </span><b></b></span>
<time></time>
</span>
<span class="download-release-action"><span lang="en">Release notes</span><span lang="zh-CN">更新内容</span><span aria-hidden="true"> ↗</span></span>
</span>
</a>
</div>
<section class="download-platforms" aria-labelledby="download-desktop-title">
<h3 class="download-group-title" id="download-desktop-title"><span lang="en">Desktop</span><span lang="zh-CN">桌面端</span></h3>
<div class="download-cards">
<article class="download-card" aria-labelledby="download-windows">
<div class="platform-mark" aria-hidden="true">
<svg
viewBox="0 0 32 32"
fill="none"
stroke="currentColor"
stroke-width="2.2"
stroke-linecap="round"
stroke-linejoin="round"
>
<rect x="3" y="5" width="26" height="22" rx="3" />
<path d="M3 12h26M12 12v15M7 8.5h.1m3.9 0h.1" />
</svg>
</div>
<h4 id="download-windows">Windows</h4>
<p class="download-variant">x64</p>
<a
class="lr-btn button download-button"
href="https://github.com/TNTcraftHIM/Piik/releases/latest/download/piik-app-windows-amd64.zip"
><svg aria-hidden="true"><use href="#download-mark" /></svg><span lang="en">Download from GitHub</span
><span lang="zh-CN">GitHub 下载</span></a
><a href="https://atomgit.com/TNTcraftHIM/Piik/releases/download/latest/piik-app-windows-amd64.zip"
><span lang="en">Download from AtomGit</span><span lang="zh-CN">AtomGit 国内镜像下载</span></a
>
</article>
<article class="download-card" aria-labelledby="download-macos">
<div class="platform-mark" aria-hidden="true">
<svg
viewBox="0 0 32 32"
fill="none"
stroke="currentColor"
stroke-width="2.2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M12 12H8a4 4 0 1 1 4-4v16a4 4 0 1 1-4-4h16a4 4 0 1 1-4 4V8a4 4 0 1 1 4 4Z" />
</svg>
</div>
<h4 id="download-macos">macOS</h4>
<fieldset class="lr-toggle download-architecture" disabled>
<legend class="sr-only"><span lang="en">Mac processor</span><span lang="zh-CN">Mac 芯片</span></legend>
<label><input type="radio" name="macos-architecture" value="darwin-arm64" checked /><span><span lang="en">Apple silicon</span><span lang="zh-CN">Apple 芯片</span></span></label>
<label><input type="radio" name="macos-architecture" value="darwin-amd64" /><span>Intel</span></label>
</fieldset>
<a
class="lr-btn button download-button"
href="https://github.com/TNTcraftHIM/Piik/releases/latest/download/piik-app-darwin-arm64.zip"
><svg aria-hidden="true"><use href="#download-mark" /></svg><span lang="en">Download from GitHub</span
><span lang="zh-CN">GitHub 下载</span></a
><a href="https://atomgit.com/TNTcraftHIM/Piik/releases/download/latest/piik-app-darwin-arm64.zip"
><span lang="en">Download from AtomGit</span><span lang="zh-CN">AtomGit 国内镜像下载</span></a
>
<p><span lang="en">Native capture requires macOS 13+.</span><span lang="zh-CN">原生采集需 macOS 13 及以上。</span></p>
</article>
<article class="download-card" aria-labelledby="download-linux">
<div class="platform-mark" aria-hidden="true">
<svg
viewBox="0 0 32 32"
fill="none"
stroke="currentColor"
stroke-width="2.2"
stroke-linecap="round"
stroke-linejoin="round"
>
<rect x="3" y="5" width="26" height="22" rx="4" />
<path d="m9 12 5 4-5 4m9 0h5" />
</svg>
</div>
<h4 id="download-linux">Linux</h4>
<fieldset class="lr-toggle download-architecture" disabled>
<legend class="sr-only"><span lang="en">Linux architecture</span><span lang="zh-CN">Linux 架构</span></legend>
<label><input type="radio" name="linux-architecture" value="linux-amd64" checked /><span>x64</span></label>
<label><input type="radio" name="linux-architecture" value="linux-arm64" /><span>ARM64</span></label>
</fieldset>
<a
class="lr-btn button download-button"
href="https://github.com/TNTcraftHIM/Piik/releases/latest/download/piik-app-linux-amd64.zip"
><svg aria-hidden="true"><use href="#download-mark" /></svg><span lang="en">Download from GitHub</span
><span lang="zh-CN">GitHub 下载</span></a
><a href="https://atomgit.com/TNTcraftHIM/Piik/releases/download/latest/piik-app-linux-amd64.zip"
><span lang="en">Download from AtomGit</span><span lang="zh-CN">AtomGit 国内镜像下载</span></a
>
</article>
</div>
</section>
<section class="download-platforms" aria-labelledby="download-mobile-title">
<h3 class="download-group-title" id="download-mobile-title"><span lang="en">Mobile</span><span lang="zh-CN">移动端</span></h3>
<div class="download-cards download-cards--mobile">
<article class="download-card" aria-labelledby="download-android">
<div class="platform-mark" aria-hidden="true">
<svg
viewBox="0 0 32 32"
fill="none"
stroke="currentColor"
stroke-width="2.2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M4 24a12 12 0 0 1 24 0ZM9 13 6 8m17 5 3-5" />
<circle cx="11" cy="20" r="1.3" fill="currentColor" stroke="none" />
<circle cx="21" cy="20" r="1.3" fill="currentColor" stroke="none" />
</svg>
</div>
<h4 id="download-android">Android</h4>
<p class="download-variant">ARM64 / x64</p>
<a class="lr-btn button download-button" href="https://github.com/TNTcraftHIM/Piik/releases/latest/download/piik-app-android-universal.apk"
><svg aria-hidden="true"><use href="#download-mark" /></svg><span lang="en">Download from GitHub</span><span lang="zh-CN">GitHub 下载</span></a
><a href="https://atomgit.com/TNTcraftHIM/Piik/releases/download/latest/piik-app-android-universal.apk"
><span lang="en">Download from AtomGit</span><span lang="zh-CN">AtomGit 国内镜像下载</span></a>
<p class="download-note"><span lang="en">Android 10 or later.</span><span lang="zh-CN">Android 10 及以上。</span></p>
</article>
<article class="download-card" aria-labelledby="download-ios">
<div class="platform-mark" aria-hidden="true">
<svg viewBox="0 0 32 32">
<text x="16" y="16" dy=".35em" text-anchor="middle" fill="currentColor" font-size="18" font-weight="700">iOS</text>
</svg>
</div>
<h4 id="download-ios">iOS</h4>
<p class="download-variant">iPhone / iPad</p>
<a class="lr-btn button download-button" href="https://demo.piik.tv"
><span lang="en">Use online</span><span lang="zh-CN">使用在线版</span><span aria-hidden="true">↗</span></a>
<p class="download-note"><span lang="en">Screen sharing requires Safari on iOS/iPadOS 27 or later.</span><span lang="zh-CN">屏幕分享需 iOS/iPadOS 27 及以上的 Safari。</span></p>
</article>
</div>
</section>
<div class="download-help">
<a class="lr-btn button" href="https://github.com/TNTcraftHIM/Piik"><span lang="en">View on GitHub</span><span lang="zh-CN">GitHub 项目</span><span aria-hidden="true"> ↗</span></a>
<p><span lang="en">Need help? Start with <a href="./docs/troubleshooting.html?lang=en">Troubleshooting</a>, or <a href="https://github.com/TNTcraftHIM/Piik/issues">report a problem</a>.</span><span lang="zh-CN">遇到问题?先看<a href="./docs/zh/troubleshooting.html">疑难解答</a>,或向我们<a href="https://github.com/TNTcraftHIM/Piik/issues">反馈</a>。</span></p>
</div>
</section>
<section class="project-note wrap" id="docs" aria-labelledby="docs-title">
<svg class="project-tv" aria-hidden="true"><use href="#tv-mark" /></svg>
<div class="project-content">
<p class="eyebrow">
<span lang="en">Advanced self-hosting</span><span lang="zh-CN">自托管进阶</span>
</p>
<h2 id="docs-title">
<span lang="en">A site of your own.</span><span lang="zh-CN">给朋友们搭个站点。</span>
</h2>
<p>
<span lang="en"
>Run your own Piik site on Windows or Linux.
Windows packages support x64; Linux packages and Docker images support x64 and ARM64.</span
><span lang="zh-CN"
>在 Windows 或 Linux 上部署自己的 Piik 站点。
Windows 程序包支持 x64,Linux 程序包和 Docker 镜像支持 x64/ARM64。</span
>
</p>
<a class="docs-index" href="./docs/self-hosting.html" lang="en">Deploy Piik Server<span aria-hidden="true"> ↗</span></a>
<a class="docs-index" href="./docs/zh/self-hosting.html" lang="zh-CN">部署 Piik Server<span aria-hidden="true"> ↗</span></a>
<ul class="docs-links">
<li>
<a href="./docs/?lang=en" data-doc-page=""><span lang="en">Documentation</span><span lang="zh-CN">文档中心</span><span aria-hidden="true"> ↗</span></a>
<p>
<span lang="en">Join a room, share your screen or troubleshoot a connection.</span
><span lang="zh-CN">加入房间、分享屏幕或排查连接问题。</span>
</p>
</li>
<li>
<a href="https://github.com/TNTcraftHIM/Piik/blob/main/docs/standards/configuration.md"
><span lang="en">Configuration</span><span lang="zh-CN">配置参考</span
><span aria-hidden="true"> ↗</span></a
>
<p>
<span lang="en">Access control, network ports and storage</span
><span lang="zh-CN">访问控制、网络端口与存储</span>
</p>
</li>
<li>
<a href="./docs/service-management.html" data-doc-page="service-management.html"
><span lang="en">Service Management</span><span lang="zh-CN">服务管理</span
><span aria-hidden="true"> ↗</span></a
>
<p>
<span lang="en">Automatic startup, Docker and server checks</span
><span lang="zh-CN">开机启动、Docker 与运行检查</span>
</p>
</li>
</ul>
<p class="docs-note">
<span lang="en"
>Guides are available here in English and Chinese, with links to their source on GitHub.
Detailed technical references are in English.</span
><span lang="zh-CN">使用和部署教程提供中英文版本,可直接在文档中心阅读,并前往 GitHub 参与修改。详细技术参考为英文。</span>
</p>
</div>
</section>
</main>
<footer class="site-footer wrap">
<div class="footer-identity">
<svg aria-hidden="true"><use href="#tv-mark" /></svg
><span>Piik<span class="identity-dot" aria-hidden="true">.</span></span>
<p><span lang="en">Share the good stuff.</span><span lang="zh-CN">来,看点好康的。</span></p>
</div>
<div class="footer-links">
<a href="./docs/?lang=en" data-doc-page=""
><span lang="en">Documentation</span><span lang="zh-CN">文档中心</span></a
><a href="./docs/troubleshooting.html?lang=en" data-doc-page="troubleshooting.html"
><span lang="en">Troubleshooting</span><span lang="zh-CN">疑难解答</span></a
><a href="https://github.com/TNTcraftHIM/Piik"
><span lang="en">Source on GitHub</span><span lang="zh-CN">GitHub 源码</span
><span aria-hidden="true"> ↗</span></a
><a href="https://github.com/TNTcraftHIM/Piik/blob/main/LICENSE"
><span lang="en">MIT license</span><span lang="zh-CN">MIT 许可证</span></a
><a href="./assets/platform-notices.txt"
><span lang="en">Icon credits</span><span lang="zh-CN">图标署名</span></a
>
</div>
<details class="display-settings" id="display-settings" hidden>
<summary><span lang="en">Display settings</span><span lang="zh-CN">显示设置</span></summary>
<label>
<input id="reduce-motion" type="checkbox" aria-describedby="display-motion-help" />
<span lang="en">Reduce motion</span><span lang="zh-CN">减少动态</span>
</label>
<p id="display-motion-help">
<span lang="en">Keep illustrations still.</span
><span lang="zh-CN">插画保持静止。</span>
</p>
<p id="display-motion-system" hidden>
<span lang="en">Enabled by your system setting.</span><span lang="zh-CN">已跟随系统减少动态。</span>
</p>
</details>
<p class="footer-note">
<span lang="en">Piik’s own code is MIT-licensed. Contributions are welcome.</span
><span lang="zh-CN">Piik 自有代码采用 MIT 许可,欢迎参与贡献。</span>
</p>
</footer>
</body>
</html>