refactor: remove rProviders from rApps, fix rSwag domain to rswag.online

rProviders (providers.mycofi.earth) is a separate project — removed
module registration, app switcher entry, tab bar badge, canvas embed
button, Traefik router, and standalone config. rSwag domain updated
from swag.mycofi.earth to rswag.online across all references.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Jeff Emmett 2026-02-25 23:39:43 -08:00
parent 19ce7080e8
commit f84b0b9914
8 changed files with 6 additions and 29 deletions

View File

@ -82,17 +82,6 @@ services:
traefik.http.routers.rcart-sa.entrypoints: web traefik.http.routers.rcart-sa.entrypoints: web
traefik.http.services.rcart-sa.loadbalancer.server.port: "3000" traefik.http.services.rcart-sa.loadbalancer.server.port: "3000"
# ── rProviders ──
rproviders-standalone:
<<: *standalone-base
container_name: rproviders-standalone
command: ["bun", "run", "modules/providers/standalone.ts"]
labels:
<<: *traefik-enabled
traefik.http.routers.rproviders-sa.rule: Host(`providers.mycofi.earth`)
traefik.http.routers.rproviders-sa.entrypoints: web
traefik.http.services.rproviders-sa.loadbalancer.server.port: "3000"
# ── rSwag ── # ── rSwag ──
rswag-standalone: rswag-standalone:
<<: *standalone-base <<: *standalone-base
@ -105,7 +94,7 @@ services:
SWAG_ARTIFACTS_DIR: /data/swag-artifacts SWAG_ARTIFACTS_DIR: /data/swag-artifacts
labels: labels:
<<: *traefik-enabled <<: *traefik-enabled
traefik.http.routers.rswag-sa.rule: Host(`swag.mycofi.earth`) traefik.http.routers.rswag-sa.rule: Host(`rswag.online`)
traefik.http.routers.rswag-sa.entrypoints: web traefik.http.routers.rswag-sa.entrypoints: web
traefik.http.services.rswag-sa.loadbalancer.server.port: "3000" traefik.http.services.rswag-sa.loadbalancer.server.port: "3000"

View File

@ -132,14 +132,10 @@ services:
- "traefik.http.routers.rspace-rsplat.entrypoints=web" - "traefik.http.routers.rspace-rsplat.entrypoints=web"
- "traefik.http.routers.rspace-rsplat.priority=120" - "traefik.http.routers.rspace-rsplat.priority=120"
- "traefik.http.routers.rspace-rsplat.service=rspace-online" - "traefik.http.routers.rspace-rsplat.service=rspace-online"
- "traefik.http.routers.rspace-rswag.rule=Host(`swag.mycofi.earth`)" - "traefik.http.routers.rspace-rswag.rule=Host(`rswag.online`)"
- "traefik.http.routers.rspace-rswag.entrypoints=web" - "traefik.http.routers.rspace-rswag.entrypoints=web"
- "traefik.http.routers.rspace-rswag.priority=120" - "traefik.http.routers.rspace-rswag.priority=120"
- "traefik.http.routers.rspace-rswag.service=rspace-online" - "traefik.http.routers.rspace-rswag.service=rspace-online"
- "traefik.http.routers.rspace-rproviders.rule=Host(`providers.mycofi.earth`)"
- "traefik.http.routers.rspace-rproviders.entrypoints=web"
- "traefik.http.routers.rspace-rproviders.priority=120"
- "traefik.http.routers.rspace-rproviders.service=rspace-online"
# Service configuration # Service configuration
- "traefik.http.services.rspace-online.loadbalancer.server.port=3000" - "traefik.http.services.rspace-online.loadbalancer.server.port=3000"
- "traefik.docker.network=traefik-public" - "traefik.docker.network=traefik-public"

View File

@ -33,7 +33,6 @@ const MODULE_META: Record<string, { badge: string; color: string; name: string;
rdata: { badge: "rD", color: "#d8b4fe", name: "rData", icon: "📊" }, rdata: { badge: "rD", color: "#d8b4fe", name: "rData", icon: "📊" },
rnetwork: { badge: "rNe", color: "#93c5fd", name: "rNetwork", icon: "🌍" }, rnetwork: { badge: "rNe", color: "#93c5fd", name: "rNetwork", icon: "🌍" },
rsplat: { badge: "r3", color: "#d8b4fe", name: "rSplat", icon: "🔮" }, rsplat: { badge: "r3", color: "#d8b4fe", name: "rSplat", icon: "🔮" },
rproviders: { badge: "rPr", color: "#fdba74", name: "rProviders", icon: "🏭" },
rswag: { badge: "rSw", color: "#fda4af", name: "rSwag", icon: "🎨" }, rswag: { badge: "rSw", color: "#fda4af", name: "rSwag", icon: "🎨" },
rchoices: { badge: "rCo", color: "#f0abfc", name: "rChoices", icon: "🤔" }, rchoices: { badge: "rCo", color: "#f0abfc", name: "rChoices", icon: "🤔" },
rcal: { badge: "rC", color: "#7dd3fc", name: "rCal", icon: "📅" }, rcal: { badge: "rC", color: "#7dd3fc", name: "rCal", icon: "📅" },

View File

@ -110,7 +110,7 @@ routes.post("/api/artifact", async (c) => {
// Build artifact envelope // Build artifact envelope
const proto = c.req.header("x-forwarded-proto") || "https"; const proto = c.req.header("x-forwarded-proto") || "https";
const host = c.req.header("host") || "swag.mycofi.earth"; const host = c.req.header("host") || "rswag.online";
const baseUrl = `${proto}://${host}`; const baseUrl = `${proto}://${host}`;
const renderTargetKey = `${product.id}-${result.format}`; const renderTargetKey = `${product.id}-${result.format}`;
@ -123,7 +123,7 @@ routes.post("/api/artifact", async (c) => {
id: artifactId, id: artifactId,
schema_version: "1.0", schema_version: "1.0",
type: "print-ready", type: "print-ready",
origin: "swag.mycofi.earth", origin: "rswag.online",
source_space: sourceSpace || null, source_space: sourceSpace || null,
creator: { creator: {
id: creatorId || "anonymous", id: creatorId || "anonymous",
@ -168,7 +168,7 @@ routes.post("/api/artifact", async (c) => {
}, },
next_actions: [ next_actions: [
{ tool: "rcart.online", action: "list-for-sale", label: "Sell in community shop", endpoint: "/api/catalog/ingest", method: "POST" }, { tool: "rcart.online", action: "list-for-sale", label: "Sell in community shop", endpoint: "/api/catalog/ingest", method: "POST" },
{ tool: "swag.mycofi.earth", action: "edit-design", label: "Edit design", endpoint: "/editor", method: "GET" }, { tool: "rswag.online", action: "edit-design", label: "Edit design", endpoint: "/editor", method: "GET" },
{ tool: "rfiles.online", action: "archive", label: "Save to files", endpoint: "/api/v1/files/import", method: "POST" }, { tool: "rfiles.online", action: "archive", label: "Save to files", endpoint: "/api/v1/files/import", method: "POST" },
], ],
}; };
@ -246,5 +246,5 @@ export const swagModule: RSpaceModule = {
icon: "\u{1F3A8}", icon: "\u{1F3A8}",
description: "Design print-ready swag: stickers, posters, tees", description: "Design print-ready swag: stickers, posters, tees",
routes, routes,
standaloneDomain: "swag.mycofi.earth", standaloneDomain: "rswag.online",
}; };

View File

@ -44,7 +44,6 @@ import { canvasModule } from "../modules/canvas/mod";
import { booksModule } from "../modules/books/mod"; import { booksModule } from "../modules/books/mod";
import { pubsModule } from "../modules/pubs/mod"; import { pubsModule } from "../modules/pubs/mod";
import { cartModule } from "../modules/cart/mod"; import { cartModule } from "../modules/cart/mod";
import { providersModule } from "../modules/providers/mod";
import { swagModule } from "../modules/swag/mod"; import { swagModule } from "../modules/swag/mod";
import { choicesModule } from "../modules/choices/mod"; import { choicesModule } from "../modules/choices/mod";
import { fundsModule } from "../modules/funds/mod"; import { fundsModule } from "../modules/funds/mod";
@ -73,7 +72,6 @@ registerModule(canvasModule);
registerModule(booksModule); registerModule(booksModule);
registerModule(pubsModule); registerModule(pubsModule);
registerModule(cartModule); registerModule(cartModule);
registerModule(providersModule);
registerModule(swagModule); registerModule(swagModule);
registerModule(choicesModule); registerModule(choicesModule);
registerModule(fundsModule); registerModule(fundsModule);

View File

@ -41,7 +41,6 @@ const MODULE_BADGES: Record<string, { badge: string; color: string }> = {
rwallet: { badge: "rW", color: "#fde047" }, // yellow-300 rwallet: { badge: "rW", color: "#fde047" }, // yellow-300
rcart: { badge: "rCt", color: "#fdba74" }, // orange-300 rcart: { badge: "rCt", color: "#fdba74" }, // orange-300
rauctions: { badge: "rA", color: "#fca5a5" }, // red-300 rauctions: { badge: "rA", color: "#fca5a5" }, // red-300
rproviders: { badge: "rPr", color: "#fdba74" }, // orange-300
rtube: { badge: "rTu", color: "#f9a8d4" }, // pink-300 rtube: { badge: "rTu", color: "#f9a8d4" }, // pink-300
// Sharing // Sharing
rphotos: { badge: "rPh", color: "#f9a8d4" }, // pink-200 rphotos: { badge: "rPh", color: "#f9a8d4" }, // pink-200
@ -79,7 +78,6 @@ const MODULE_CATEGORIES: Record<string, string> = {
rwallet: "Funding & Commerce", rwallet: "Funding & Commerce",
rcart: "Funding & Commerce", rcart: "Funding & Commerce",
rauctions: "Funding & Commerce", rauctions: "Funding & Commerce",
rproviders: "Funding & Commerce",
rphotos: "Sharing", rphotos: "Sharing",
rnetwork: "Sharing", rnetwork: "Sharing",
rsocials: "Sharing", rsocials: "Sharing",

View File

@ -43,7 +43,6 @@ const MODULE_BADGES: Record<string, { badge: string; color: string }> = {
rwallet: { badge: "rW", color: "#fde047" }, rwallet: { badge: "rW", color: "#fde047" },
rcart: { badge: "rCt", color: "#fdba74" }, rcart: { badge: "rCt", color: "#fdba74" },
rauctions: { badge: "rA", color: "#fca5a5" }, rauctions: { badge: "rA", color: "#fca5a5" },
rproviders: { badge: "rPr", color: "#fdba74" },
rtube: { badge: "rTu", color: "#f9a8d4" }, rtube: { badge: "rTu", color: "#f9a8d4" },
rphotos: { badge: "rPh", color: "#f9a8d4" }, rphotos: { badge: "rPh", color: "#f9a8d4" },
rnetwork: { badge: "rNe", color: "#93c5fd" }, rnetwork: { badge: "rNe", color: "#93c5fd" },

View File

@ -677,7 +677,6 @@
<button id="embed-data" title="Embed rData">📊 rData</button> <button id="embed-data" title="Embed rData">📊 rData</button>
<button id="embed-network" title="Embed rNetwork">🌍 rNetwork</button> <button id="embed-network" title="Embed rNetwork">🌍 rNetwork</button>
<button id="embed-splat" title="Embed rSplat">🔮 rSplat</button> <button id="embed-splat" title="Embed rSplat">🔮 rSplat</button>
<button id="embed-providers" title="Embed rProviders">🏭 rProviders</button>
<button id="embed-swag" title="Embed rSwag">🎨 rSwag</button> <button id="embed-swag" title="Embed rSwag">🎨 rSwag</button>
</div> </div>
</div> </div>
@ -1666,7 +1665,6 @@
{ btnId: "embed-data", moduleId: "rdata" }, { btnId: "embed-data", moduleId: "rdata" },
{ btnId: "embed-network", moduleId: "rnetwork" }, { btnId: "embed-network", moduleId: "rnetwork" },
{ btnId: "embed-splat", moduleId: "rsplat" }, { btnId: "embed-splat", moduleId: "rsplat" },
{ btnId: "embed-providers", moduleId: "rproviders" },
{ btnId: "embed-swag", moduleId: "rswag" }, { btnId: "embed-swag", moduleId: "rswag" },
]; ];