diff --git a/apps/frame-setup/README.md b/apps/frame-setup/README.md index 5e1def0..e2ddb02 100644 --- a/apps/frame-setup/README.md +++ b/apps/frame-setup/README.md @@ -1,7 +1,6 @@ # FRAME Setup -FRAME Setup is the native host-facing installer and launcher prototype for the reduced Scenario 2 -stack. +FRAME Setup is the native host-facing installer and launcher prototype for the FRAME stack. It is intentionally split from the container web UI: @@ -10,9 +9,10 @@ It is intentionally split from the container web UI: - The container web UI handles app concerns: tutorials, service-specific setup, OBS URLs, auth, Cloudflare, profiles, overlays, and operator controls. -The native Install FRAME action can detect host state, check ports, write +The native Install FRAME action can detect host state, check TCP and UDP ports, write `state/frame-install-plan.json`, generate the stack `.env` and `docker-compose.yml`, prepare the -selected data folders, run `docker compose config --quiet`, start the stack with +selected data folders, generate the capability-aware stack config and tunnel ingress, run +`docker compose config --quiet`, start the stack with `docker compose up -d --build --remove-orphans`, and open `http://localhost/setup`. During install, the UI streams progress from the native backend and waits for the FRAME web edge to accept connections before launching the browser. @@ -26,6 +26,16 @@ install root before running Docker Compose. - **Guided Setup** explains each service and lets the user opt in with checkboxes. - **Advanced** exposes the environment-variable model and subfolder overrides. +## Deployment modes + +- **LAN** keeps browser tools on the local FRAME edge and does not expose tunnel routes. +- **Hybrid** validates a public browser hostname, generates the Cloudflare ingress allowlist, and + accepts a separate `PUBLIC_RELAY_HOST` for SRTLA/SRT publishers. + +Selecting **Belabox Manager** switches the plan to Hybrid because managed agents require the public, +authenticated `wss://.../belabox/control` endpoint. Initial agent installation and repair still use +the Belabox's LAN SSH connection. + ## Exposed ports The target Scenario 2 stack exposes only: @@ -34,7 +44,8 @@ The target Scenario 2 stack exposes only: - Photo FTP control and passive range, when FTP ingest is enabled. - SRTLA/SRT UDP ports, when Stream Relay is enabled. -Other tools route through FRAME Edge. +Other tools route through FRAME Edge. Hybrid web access uses an outbound Cloudflare Tunnel rather +than opening another inbound management port. ## Development diff --git a/docs/TODO.md b/docs/TODO.md index 7f1d3d0..75a989a 100644 --- a/docs/TODO.md +++ b/docs/TODO.md @@ -115,8 +115,10 @@ removed. - [x] Bind latency, download, and upload requests to each route-checked Belabox IPv4 interface. - [x] Offer an external Internet target using Cloudflare and an authenticated FRAME endpoint target. - [x] Run all-interface tests sequentially and report latency/download/upload results per interface. -- Keep remote photo overlay widgets in their own schema/preset namespace so they do not overwrite FRAME's stock connectivity presets. -- Refactor the overlay wizard so stock defaults are immutable, OBS URL slugs can be chosen before first save, and saving a renamed preset creates a new preset instead of rewriting `default-connectivity`. +- [x] Supersede separate remote-photo widget presets with the shared, type-isolated upload-progress + schema so photo settings cannot overwrite FRAME's stock connectivity presets. +- [x] Refactor the overlay wizard so stock defaults are immutable, OBS URL slugs can be chosen before + first save, and renamed presets are created separately instead of rewriting `default-connectivity`. - Belabox Manager UX completion goal: make first-time setup, daily monitoring, photo transfer, and maintenance understandable without requiring knowledge of transport protocols, SSH jobs, or egress internals. - [ ] Phase UX-6 - Production verification: test desktop/mobile layouts, keyboard and focus behavior, diff --git a/services/frame-gallery/README.md b/services/frame-gallery/README.md index fa51c87..425f571 100644 --- a/services/frame-gallery/README.md +++ b/services/frame-gallery/README.md @@ -19,7 +19,7 @@ Use it if you want to: - Hide or restore photos from the gallery. - Permanently delete published gallery copies when needed. - Choose each album's gallery cover. -- Customize gallery branding, logo, and visitor download controls. +- Customize gallery branding, logo, social links, and visitor download controls. ## What You Use It For @@ -32,6 +32,7 @@ Common uses: - Remove unwanted photos from public view. - Restore photos that were hidden by mistake. - Match the gallery branding to your stream, event, or production. +- Add ordered social/profile links with platform icons and optional custom graphics. - Control whether visitors can view and download the full gallery JPEG. - Correct camera-to-GPX clock differences and manually place unmatched photos. @@ -81,6 +82,7 @@ On the public gallery, viewers can: - View photos through page-bound tiles when downloads are disabled, or the full gallery JPEG when downloads are enabled. - Switch between Photos and Explore when a day has attached route data. - Select a mapped photo from its thumbnail, lightbox, map marker, or Explore photo strip. +- Open the configured social/profile links from the gallery header. - Switch day/night mode when enabled. On the admin page, operators can: @@ -93,6 +95,7 @@ On the admin page, operators can: - Adjust camera-to-GPX timing and manually place photos that do not match a route. - Choose or clear a custom cover for each album. - Change the gallery title, brand name, and logo. +- Add, reorder, label, and optionally illustrate social/profile links. - Enable or disable full gallery JPEG downloads for every public gallery. Trash is reversible. Permanent delete is not. @@ -128,8 +131,8 @@ The public gallery can be shared with viewers when your FRAME access rules allow The admin page should stay login-protected. -Photo Gallery asks Photo Pipeline to hide, restore, or delete photos. It does not edit the published -photo files directly. +Photo Gallery asks Photo Pipeline to hide, restore, or delete photos and albums. It does not edit the +published photo files directly. When downloads are disabled, public lightbox photos are delivered as short-lived, page-bound tiles and FRAME does not expose a public full-image route. When downloads are enabled, the lightbox and Download diff --git a/services/frame-overlays/README.md b/services/frame-overlays/README.md index 4d29876..4fad7a4 100644 --- a/services/frame-overlays/README.md +++ b/services/frame-overlays/README.md @@ -27,6 +27,10 @@ Supported overlay feeds: | BELABOX cloud telemetry | BELABOX-compatible stream health from a connected telemetry source. | | Live photo upload progress | Browser upload, FTP ingest, and Belabox connector progress for incoming photo files. | +Upload-progress sources follow one canonical photo journey across receipt, transfer, processing, +and publication. A journey completes only after Photo Pipeline publishes the image and writes its +`.ready` sidecar; the renderer then shows a short completion bubble before resetting. + The main thing users create is a **Source**. A Source is the OBS browser-source URL plus the data feed and visual settings behind it. The wizard @@ -102,6 +106,10 @@ In OBS: Editing a Source keeps the same OBS URL. You should not need to re-add the browser source in OBS after normal changes. +Built-in templates are immutable. Creating a Source makes a reusable preset from the selected +template, and the permanent OBS URL slug is chosen before the first save. Connectivity and upload +presets remain type-isolated so photo settings cannot overwrite the stock connectivity design. + ## Relies Upon Overlays relies on: diff --git a/services/frame-photo-ftp/README.md b/services/frame-photo-ftp/README.md index 17bbe59..707a0a0 100644 --- a/services/frame-photo-ftp/README.md +++ b/services/frame-photo-ftp/README.md @@ -70,6 +70,9 @@ For external uploads, forward these to the FRAME computer: - The full passive port range After upload, FRAME waits until the file is finished before handing it to the Photo Pipeline. +During receipt, the upload-progress feed reports the growing file size and transfer speed. Standard +FTP does not tell FRAME the final file size in advance, so a true percentage is unavailable until +the file is staged and correlated with its canonical photo journey. ## Relies Upon diff --git a/services/frame-photo-upload/README.md b/services/frame-photo-upload/README.md index c1fa29b..c7f1a4d 100644 --- a/services/frame-photo-upload/README.md +++ b/services/frame-photo-upload/README.md @@ -27,7 +27,7 @@ Common uses: - Let trusted remote helpers send photos through FRAME Tunnel. - Add screenshots, phone photos, or edited images to the FRAME photo workflow. - Queue several files at once and see which ones were accepted. -- Feed future upload-progress overlays and status views. +- Feed live upload-progress overlays and status views through the shared photo journey. Photo Upload does not decide which images become public. It safely receives the files, then the Photo Pipeline validates, converts, and publishes them. @@ -105,6 +105,10 @@ Optional connections: Photo Upload writes completed uploads into the shared FRAME photo staging flow. +Each accepted file receives a durable journey ID. FRAME uses that ID to correlate browser receipt, +pipeline processing, publication, retries, and the upload-progress overlay without treating the same +photo as several unrelated transfers. + The Photo Pipeline remains responsible for validating files, converting images, updating gallery data, and rejecting unsupported uploads. diff --git a/services/frame-pipeline-photos/README.md b/services/frame-pipeline-photos/README.md index f4e15cc..3878ad8 100644 --- a/services/frame-pipeline-photos/README.md +++ b/services/frame-pipeline-photos/README.md @@ -55,7 +55,9 @@ Use your chosen photo input to add photos. Photo Pipeline processes accepted files, publishes them to shared gallery data, and updates the latest-photo state automatically. -Use Photo Gallery Admin to hide, restore, permanently delete, or empty trashed gallery photos. +Use Photo Gallery Admin to hide, restore, permanently delete, or empty trashed gallery photos and +albums. Photo Pipeline recalculates the authoritative latest-photo state after those changes so +Photo Stage does not point at a hidden or deleted image. Open `/pipeline` from FRAME Portal to set the published JPG long edge, quality, and maximum output file size. These settings apply to new photos only. diff --git a/services/frame-portal/README.md b/services/frame-portal/README.md index cda32d2..2a7b025 100644 --- a/services/frame-portal/README.md +++ b/services/frame-portal/README.md @@ -29,6 +29,8 @@ Common uses: - View live logs for troubleshooting. - Restart services, if that option has been enabled by the operator. - Confirm whether a tool is available locally only or safe to open through Hybrid/public access. +- Copy configured stream, overlay, listener, encoder-remote, and Video Mixer links without opening + each tool first. ## How To Install @@ -79,6 +81,11 @@ http://localhost/dashboard Use the dashboard to open enabled FRAME tools. +When a tool card has a **Links** action, open it to copy or launch the live links FRAME has collected +for that tool. Stream links include publisher, local player, and statistics URLs; other cards can +show OBS browser sources, Audio Monitor listener pages, and per-device Belabox remote or Mixer links. +Only links for currently configured resources are shown. + Use the status page to check the stack: ```text diff --git a/services/frame-streams/README.md b/services/frame-streams/README.md index 0a7b31c..3d22662 100644 --- a/services/frame-streams/README.md +++ b/services/frame-streams/README.md @@ -82,6 +82,10 @@ To create a FRAME relay stream: 4. Copy the player link into the tool that will receive or preview the feed. 5. Watch the stream stats to confirm the feed is stable. +Publisher links use the configured `PUBLIC_RELAY_HOST` so remote senders can reach FRAME. Player +links intentionally use `localhost` because playback is consumed on the FRAME host; replace it with +the FRAME machine's LAN address only when the player runs on another trusted LAN device. + When Belabox Manager is enabled, SLS stream profiles with publisher keys are also exported to the FRAME Remote belaUI relay list. The relay destination uses `PUBLIC_RELAY_HOST` and `SRTLA_PORT`, while each profile name becomes a selectable relay account. Profiles without publisher keys are not