aido-onyx/branding/branding.config.json
NaeemDosh c6e3776617 AIDO white-label overlay for Onyx Community Edition
Thin-overlay white-label: branding driven by a single config, applied into
onyx/web by apply-branding.mjs; only the web image is built locally while all
other services use official Onyx images.

- branding/branding.config.json: single source of truth (name, assets, links)
- branding/apply-branding.mjs: asset fetch + logo swap + favicon repoint + codemod
- docker-compose.branding.yml + Makefile: build only livtec/aido-web, pull the rest
- .env/.env.nginx examples + README (update-branding & upgrade-Onyx workflows)

Community Edition only; no EE/commercial features used.
2026-06-27 08:06:58 +05:00

60 lines
2.8 KiB
JSON

{
"$comment": "SINGLE SOURCE OF TRUTH for the Livtec / AIDO white-label of Onyx Community Edition. Edit values here, then run `node branding/apply-branding.mjs` and rebuild the web image. Values mirror the AIDO/Lobe white-label so the two products stay visually identical.",
"brand": {
"name": "AIDO",
"legalName": "Livtec AG",
"poweredByHtml": "Powered by Livtec",
"ogDescription": "Ein KI-Assistent, der genau auf Ihre Unternehmensdokumente abgestimmt ist."
},
"upstream": {
"$comment": "Pin the exact Onyx commit/tag this overlay was authored against. Bump together with branding.apply when upgrading. Used only for documentation/verification.",
"repo": "https://github.com/onyx-dot-app/onyx",
"pinnedCommit": "d0f3b66",
"webSrcRoot": "onyx/web"
},
"assets": {
"$comment": "Remote source URLs are fetched at apply time into onyx/web/public/branding/. If a fetch fails (e.g. offline), the apply script keeps any existing committed file in branding/assets/ as a fallback.",
"mark": {
"url": "https://crm.livtec.cloud/hubfs/Logos/AIDO/favicon_aido_48x48_rand.png",
"dest": "branding/mark.png",
"note": "Square symbol used as the in-app logo icon (sidebar, loaders, compact placements)."
},
"wordmark": {
"url": "https://crm.livtec.cloud/hubfs/Logos/AIDO/aido_465x170.png",
"dest": "branding/wordmark.png",
"note": "Full lockup (symbol + AIDO text) used wherever the typed logo appears (auth screen, headers)."
},
"favicon": {
"url": "https://crm.livtec.cloud/hubfs/Logos/AIDO/favicon_aido.png",
"dest": "branding/favicon.png",
"note": "Browser tab icon. Replaces the default /onyx.ico reference."
}
},
"links": {
"$comment": "Maps Onyx's hardcoded link constants to Livtec destinations. DOCS_BASE_URL drives most in-app documentation links; deep sub-paths (e.g. /admins) consolidate to this root.",
"docsBaseUrl": "https://portal.livtec.cloud",
"website": "https://livtec.cloud/",
"help": "https://portal.livtec.cloud/",
"privacy": "https://livtec.cloud/terms/",
"terms": "https://livtec.cloud/terms/",
"blog": "https://livtec.cloud/blog/",
"changelog": "https://livtec.cloud/"
},
"emails": {
"business": "hello@livtec.cloud",
"support": "support@livtec.cloud"
},
"rename": {
"$comment": "Drives the user-visible string codemod. `word` replaces standalone, capitalised whole-word matches of \\bOnyx\\b only — camelCase identifiers (OnyxDocument, SvgOnyxLogo), lowercase package refs (@onyx, onyx.app, onyx.ico) are never touched. `literals` are exact-string replacements applied before the word pass for multi-word brand terms.",
"word": { "Onyx": "AIDO" },
"literals": {
"https://docs.onyx.app": "https://portal.livtec.cloud"
}
}
}