Files
piik/cmd/piik-app
T

Piik App

This reference covers the 3.0 internal test App supplied to testers. Public downloads and the online Demo still use 2.x; use the 2.x App reference for those versions.

English · 简体中文 · Getting started

Piik App can run your group's site, host rooms while their pages are closed, and provide the picture and sound capture available on your device.

Run A Package

Use the matching platform package supplied for this test:

  • Windows: extract the whole ZIP, keeping web/ and runtime/ beside piik-app.exe, then open that executable.
  • Android: install the supplied APK, then open Piik. Keep App data when updating the same test channel. See installation steps.
  • Linux/macOS, when supplied: keep the complete package. Run ./piik-app on Linux, or open Piik App.app on macOS. Platform requirements and device coverage are in the Native reference and verification status.

Windows opens the launcher in the Piik window; Android, Linux and macOS use the system browser. On Windows, run .\piik-app.exe --browser to use the browser. Piik also uses it if the system WebView is unavailable. If the desktop browser does not open, open the App launcher address printed in the terminal. Keep the App running while using its services. For a blocked Mac build, follow the Mac opening steps.

Modes

Select Set up and start, choose Local network or Public invite, then select Open Piik. App remembers a successful setup. Next time, select Start to reuse it or Change settings to edit it. To return to a running site, select Continue.

To change a running site's setup, clear Open my site when App starts if enabled, finish your activities and quit App normally. Reopen App and select Change settings.

Local Network

Use this mode when friends can reach your device on the same LAN or virtual LAN. If several addresses appear, choose one on the network your friends use.

Friends open the full HTTPS invitation on that address. On their first visit, compare the local certificate fingerprint with Local connection details below Continue in the launcher (or Certificate SHA-256 in a desktop terminal). Send friends the selected site address or room link instead of a localhost address.

Public Invite

The packaged Cloudflare helper provides a temporary HTTPS address. Send the site address or room link from the opened Piik page. Keep App running: stopping it ends access through that address. A later run may get a different address, while the saved site and rooms remain the same.

Text, history and attachment descriptions use the domain connection. Pictures, room voice and file content use peer connections separately. If chat works but a transfer fails, use the matching connection checks.

Join Or Create A Room

To visit someone else's group, open their complete 3.0 invitation in a browser. Starting your own App site creates a separate place; it does not join or take over theirs.

To make a room, open your own or another 3.0 site and select Create room. Read the form's hosting note:

  • Hosted by App: the linked App saves the room and keeps it available after this page closes, while the App remains running.
  • Hosted by this page: the browser saves the room; closing this page pauses hosting. Connecting App later does not move that room automatically.
  • In a hosted site, the Server saves the room. The room remains available while the Server runs, even when its creator is offline.

People admitted to a room can chat, join voice, share and watch. See Sharing and playback and Chat, voice and remote control.

Approved Site

To use App with an existing 3.0 site:

  1. Keep App running. On that site's page, select App → Open App page.
  2. On the local approval page, check the complete site address, then Allow access. Allow browser local-network access if asked.
  3. Return to the site. Wait until App is ready before creating an App-hosted room or choosing an App capture source.

You can also use Open a site in the launcher to enter and approve an address. Approval applies to that exact site address. Another address or browser may need its own connection step. Room admission and remote-control consent remain separate.

Open Bookmarks in the launcher. Use Open beside a site to visit it, or Manage to change its separate settings:

  • Bookmark saves the site's address and optional name for later visits.
  • Open this site when App starts opens an external site's fixed address. For the current App-owned site, it uses the saved setup and opens the new ready address. The launcher names this choice Open my site when App starts (mode). Clear it to return to the launcher on the next start; the current site keeps running.
  • Revoke App access stops that site's App hosting and control connections. Saved rooms remain and other sites continue. Reapprove the same site and use the same domain account to reopen its rooms.

Return To App Or Stop It

From a connected page, App → Open App page returns to the local controls. With a terminal entry, you can also reopen the launcher address printed there; on Android, open Piik or its running notification. Returning to the launcher keeps the domain running.

Closing a page stops its personal voice, shares, watches and control permission. App-hosted rooms continue; Browser-hosted rooms need their hosting page. Switching rooms within a page keeps its other activities running.

To stop App on Windows, close its main window. With a terminal entry, use Ctrl+C. On macOS, use the App's Quit action; on Android, use the running notification's stop action. This ends App hosting, captures and the temporary public entry. Saved rooms and confirmed history remain for the next start. Do not delete data to close a room.

Data And Backups

App saves domain identity, approved sites and hosted room databases in its application-data directory. Its local site keeps the same address across restarts, preserving the browser's file cache and preferences. A changed public invitation address does not create new copies of the App's rooms. Browser-hosted rooms instead use that browser's site storage; clearing it can delete their data.

Use the room's Settings → Records for a room backup when you manage the room. A text export keeps the loaded messages for reading; it is not a restorable room backup. The site operator uses Site settings → Backup to save site identity and directory metadata at the hosting service; this does not export other users' room histories. Room histories need their room backups separately. Attachment file copies are separate from their history descriptions.

Keep backups private. Back up needed data before changing installation channels, moving data or uninstalling. Do not clear App/browser storage to repair a connection. The saved-data reference explains backup scope and restore behavior.

Upgrading

Use the next package supplied for this 3.0 test, including its bundled Web UI. If prompted to update, follow the version troubleshooting guide.

  1. Save needed backups, finish transfers and stop personal activities.
  2. Stop App normally. Extract the full desktop update into a new directory, or install the matching Android update over the existing test App.
  3. Start with the same application-data directory. Send the current invitation if its address changed.

If App reports unsupported_storage_version or unsupported_domain_checkpoint, preserve the old data and follow the storage-format checks and the instructions supplied with that test package.

The launcher checks published releases and links to their notes. During this unpublished test, follow the supplied test-update instructions rather than switching to a different public channel.

Troubleshooting

Start with the symptom index. Chat/history needs the domain connection and actual room host. Picture, voice and file content also need their peer connections.

Chromium WebRTC Connections

When chat works but peer transfers do not, compare browser WebRTC settings. For a codec-specific failure, use the Windows H264 checks.

Diagnostics

On the local launcher, open Help → Debug, reproduce the problem, then select Help → App report. On a narrow screen, these entries are under More options. This saves a local ZIP. Restarting App ends that process's diagnostic collection.

For a browser report, open Help → Debug, confirm the reload, reproduce once, then use Help → Web report. Check private information before sharing reports from the same attempt; see reporting steps.

Configuration And Developer Reference

Normal use starts with the launcher. Isolated data, a specific loopback port and source development use the current Rust App settings. The Native reference owns capture, encoding and input requirements; Android runtime owns the shell. App development covers source builds and packaging.