AAA 2c8e2106d5 feat(stage): a picture box with no picture shows the drawing of its state
The visual language gives media setup, waiting for the sharer, a pause, a
failure and an ended share "the corresponding comic with the current
status", one principal illustration to a region. The 3.0 tile showed a
24-pixel glyph or the brand loader for all of them, and used none of the
drawings the project keeps for exactly these moments.

A picture box that has no picture, is shown in full and is at least 400
pixels wide now shows the comic of its state in place of that glyph:

- asking the room: signal-connecting
- waiting for a route: waiting-for-host
- connecting, and connected before the first frame: connecting-sfu when
  the immediate peer is the site, connecting-p2p otherwise (the sharer, or
  a person the picture comes through: a path between people either way)
- delivery failed and retrying: recovering
- the browser could not play it: playback-failed
- the sharer paused: host-paused
- the share ended: share-ended

Each drawing keeps the tone and motion its presentation gives it. A
thumbnail, a background tile and a narrower box keep the glyph, decided by
the tile's and the player's existing inline-size containers. Over a picture
(a held frame, a pause on a frame) the status stays a line: the drawing
belongs to a box with nothing in it. A failed operation's own message keeps
its form.

With a drawing above it the status takes the label size at strong weight,
as the earlier stage overlay did, and keeps room for its second line, so
the drawing, the words and the actions stay where they are when the slow
line arrives or the state changes. A step's line enters with the existing
lr-waiting-line-in, and not under reduced motion.

One component and one mapping, used by the waiting tile and by a mounted
player waiting for its first frame. The two are separate elements, so a
drawing begins again at the moment a stream is attached; keeping one
element across that moment would mean giving the tile and the player one
root, which is a change to the player and not to what it shows.

No new drawing, keyframes or copy.

Looked at on screen for every waiting step, the retry, the pause and an
ended share, in light and dark, at 1360 and 360 wide, with one, two, four
and eight tiles, in a short window and in a mounted player. The room
preview has no playback failure to open, so that one state is covered by
its test alone.
2c8e2106d5 · 2026-11-29 23:08:25 +08:00
3,476 Commits

Piik mascot

Piik

Share the good stuff.
Private screen sharing for you and up to 20 friends.

Website · Download · AtomGit mirror · Use online · Documentation

License: MIT Up to 20 viewers P2P-first media

English · 简体中文

Piik is a free, open-source screen sharing tool for private live streams with friends: games, movie nights, drawings and photos. Choose what to share and send an invitation. Your friends watch in their browsers. You can also self-host Piik on your own server.

A little room · Show / hide animation

A host with a gold crown switches between a gamepad, paintbrush, camera and remote as friends watch games, drawings, photos and a film.

Features · Get started · Self-hosting · Contributing

Features

  • Watch without installing. Friends join by invitation in a desktop or mobile browser.
  • Share from Piik App or an existing Piik site. Choose a screen, window, browser tab or camera; available sources and audio depend on the platform.
  • Direct connections first. Media travels between participants where possible (P2P). Piik Server can provide SFU fallback.
  • Rooms you control. Invitations, room codes and optional room passwords, for one host and up to 20 viewers.
  • Talk and chat together. Join room voice, send messages and reactions, or enable on-screen chat.
  • Hand control to friends. Share an App window or screen and approve remote control. Allow friends to play together with shared keyboard/mouse or supported gamepads; take control back at any time. Remote control and playing together.
  • Flexible viewing. Light and dark themes, playback controls, picture-in-picture and a connection topology view.
  • One program to host a site. Web UI, room management and optional media forwarding are packaged together.

Piik room: a shared game, playback controls, chat and friends on a sofa. The host wears a small gold crown.
Interface preview · Sample room with a generated game scene

Get started

These steps use the published 2.x release. If you received a 3.0 test package or invitation, see Piik 3.0 test documentation.

To watch: open the invitation your friend sends you. Select Play if the picture does not start automatically.

To share: download Piik App to get started. To share without installing, you can also create a room in the online version.

Start here What you need to do
Use Piik online Share from a desktop browser, or choose Camera on a phone with browser camera support.
Download Piik App Extract the desktop package or install the mobile app, open Piik, choose Public invite, then Open Piik.

Choose a screen, send an invitation, watch together.

  1. Select Start sharing, then choose the picture and audio to share.
  2. Under Admission, select Copy and send it to your friends. Keep the sharing tab open.

Open Interact → Voice to talk together, with or without picture sharing. The Host opens voice; everyone joins to listen and chooses when to turn on their microphone.

Piik uses your browser's language when supported and falls back to English. Use 中 or EN in the header. Open the dropdown beside them for more languages or Visual only. The App can create a local room or temporary public invitation, and stays available to supply capture for an approved site. Keep it running while sharing.

Your first Piik room · Troubleshooting

Choose a download beginning with piik-app. The guide covers installation, source selection and invitations.

Browser capture requires HTTPS or localhost. The App's temporary public link and the online version use P2P and need a usable UDP connection between participants. For campus networks, failed media connections or virtual LANs, see Advanced network checks.

Self-hosting

This branch develops the internal 3.0 Rust Server. Use its startup and deployment instructions with a matching Server and Web package. Published 2.x users should follow the 2.x self-hosting guide.

Deploy the 3.0 Rust Server with Docker Compose

For a local 3.0 trial, keep the bundled web/ directory beside the executable, set the private owner seed for a new site, then run ./piik-server (./piik-server.exe on Windows). Open the address printed at startup; the standalone default is http://127.0.0.1:8791. The packaged Server steps show both shells.

The 3.0 deployment steps cover HTTPS, fixed media UDP and public address mapping. Rust reads the process environment; it does not load .env automatically. Site forwarding is optional and off by default. Site forwarding settings

3.0 Server setup → · Environment template · Run from source

Contributing

Bug reports, translations, documentation improvements and pull requests are welcome. See ways to contribute or help translate Piik. Use the repository layout to find your way around.

License

Piik-owned code is MIT licensed. Dependencies retain their own licenses and notices.

Project activity

Piik on Trendshift

Piik GitHub star history

S
Description
Piik — 轻量屏幕共享(镜像 + 服务器构建成品)
Readme MIT
74 MiB
0 Stars 1 Watchers 0 Forks
2026-11-30 11:10:23 +08:00
Languages
TypeScript 47.5%
Go 38%
C++ 4.6%
JavaScript 3.1%
CSS 2.5%
Other 4.3%