Piik screen sharing: peer to peer by default, with a self-hosted server as the fallback
Free, open-source screen sharing for private live streams with friends. Watch together in a browser or self-host Piik.
At a glance
- What is it?
- Piik lets one host share a screen, window, tab or camera with up to 20 viewers who watch in a browser. This article covers the network conditions that break it, the server you run yourself and the settings that matter.
- Who is it for?
- Piik suits a group of friends sharing a game or a film on networks that allow UDP between participants, and a self-host is the route when they do not. It does not suit rooms over 20 viewers or anyone who needs the public link to work on a campus network.
- Can I use it commercially?
- Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
- Is it still maintained?
- Yes. The repository last received commits 1 day ago.
- What is it written in?
- Mainly TypeScript, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 7, 2026, and from our analysis. They are not legal advice.
Star history
- TNTcraftHIM/Piik4,130 ★ · +995
| Repository | 2026-10-14 | 2026-11-07 |
|---|---|---|
| TNTcraftHIM/Piik | 3.1k | 4.1k |
995 Stars in the last 24 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
Viewers need only a browser, but the host needs the Piik App or an existing Piik site
Piik splits the two roles unevenly. A viewer opens the invitation the host sends, in a desktop or mobile browser, and selects Play if the picture does not start by itself. Nothing is installed on that side.
The host has two starting points. One is the Piik App, downloaded from the site, where the instruction is to choose a download beginning with piik-app. The other is the online version at demo.piik.tv, which lets a desktop browser share, or lets a phone choose Camera when the phone browser supports camera capture. Once sharing starts, the host selects Start sharing, picks the picture and audio, then selects Copy invite link and keeps the sharing tab open.
Sources are screen, window, browser tab or camera, and the available sources and audio depend on the platform. A phone does not offer everything a desktop does, and the front page does not tabulate which platform gets which source.
Media tries a direct connection first, and the public link and online version have no server fallback
Media travels between participants where possible (P2P). An automatic media forwarding mode (SFU) is available as a fallback, but only when a self-hosted server provides it.
That has a direct consequence. The App's temporary public link and the online version use P2P and need a usable UDP connection between participants. If the viewers sit behind a campus network, a failed media connection or a virtual LAN, there is no relay in the picture to rescue the stream. The front page sends those cases to the network checks and connection options guide at docs/guide/network.md.
The practical reading: the free hosted routes are fine when friends are on ordinary home connections, and a group that keeps failing to connect has to move to Piik Server, where the forwarding fallback exists. The front page does not state how often P2P fails or give figures for forwarding capacity in its summary.
Browser capture needs HTTPS or localhost, so a plain http address on a LAN will not capture
Browser capture requires HTTPS or localhost. A self-hosted site reached at an ordinary http address on another machine does not meet that rule, which is why the server configuration has TLS options and a reverse proxy recommendation.
The App adds a second condition. It can create a local room or a temporary public invitation, and it stays available to supply capture for an approved site. The instruction is to keep it running while sharing. Close the App mid-stream and the site it was supplying capture for loses its source.
For private LAN use, the example configuration offers TLS_SELF_SIGNED=true together with a PUBLIC_BASE_URL beginning https:// and the LAN address. The temporary certificate changes on each process restart, so browsers see a new certificate every time the server restarts. Supplying your own PEM files avoids that, but Piik loads them at startup and does not manage renewal, so an expiring certificate is your job.
Piik Server is one binary per platform, started with ./piik-server
Piik Server runs on Windows x64 and Linux x64 or ARM64, with the web interface built in. The package names carry a revision placeholder: piik-<revision>-runtime.tar.gz for Linux x64, piik-<revision>-linux-arm64-runtime.tar.gz for ARM64, and piik-<revision>-windows-amd64-runtime.zip for Windows x64. Extract the Linux archive and run:
./piik-serverOn Windows, extract the zip and run ./piik-server.exe in PowerShell. The same configuration applies. Open http://localhost:8787 to try it locally.
That covers a trial. A public site needs a domain, an HTTPS reverse proxy and a STUN address configured, none of which come from the default start. Room data is stored in SQLite. Containers have a Docker Compose setup in docs/operations/self-hosting.md under the docker-compose anchor. The go.mod file shows the server is a Go program, and the repository has cmd/, internal/ and deploy/ directories alongside the TypeScript front end in src/.
The .env.example file decides who can connect, over what origin, and how long rooms live
LISTEN_HOST defaults to 0.0.0.0, with a note to use 127.0.0.1 instead when only a same-host reverse proxy should connect. PORT is 8787. PUBLIC_BASE_URL is http://localhost:8787, and for LAN viewers localhost must be replaced with the computer's LAN address. ALLOWED_ORIGINS can stay empty, in which case it follows PUBLIC_BASE_URL. For several trusted browser addresses, list every exact origin (scheme, host and port), including PUBLIC_BASE_URL.
SITE_ACCESS_PASSWORD is optional in every environment. Unset or empty lets anyone reach the site, though room ownership and invitations still apply. Non-empty values are matched exactly, with spaces and Unicode supported.
ROOM_DATABASE_PATH defaults to rooms.sqlite in the working directory, also when blank. Setting :memory: gives process-memory rooms. Deployments are told to use an access-restricted absolute path outside the release directory, so updates keep the existing database. ROOM_EMPTY_TIMEOUT_SECONDS=0 keeps rooms forever, and 3600 expires a room after an hour with no authenticated participants. When all codes are used, the oldest empty room may be reclaimed earlier. MAX_VIEWERS_PER_ROOM accepts 1 to 20, default 20.
A room holds one host and at most 20 viewers, and remote control is handed over per window
The cap is firm: one host and up to 20 viewers, enforced by the 1..20 range on MAX_VIEWERS_PER_ROOM. A group of 25 cannot share one room. Rooms are protected by invitations, room codes and optional room passwords.
Voice lives under Interact, then Voice. The host opens voice, everyone joins to listen, and each person chooses when to turn on a microphone. Voice works with or without picture sharing. Chat, messages, reactions and an on-screen chat option sit alongside it.
Remote control is a separate step. The host shares an App window or screen and approves remote control. Friends can then play together with shared keyboard and mouse or supported gamepads, and the host can take control back at any time. The setup steps are in docs/guide/remote-control.md. Because it needs an App window or screen, a browser-tab share from the online version is not described as supporting it. Viewing options include light and dark themes, playback controls, picture-in-picture and a connection topology view. Piik follows the system language, Chinese or English, with English as the fallback.
Three tagged releases landed within four days, and building from source needs Node 24 and Go 1.27.3
The repository is not archived. Piik v2.4.0 was published on 23 October 2026, v2.4.1 on 24 October and v2.5.0 on 26 October, and the last push before that last release was on 25 October 2026. A Gitee mirror carries releases for readers who cannot reach GitHub.
Building from source is a heavier commitment than downloading a package. package.json sets engines to node >=24.0.0 <27 and packageManager to [email protected], and go.mod declares go 1.27.3. The scripts include check:go, check:go-race, check:go-vuln, check:container and several gate: commands such as gate:network-lab. The Go dependencies include pion/webrtc v4.2.24 and a livekit-server pseudo-version, and go.mod redirects two NAT libraries to local copies under internal/thirdparty.
Piik-owned code is MIT. Dependencies keep their own licenses, listed under licenses/README.md. Contributions of bug reports, translations, documentation and pull requests are welcome, with the contributing guide in CONTRIBUTING.md.
Editorial conclusion
Piik suits a group of friends sharing a game or a film on networks that allow UDP between participants, and a self-host is the route when they do not. It does not suit rooms over 20 viewers or anyone who needs the public link to work on a campus network. Before relying on it, test one room with your actual viewers and read the network guide in docs/guide/network.md.
Frequently asked questions
How many people can watch a Piik room?
A room has one host and up to 20 viewers. In the server configuration, MAX_VIEWERS_PER_ROOM accepts values from 1 to 20 and defaults to 20.
Do viewers need to install Piik?
No. Friends join by invitation in a desktop or mobile browser. Only the person sharing needs the Piik App or an existing Piik site.
Can I self-host Piik, and what does it need?
Yes. Piik Server runs on Windows x64 and Linux x64 or ARM64 and starts with ./piik-server on port 8787. A public site also needs a domain, an HTTPS reverse proxy and a STUN address.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/tntcrafthim-piik)Star history chart for your README
[](https://hysenlabs.com/projects/tntcrafthim-piik)Was this useful?