From fb624c4ed1312e9b92153dfe11e057078222e394 Mon Sep 17 00:00:00 2001 From: cyph3rasi Date: Tue, 14 Jul 2026 23:16:01 -0700 Subject: [PATCH] Configure official Stuffbox URL in example and fresh VPS installs Hop-State: A_06FP8TR0KJF8N7BWEBNR618 Hop-Proposal: R_06FP8TQ5JJSA61SNB19PXB0 Hop-Task: T_06FP8TDTWY6ESGXKC1FXBDG Hop-Attempt: AT_06FP8TDTWX2BRQ83QR6TA70 --- .env.example | 2 +- README.md | 2 +- deploy/install.sh | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.env.example b/.env.example index 0712b12..fe7dfaa 100644 --- a/.env.example +++ b/.env.example @@ -19,7 +19,7 @@ NEXT_PUBLIC_NODE_DOMAIN=localhost:43821 NEXT_PUBLIC_APP_URL=http://localhost:43821 # Recommended: Stuffbox instance offered as the default user-owned media provider -# STUFFBOX_URL=https://stuffbox.example.com +STUFFBOX_URL=https://stuffbox.xyz # Optional: node metadata shown before a node record exists in the database # NEXT_PUBLIC_NODE_NAME=Synapsis Local diff --git a/README.md b/README.md index 5925d6b..9b0d033 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ Uninstalling preserves the database and environment by default. Pass `--purge-da The node database is a local embedded Turso/SQLite file. Media remains in storage controlled by each user, so exported accounts retain portable media URLs and can move between Synapsis nodes without requiring the old node to transfer a shared upload directory. -Stuffbox is the default integration. Set `STUFFBOX_URL` to the public URL of the Stuffbox service users should connect. Synapsis uses a consent and PKCE flow, keeps the resulting tokens encrypted with `AUTH_SECRET`, and sends file bytes directly from the user's browser to Stuffbox. +Stuffbox is the default integration. New installs use `https://stuffbox.xyz`; set `STUFFBOX_URL` to a different public URL when using another or self-hosted Stuffbox service. Synapsis uses a consent and PKCE flow, keeps the resulting tokens encrypted with `AUTH_SECRET`, and sends file bytes directly from the user's browser to Stuffbox. User-owned S3-compatible storage remains available as an advanced fallback. Supported providers include AWS S3, Cloudflare R2, Backblaze B2, Wasabi, and Contabo. diff --git a/deploy/install.sh b/deploy/install.sh index 7f8923b..a025271 100755 --- a/deploy/install.sh +++ b/deploy/install.sh @@ -46,6 +46,7 @@ if [[ ! -e "$ENV_FILE" ]]; then echo "AUTH_SECRET=$auth_secret" echo "ADMIN_EMAILS=admin@example.com" echo "NEXT_PUBLIC_NODE_DOMAIN=localhost:$port" + echo "STUFFBOX_URL=https://stuffbox.xyz" } > "$ENV_FILE" fi