Author SHA1 Message Date
inference-bot 97d0130b89 manifest: chat memoryLimit 3 GiB -> 4 GiB (post-resize RAM headroom) 2026-12-02 03:36:14 +00:00
inference-bot 7efa9b738f manifest: chat memoryLimit 1 GiB -> 3 GiB
The chat container was pinned at its 1 GiB cgroup cap with a 1.3 GB
Meilisearch index as file cache; document indexing took ~8 s/document.
Raised live via POST /apps/:id/configure/memory_limit to 3221225472
(2026-12-01) and mirrored here so the next overlay update does not
silently revert the box to 1 GiB.
2026-12-01 03:21:28 +00:00
inference-admin 44c1c426fc verify: assert the manifest has no theme_color (Firefox chrome regression guard) 2026-11-28 17:08:58 +00:00
inference-admin 3708c44734 Pin manifest to 20261128-046e97b 2026-11-28 17:05:45 +00:00
inference-admin 6eb0e82948 README: document the Firefox PWA chrome cause (manifest-only colors) 2026-11-28 17:05:44 +00:00
inference-admin 046e97b024 pwa: drop manifest theme_color so Firefox chrome follows the phone theme
Firefox for Android ignores meta theme-color entirely; its PWA window takes
toolbar/status from manifest theme_color and the navigation bar (white/black)
from background_color, so the cream value framed the dark app with light bands.
With theme_color absent Firefox falls back to its own light/dark chrome.
Chromium keeps the per-scheme meta tags and custom2.js sync.
2026-11-28 17:05:07 +00:00
inference-admin 72c4d7997a librechat: exempt internal SearXNG from the web-search SSRF guard 2026-11-27 20:00:51 +00:00
inference-admin 7c3e1ab278 web search: use Yahoo engine; Brave now returns URL-cloaked /go/v1 links 2026-11-24 01:32:32 +00:00
7 changed files with 119 additions and 72 deletions

No files matched your search

+55 -55
View File
@@ -1,59 +1,59 @@
{
"id": "ai.librechat.cloudronapp",
"version": "1.4.8",
"title": "LibreChat",
"upstreamVersion": "0.8.8",
"author": "Danny Avila",
"description": "LibreChat is an open-source chatbot client that supports multiple AI providers and models including:\n\n- OpenAI GPT Models\n- Anthropic Claude Models\n- Google PaLM Models\n- Various open-source local models\n\nFeatures:\n- Switch between various AI models\n- Conversation history\n- Plugins support\n- File upload and processing\n- Custom instructions\n- Multiple conversation modes\n\n",
"changelog": "* Update uv to 0.13.5\n",
"tagline": "ChatGPT-like interface with model switching",
"website": "https://github.com/danny-avila/LibreChat",
"documentationUrl": "https://docs.cloudron.io/packages/librechat/",
"forumUrl": "https://forum.cloudron.io/category/210/librechat",
"contactEmail": "support@cloudron.io",
"healthCheckPath": "/health",
"httpPort": 3080,
"addons": {
"postgresql": {},
"mongodb": {},
"localstorage": {},
"oidc": {
"loginRedirectUri": "/oauth/openid/callback"
"id": "ai.librechat.cloudronapp",
"version": "1.4.8",
"title": "LibreChat",
"upstreamVersion": "0.8.8",
"author": "Danny Avila",
"description": "LibreChat is an open-source chatbot client that supports multiple AI providers and models including:\n\n- OpenAI GPT Models\n- Anthropic Claude Models\n- Google PaLM Models\n- Various open-source local models\n\nFeatures:\n- Switch between various AI models\n- Conversation history\n- Plugins support\n- File upload and processing\n- Custom instructions\n- Multiple conversation modes\n\n",
"changelog": "* Update uv to 0.13.5\n",
"tagline": "ChatGPT-like interface with model switching",
"website": "https://github.com/danny-avila/LibreChat",
"documentationUrl": "https://docs.cloudron.io/packages/librechat/",
"forumUrl": "https://forum.cloudron.io/category/210/librechat",
"contactEmail": "support@cloudron.io",
"healthCheckPath": "/health",
"httpPort": 3080,
"addons": {
"postgresql": {},
"mongodb": {},
"localstorage": {},
"oidc": {
"loginRedirectUri": "/oauth/openid/callback"
},
"sendmail": {
"supportsDisplayName": true
},
"scheduler": {
"librechat_key_sync": {
"schedule": "* * * * *",
"command": "cd /app/code/librechat/api && node /app/code/sync-keys.js"
}
}
},
"sendmail": {
"supportsDisplayName": true
"checklist": {
"register-admin": {
"message": "On the first visit, register yourself as an admin user"
},
"disable-registration": {
"message": "Disable registration, if required, to prevent misuse"
},
"set-api-keys": {
"message": "Set API keys in /app/data/env file and restart the app"
}
},
"scheduler": {
"librechat_key_sync": {
"schedule": "* * * * *",
"command": "cd /app/code/librechat/api && node /app/code/sync-keys.js"
}
}
},
"checklist": {
"register-admin": {
"message": "On the first visit, register yourself as an admin user"
},
"disable-registration": {
"message": "Disable registration, if required, to prevent misuse"
},
"set-api-keys": {
"message": "Set API keys in /app/data/env file and restart the app"
}
},
"optionalSso": true,
"manifestVersion": 2,
"memoryLimit": 1073741824,
"minBoxVersion": "8.1.0",
"tags": [
"ai",
"chat",
"gpt"
],
"mediaLinks": [
"https://screenshots.cloudron.io/ai.librechat.cloudronapp/librechat-00.png",
"https://screenshots.cloudron.io/ai.librechat.cloudronapp/librechat-01.png"
],
"icon": "file://logo.png",
"dockerImage": "registry.inference.coop/co-op/librechat-custom:20261119-c8b1b70"
"optionalSso": true,
"manifestVersion": 2,
"memoryLimit": 4294967296,
"minBoxVersion": "8.1.0",
"tags": [
"ai",
"chat",
"gpt"
],
"mediaLinks": [
"https://screenshots.cloudron.io/ai.librechat.cloudronapp/librechat-00.png",
"https://screenshots.cloudron.io/ai.librechat.cloudronapp/librechat-01.png"
],
"icon": "file://logo.png",
"dockerImage": "registry.inference.coop/co-op/librechat-custom:20261128-046e97b"
}
+11 -10
View File
@@ -75,16 +75,17 @@ RUN python3 /app/code/patch_index.py && \
rm -f /app/code/librechat/client/dist/assets/index.*.js.gz /app/code/librechat/client/dist/assets/index.*.js.br && \
echo "// coop-build-$(date +%s)" >> /app/code/librechat/client/dist/sw.js
# PWA chrome colors: LibreChat ships a teal theme_color (#009688) in the web
# manifest (the bright green bar Firefox PWAs draw across the top) and black
# background_color. Point both at the light page color — CREAM #faf8f5, the
# dashboard's page background (the manifest can only hold one value; custom2.js
# re-syncs the meta tags to the app's actual theme at runtime). The index.html
# meta gets a light + dark pair so browser/PWA chrome matches the phone theme
# natively. KEEP THESE THREE IN SYNC: this sed, custom.css's html:not(.dark)
# background, and custom2.js COOP_BG.light — the green wash #eaf3ea used to sit
# in all three and made the installed app read as green.
RUN sed -i 's|"theme_color": *"#009688"|"theme_color":"#faf8f5"|; s|"background_color": *"#000000"|"background_color":"#faf8f5"|' /app/code/librechat/client/dist/manifest.webmanifest && \
# PWA chrome colors: background_color set to CREAM #faf8f5 (Chrome's splash
# screen). theme_color is REMOVED by patch_index.py, which runs above: Firefox
# for Android ignores <meta name=theme-color> and derives its PWA toolbar/status
# bar from the manifest theme_color plus a WHITE/BLACK navigation bar from
# background_color — a static cream value cannot follow the app's dark theme and
# leaves light bands around the dark app. With theme_color absent Firefox uses
# its own light/dark chrome. The index.html meta pair (applied below) still
# drives Chromium, and custom2.js re-syncs that meta to the resolved theme.
# Keep custom.css's html:not(.dark) background and custom2.js COOP_BG.light in
# step with this value.
RUN sed -i 's|"background_color": *"#000000"|"background_color":"#faf8f5"|' /app/code/librechat/client/dist/manifest.webmanifest && \
sed -i 's|<meta name="theme-color" content="#171717" />|<meta name="theme-color" media="(prefers-color-scheme: light)" content="#faf8f5" />\n <meta name="theme-color" media="(prefers-color-scheme: dark)" content="#22271f" />|' /app/code/librechat/client/dist/index.html
# Log ownership guard: a host-side daily job creates the next day's dated log
+15 -5
View File
@@ -465,11 +465,21 @@ number of members who have logged in to the sandbox.
on a solid brand background. Full-bleed logos get cropped ("zoomed in").
- **Firefox Android**: `crossorigin="use-credentials"` on the manifest link
breaks icon resolution (blank launcher icon) — patch_index.py strips it.
- **Theme bars**: the manifest `theme_color` is one static value; Chromium's
nav bar and all Firefox bars use it even when the meta says otherwise. The
durable fix is `viewport-fit=cover` + standalone-mode safe-area padding
(custom.css) so the bands show the theme-correct page background; custom2.js
additionally syncs one meta `theme-color` to the app's resolved theme.
- **Theme bars (why Firefox showed light bands)**: Firefox for Android has never
implemented `<meta name="theme-color">` (desktop neither) — caniuse marks it
unsupported through FF 163 — so `custom2.js`'s meta sync only affects Chromium.
Firefox's PWA window colours its chrome from the MANIFEST alone
(`android-components` `feature/pwa/ext/WebAppManifest.kt` → `toCustomTabConfig()`):
`toolbarColor = themeColor`, and `navigationBarColor` = WHITE or BLACK chosen
from `background_color`, **only when both members exist**. A cream
`theme_color` therefore painted a cream top band and a pure-white bottom band
around the dark app, unfixable at runtime. The fix is to omit `theme_color`
from `manifest.webmanifest` (patch_index.py): Firefox then uses its own
light/dark toolbar surface, which follows the phone theme. `background_color`
stays cream for Chrome's splash screen; Chromium still gets the light/dark
meta pair, and `custom2.js` re-syncs it at runtime. `viewport-fit=cover` +
safe-area padding only help browsers that draw the page under transparent
bars (Chromium/Safari) — they do nothing for Firefox's opaque bands.
## Deploy semantics — why the image tag can lag `main`
Binary file not shown.
+11 -1
View File
@@ -206,10 +206,20 @@ speech:
# KEENABLE_FETCH_URL (internal app, no third party). The instance URL is an
# env-var reference (real values never live in the YAML).
webSearch:
# SearXNG is reached on the internal container network, which resolves into
# private address space; LibreChat's SSRF guard blocks that unless the
# destination is explicitly exempted. Keep this host:port in step with
# SEARXNG_INSTANCE_URL (it is the search app's container hostname).
allowedAddresses:
- "01579db7-20c2-4f8c-b4fa-f0b6bec4a3dd:8888"
searchProvider: "searxng"
searxngInstanceUrl: "${SEARXNG_INSTANCE_URL}"
searxngSearchOptions:
engines: "duckduckgo,brave"
# Brave's scraping engine now returns URL-cloaked "/go/v1/..." links (its
# 2026-11-11 anti-scraping change) and DuckDuckGo answers this host with a
# CAPTCHA, so both yield broken citations. Yahoo (Bing-backed) currently
# returns real destination URLs. Durable fix: the braveapi engine + key.
engines: "yahoo"
language: "en"
scraperProvider: "keenable"
rerankerType: "none"
+14 -1
View File
@@ -66,7 +66,20 @@ try:
mf = _json.load(open(MPATH, encoding="utf-8"))
mf["name"] = "Inference Co\u2011op"
mf["short_name"] = "Inference"
mf["description"] = "Member-governed AI inference — private and renewable model choices."
mf["description"] = "Member-governed AI inference \u2014 private and renewable model choices."
# NO theme_color. Firefox for Android never implemented <meta name=theme-color>
# (the custom2.js sync therefore only reaches Chromium), and its PWA window
# takes the chrome colours from the manifest alone:
# android-components feature/pwa/ext/WebAppManifest.kt: toCustomTabConfig()
# sets toolbarColor = themeColor and navigationBarColor = WHITE/BLACK
# derived from background_color, but only when BOTH are present.
# A cream theme_color therefore paints a cream status/toolbar band and a
# pure-white navigation bar around the dark app, with no runtime override
# possible. With theme_color absent the config is null and Firefox uses its
# own light/dark toolbar surface, which follows the phone theme.
# Chromium still gets the per-scheme meta tags from the Dockerfile.
# background_color stays cream: Chrome's splash screen uses it.
mf.pop("theme_color", None)
# Deterministic icon list: explicit any/maskable entries (no dual-purpose
# values — some Firefox Android versions mishandle "any maskable"), and
# the launcher-suitable sizes first. Each src carries a per-build version
+13
View File
@@ -142,6 +142,19 @@ cmd_verify() {
http_body "https://chat.inference.coop/" | grep -qE 'x-coop-build' && ok "x-coop-build marker present" \
|| bad "no x-coop-build marker (stale service-worker clients will not self-heal)"
# Firefox for Android ignores <meta theme-color>; it colours its installed-site
# chrome from manifest theme_color (toolbar/status) plus a white/black nav bar
# derived from background_color. A theme_color here re-creates the light bands
# around the dark app, so its absence is a real assertion, not cosmetics.
local mf; mf=$(http_body "https://chat.inference.coop/manifest.webmanifest")
if grep -qE '"theme_color"' <<<"$mf"; then
bad "manifest carries theme_color — Firefox PWA chrome will again show static light bands"
else
ok "manifest has no theme_color (Firefox chrome follows the browser theme)"
fi
grep -qE '"background_color": *"#faf8f5"' <<<"$mf" && ok "manifest background_color cream" \
|| bad "manifest background_color is not #faf8f5"
# The scheduler task must point at a file that exists in the RUNNING image.
# Catches a manifest repoint deployed before its image landed (2026-10-25).
local sched_cmd