Skip to content

armgit / Piik

Public Imported from GitHub
0

Free, open-source screen sharing for private live streams with friends. Watch together in a browser or self-host Piik. 免费开源的私密屏幕共享,支持游戏直播、一起看电影与自部署。

6.0 KB
Raw Blame
<svg xmlns="http://www.w3.org/2000/svg" width="600" height="340" viewBox="0 0 600 340" role="img" aria-labelledby="title desc"><title id="title">Web and media use separate connections</title><desc id="desc">The Host and friend connect to the Piik site for the web page and chat. Picture and sound need a separate media connection, directly or through forwarding.</desc><style>/* Shared theme for the App, website and documentation. Status and selection
   have separate roles; illustrations keep their own colours. */
:root {
  --person-ink: #263b43;
  --wall: #f3f5f8;
  --wall-2: #e5eaf2;
  --paper-rgb: 255 254 251;
  --paper: rgb(var(--paper-rgb));
  --paper-translucent: rgb(var(--paper-rgb) / .84);
  --ink: #29374a;
  /* Opaque sRGB roles also work in WebViews without color-mix. */
  --muted: rgb(94.5 104.75 118.25);
  --line: rgb(212.2 214.2 215.6);
  /* Primary actions keep their identity; selection/focus follows the theme. */
  --primary: #2765ce;
  --primary-ink: #fff;
  --action: #3478e5;
  --action-deep: var(--primary);
  --action-ink: var(--primary-ink);
  --action-text: #2055b2;
  --idle: #8ea3b8;
  --busy: #3478e5;
  --live: #2fa66a;
  --warn: #d98e04;
  --danger: #d64541;
  --control-hover: #eef3ff;
  --control-selected: #e5efff;
  --control-selected-ink: #214c9b;
  --control-edge: rgb(133.02 140.57 150.11);
  --surface-rim: rgb(255 255 255 / .95);
  --surface-shade-rgb: 36 53 78;
  --surface-shade-alpha: .18;
  --surface-shade: rgb(var(--surface-shade-rgb) / var(--surface-shade-alpha));
  --surface-glaze: linear-gradient(165deg, rgb(255 255 255 / .6), transparent 65%, rgb(51 89 147 / .025));
  --control-shadow: 0 3px 0 var(--surface-shade), 0 5px 10px rgb(var(--surface-shade-rgb) / calc(var(--surface-shade-alpha) * .45));
  --panel-shadow: inset 0 1px 0 var(--surface-rim), 0 3px 0 var(--surface-shade), 0 16px 36px rgb(var(--surface-shade-rgb) / calc(var(--surface-shade-alpha) * .55));
  --piik-dark-wall: #242a34;
  --piik-dark-wall-2: #2c3543;
  --piik-dark-paper-rgb: 53 65 83;
  --piik-dark-paper: rgb(var(--piik-dark-paper-rgb));
  --piik-dark-ink: #f6f3eb;
  --piik-dark-muted: rgb(197.75 198.5 197);
  --piik-dark-line: rgb(91.6 100.6 113.4);
  --piik-dark-control-edge: rgb(145.64 150.44 155.96);
  --piik-dark-surface-rim: rgb(222 234 255 / .12);
  --piik-dark-surface-shade-rgb: 6 12 22;
  --piik-dark-surface-shade-alpha: .38;
  --piik-dark-surface-glaze: linear-gradient(165deg, rgb(224 237 255 / .06), transparent 65%, rgb(0 0 0 / .035));
  --piik-dark-action: #f6f3eb;
  --piik-dark-action-ink: #29374a;
  --piik-dark-action-text: var(--piik-dark-action);
  --piik-dark-hover: #414f67;
  --piik-dark-selected: var(--piik-dark-action);
  --piik-dark-selected-ink: var(--piik-dark-action-ink);
}
@media (prefers-color-scheme: dark) { :root {
  --wall: var(--piik-dark-wall);
  --wall-2: var(--piik-dark-wall-2);
  --paper-rgb: var(--piik-dark-paper-rgb);
  --paper: var(--piik-dark-paper);
  --ink: var(--piik-dark-ink);
  --muted: var(--piik-dark-muted);
  --line: var(--piik-dark-line);
  --busy: #82b1ff;
  --live: #3fb97a;
  --warn: #e8a33d;
  --danger: #e25a52;
  --action: var(--piik-dark-action);
  --action-deep: var(--piik-dark-action);
  --action-ink: var(--piik-dark-action-ink);
  --action-text: var(--piik-dark-action-text);
  --control-hover: var(--piik-dark-hover);
  --control-selected: var(--piik-dark-selected);
  --control-selected-ink: var(--piik-dark-selected-ink);
  --control-edge: var(--piik-dark-control-edge);
  --surface-rim: var(--piik-dark-surface-rim);
  --surface-shade-rgb: var(--piik-dark-surface-shade-rgb);
  --surface-shade-alpha: var(--piik-dark-surface-shade-alpha);
  --surface-glaze: var(--piik-dark-surface-glaze);
} }

  text { fill: var(--ink); font: 600 26px system-ui, -apple-system, 'Segoe UI', 'Microsoft YaHei', sans-serif; text-anchor: middle; }
  .node { fill: var(--paper); stroke: var(--control-edge); stroke-width: 2; }
  .input { fill: var(--control-selected); }
  .glyph { color: var(--ink); }
  .source .glyph { color: var(--control-selected-ink); }
  .source text { fill: var(--control-selected-ink); }
  .path { fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
</style><path class="path" d="M164 174h28V64h32m152 0h28v110h28"></path><rect class="node" x="224" y="8" width="152" height="112" rx="20"></rect><g class="glyph" transform="translate(274 18)"><svg width="52" height="52" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="lr-glyph"><rect pathLength="1" x="3" y="4" width="18" height="7" rx="2"></rect><rect pathLength="1" x="3" y="13" width="18" height="7" rx="2"></rect><path pathLength="1" d="M7 7.5h.01M7 16.5h.01"></path></svg></g><text x="300" y="101">Piik site</text><g><rect class="node" x="12" y="136" width="152" height="160" rx="20"></rect><g class="glyph" transform="translate(58 164)"><svg width="60" height="60" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="lr-glyph"><rect pathLength="1" x="2" y="4" width="20" height="16" rx="2"></rect><path pathLength="1" d="M2 9h20M6 6.5h.01M9 6.5h.01"></path></svg></g><text x="88" y="268">Host</text></g><g><rect class="node" x="436" y="136" width="152" height="160" rx="20"></rect><g class="glyph" transform="translate(482 164)"><svg width="60" height="60" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="lr-glyph"><rect pathLength="1" x="2" y="4" width="20" height="16" rx="2"></rect><path pathLength="1" d="M2 9h20M6 6.5h.01M9 6.5h.01"></path></svg></g><text x="512" y="268">Friend</text></g><text x="300" y="173" style="font-size:24px">Web &amp; chat</text><text x="300" y="232" style="font-size:24px">Picture &amp; sound</text><path class="path" d="M164 252h272m-262-8-10 8 10 8m252-16 10 8-10 8"></path><text x="300" y="326" style="font-size:22px;fill:var(--muted)">Direct or forwarded media connection</text></svg>