Skip to content

Free, open-source 3D sculpting for Linux, macOS and Windows: dense meshes, remeshing, painting, built-in AI (image/text to 3D), Send to Unreal, game-ready LODs, Gaussian splats and OpenUSD.

Phone link: face page at https://sculptforge.app/link/ (kPhoneLinkSiteUrl); relay Worker allows sculptforge.app origins only; roadmap + design doc

islandmedbb8cfa4019fd
diff --git a/ROADMAP.md b/ROADMAP.md
index 4d230997..d168cce5 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -158,7 +158,7 @@ Ranked by what sculptors cite most on the ZBrush, Polycount, Blender and Mudbox
(libdatachannel, optional at build time), face takes as JSON Lines
- πŸ“‹ Play back and export face takes (with the facs feature); in-page video recording with live coaching where the
page is secure; a QR code back from the phone for networks without internet
-- πŸ“‹ Move the face page to sculptforge.app once its DNS is set up (one constant: kPhoneLinkSiteUrl)
+- βœ… Face page at https://sculptforge.app/link/ (one constant: kPhoneLinkSiteUrl)
- πŸ“‹ Deploy the link relay Worker (`services/link-worker`, link.sculptforge.app); then consider dropping ntfy.sh
## Phase 3 β€” AI assistant, beyond brushes
diff --git a/docs/phone-link.md b/docs/phone-link.md
index 7232883c..6e7a9918 100644
--- a/docs/phone-link.md
+++ b/docs/phone-link.md
@@ -35,8 +35,8 @@ Phone browsers give `getUserMedia` (live camera) only to secure contexts: HTTPS
1. **Capture and AR: an HTTP page served by the desktop** (`assets/phone/capture.html`, embedded in the app), LAN
only, while the window is open. File inputs record video and photos; uploads are chunked and resumable; AR
models are plain links (`<a rel="ar">` for AR Quick Look, an intent URL for Scene Viewer), which work over HTTP.
-2. **Live face: an HTTPS page on our website** (`website/link/index.html`, published by GitHub Pages; base URL in
- `kPhoneLinkSiteUrl`, overridable with `SCULPTFORGE_LINK_URL`) running MediaPipe Face Landmarker on the phone,
+2. **Live face: an HTTPS page on our website** (`website/link/index.html`, published by GitHub Pages at
+ `https://sculptforge.app/link/`; base URL in `kPhoneLinkSiteUrl`, overridable with `SCULPTFORGE_LINK_URL`) running MediaPipe Face Landmarker on the phone,
connected to the desktop by a **WebRTC data channel** (DTLS: WebRTC is allowed from HTTPS pages to LAN peers).
Signaling needs no server of ours:
- **desktop -> phone**: the capture page asks the desktop for a face link; the desktop creates the WebRTC offer
diff --git a/services/link-worker/test/fake-env.mjs b/services/link-worker/test/fake-env.mjs
index 6db03aa9..7a114234 100644
--- a/services/link-worker/test/fake-env.mjs
+++ b/services/link-worker/test/fake-env.mjs
@@ -14,7 +14,7 @@ class MemoryStorage {
async setAlarm(at) { this.alarmAt = at; }
}
-export function fakeEnv(allowedOrigins = "https://sculptforge.app,https://islandmed.github.io") {
+export function fakeEnv(allowedOrigins = "https://sculptforge.app") {
const objects = new Map();
const env = { ALLOWED_ORIGINS: allowedOrigins };
env.TOPICS = {
diff --git a/services/link-worker/test/local-server.mjs b/services/link-worker/test/local-server.mjs
index fb5a7337..e25580b5 100644
--- a/services/link-worker/test/local-server.mjs
+++ b/services/link-worker/test/local-server.mjs
@@ -6,7 +6,7 @@ import worker from "../src/index.js";
import { fakeEnv } from "./fake-env.mjs";
const port = Number(process.argv[2] ?? 8787);
-const env = fakeEnv(process.env.ALLOWED_ORIGINS ?? "https://sculptforge.app,https://islandmed.github.io,http://localhost:8000");
+const env = fakeEnv(process.env.ALLOWED_ORIGINS ?? "https://sculptforge.app,http://localhost:8000");
setInterval(() => env.fireAlarms(), 10_000).unref();
http.createServer(async (req, res) => {
diff --git a/services/link-worker/wrangler.toml b/services/link-worker/wrangler.toml
index 298422b7..9cf263e9 100644
--- a/services/link-worker/wrangler.toml
+++ b/services/link-worker/wrangler.toml
@@ -13,7 +13,7 @@ routes = [
[vars]
# Pages allowed to post from a browser (the face page). Requests without an Origin (the desktop) are always allowed.
-ALLOWED_ORIGINS = "https://sculptforge.app,https://www.sculptforge.app,https://islandmed.github.io"
+ALLOWED_ORIGINS = "https://sculptforge.app,https://www.sculptforge.app"
[[durable_objects.bindings]]
name = "TOPICS"
diff --git a/src/link/PhoneLink.h b/src/link/PhoneLink.h
index b50aa806..1ee25a91 100644
--- a/src/link/PhoneLink.h
+++ b/src/link/PhoneLink.h
@@ -37,7 +37,7 @@ class FaceRtc;
// Where the face page lives (HTTPS, needed for the camera): our website. One constant; SCULPTFORGE_LINK_URL
// overrides it (e.g. a local HTTPS test server).
-inline constexpr const char* kPhoneLinkSiteUrl = "https://islandmed.github.io/SculptForge/link/";
+inline constexpr const char* kPhoneLinkSiteUrl = "https://sculptforge.app/link/";
// The relays that carry the phone's (encrypted) WebRTC answer, since the HTTPS page can't reach the desktop yet:
// space-separated, tried in order. Ours first (services/link-worker, a Cloudflare Worker), ntfy.sh as the
// fallback (same protocol). SCULPTFORGE_LINK_RELAY overrides the list.