The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.
TypeScript agentai-chatai-studioall-in-onecoding-agentdesktop-appfluximage-generationlinuxllmlocal-ailocal-llmopen-sourceprivacyself-hostedstable-diffusionuncensoreduncensored-aivideo-generationwindows
feat(brand): rebrand the app to "LU" (by LU Labs)
purple9de12d504bbc
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 98950f2f..653ff232 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -86,7 +86,7 @@ jobs:TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}with:tagName: ${{ github.event.release.tag_name || github.event.inputs.tag || 'v1.3.0' }}- releaseName: 'Locally Uncensored ${{ github.event.release.tag_name || github.event.inputs.tag }}'+ releaseName: 'LU ${{ github.event.release.tag_name || github.event.inputs.tag }}'releaseBody: |## Downloaddiff --git a/src-tauri/src/commands/remote.rs b/src-tauri/src/commands/remote.rsindex b5b1858b..df6990f3 100644--- a/src-tauri/src/commands/remote.rs+++ b/src-tauri/src/commands/remote.rs@@ -391,7 +391,7 @@ async fn handle_status() -> Json<serde_json::Value> {async fn handle_status_full(AxumState(state): AxumState<RemoteState>) -> Json<serde_json::Value> {let devices = state.connected_devices.lock().await;Json(serde_json::json!({- "app": "Locally Uncensored",+ "app": "LU","version": env!("CARGO_PKG_VERSION"),"connected_devices": devices.len(),"auth_required": true,diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rsindex a55e5e15..d7398c3b 100644--- a/src-tauri/src/main.rs+++ b/src-tauri/src/main.rs@@ -72,7 +72,7 @@ fn main() {init_tracing();tracing::info!(version = env!("CARGO_PKG_VERSION"),- "Locally Uncensored starting"+ "LU starting");let app_state = AppState::new();@@ -297,7 +297,7 @@ fn main() {TrayIconBuilder::new().icon(tray_icon)- .tooltip("Locally Uncensored")+ .tooltip("LU").menu(&menu).on_menu_event(|app, event| {match event.id().as_ref() {diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.jsonindex ef44e6e7..2004646d 100644--- a/src-tauri/tauri.conf.json+++ b/src-tauri/tauri.conf.json@@ -1,6 +1,6 @@{"$schema": "https://raw.githubusercontent.com/tauri-apps/tauri/dev/crates/tauri-cli/schema.json",- "productName": "Locally Uncensored",+ "productName": "LU","version": "2.5.7","identifier": "com.purpledoubled.locally-uncensored","build": {@@ -13,7 +13,7 @@"withGlobalTauri": true,"windows": [{- "title": "Locally Uncensored",+ "title": "LU","width": 1280,"height": 800,"resizable": true,@@ -42,12 +42,17 @@"publisher": "PurpleDoubleD","copyright": "Copyright (c) 2026 PurpleDoubleD. Licensed under AGPL-3.0.","category": "DeveloperTool",- "shortDescription": "Private, local AI chat, image, and video generation",- "longDescription": "Locally Uncensored is an open-source desktop app that runs AI chat, image generation, and video generation entirely on your own machine. Ships with a built-in inference engine — zero setup, no external software required — so chat and document RAG work the moment you open the app. Also auto-detects 12 optional local backends (Ollama, LM Studio, vLLM, KoboldCpp, llama.cpp, LocalAI, Jan, TabbyAPI, GPT4All, Aphrodite, SGLang, TGI). Includes a coding agent (Codex), an agent mode with 14 tools and MCP support, A/B model comparison, local benchmarking, document chat with RAG, voice chat, and remote access from your phone over LAN or Cloudflare Tunnel. No telemetry, no analytics, no data leaves your device.",- "homepage": "https://locallyuncensored.com",+ "shortDescription": "LU by LU Labs — private, local AI chat, image, and video generation",+ "longDescription": "LU (by LU Labs) is an open-source desktop app that runs AI chat, image generation, and video generation entirely on your own machine. Ships with a built-in inference engine — zero setup, no external software required — so chat and document RAG work the moment you open the app. Also auto-detects 12 optional local backends (Ollama, LM Studio, vLLM, KoboldCpp, llama.cpp, LocalAI, Jan, TabbyAPI, GPT4All, Aphrodite, SGLang, TGI). Includes a coding agent (Codex), an agent mode with 14 tools and MCP support, A/B model comparison, local benchmarking, document chat with RAG, voice chat, and remote access from your phone over LAN or Cloudflare Tunnel. No telemetry, no analytics, no data leaves your device.",+ "homepage": "https://lu-labs.ai","license": "AGPL-3.0",- "resources": ["resources/whisper_server.py", "../dist"],- "externalBin": ["bin/llama-server"],+ "resources": [+ "resources/whisper_server.py",+ "../dist"+ ],+ "externalBin": [+ "bin/llama-server"+ ],"icon": ["icons/32x32.png","icons/128x128.png",diff --git a/src-tauri/tauri.windows.conf.json b/src-tauri/tauri.windows.conf.jsonnew file mode 100644index 00000000..d77850e5--- /dev/null+++ b/src-tauri/tauri.windows.conf.json@@ -0,0 +1,18 @@+{+ "$schema": "https://raw.githubusercontent.com/tauri-apps/tauri/dev/crates/tauri-cli/schema.json",+ "productName": "Locally Uncensored",+ "app": {+ "windows": [+ {+ "title": "LU",+ "width": 1280,+ "height": 800,+ "resizable": true,+ "fullscreen": false,+ "visible": false,+ "decorations": false,+ "transparent": true+ }+ ]+ }+}diff --git a/src/api/__tests__/provider-openai.test.ts b/src/api/__tests__/provider-openai.test.tsindex 28e4abf9..6e89f6c2 100644--- a/src/api/__tests__/provider-openai.test.ts+++ b/src/api/__tests__/provider-openai.test.ts@@ -465,8 +465,8 @@ describe('OpenAIProvider', () => {)await provider.listModels()const headers = fetchSpy.mock.calls[0][1]?.headers as Record<string, string>- expect(headers['HTTP-Referer']).toBe('https://locallyuncensored.com')- expect(headers['X-Title']).toBe('Locally Uncensored')+ expect(headers['HTTP-Referer']).toBe('https://lu-labs.ai')+ expect(headers['X-Title']).toBe('LU')vi.restoreAllMocks()})diff --git a/src/api/__tests__/vram-handoff.test.ts b/src/api/__tests__/vram-handoff.test.tsindex 8f7bb799..df48678b 100644--- a/src/api/__tests__/vram-handoff.test.ts+++ b/src/api/__tests__/vram-handoff.test.ts@@ -264,7 +264,7 @@ describe('comfyErrorHint', () => {it('FramePack HyVideoModel error → points at the custom-node, not LU', () => {const h = comfyErrorHint('FramePackSampler', 'AttributeError', "'HyVideoModel' object has no attribute 'diffusion_model'")expect(h).toMatch(/FramePackWrapper/)- expect(h).toMatch(/not in Locally Uncensored/i)+ expect(h).toMatch(/not in LU/i)expect(h).toMatch(/SVD|Wan 2\.2/)})@@ -276,7 +276,7 @@ describe('comfyErrorHint', () => {it('Windows pagefile too small (os error 1455) → virtual-memory advice, not an LU bug (#61)', () => {const h = comfyErrorHint('CLIPLoader', undefined, 'The paging file is too small for this operation to complete. (os error 1455)')expect(h).toMatch(/virtual memory|page file/i)- expect(h).toMatch(/not a Locally Uncensored bug/i)+ expect(h).toMatch(/not an LU bug/i)// matches on the bare os-error code too, regardless of nodeexpect(comfyErrorHint(undefined, undefined, 'os error 1455')).toMatch(/virtual memory/i)})diff --git a/src/api/backend.ts b/src/api/backend.tsindex 8e9dc33c..78d0d159 100644--- a/src/api/backend.ts+++ b/src/api/backend.ts@@ -1,5 +1,5 @@/**- * Backend abstraction layer for Locally Uncensored.+ * Backend abstraction layer for LU.** - DEV MODE (npm run dev): Routes to Vite middleware via fetch("/local-api/...")* - PRODUCTION (Tauri .exe): Routes to Rust backend via invoke()diff --git a/src/api/providers/openai-provider.ts b/src/api/providers/openai-provider.tsindex 54abf822..9394d67a 100644--- a/src/api/providers/openai-provider.ts+++ b/src/api/providers/openai-provider.ts@@ -159,8 +159,8 @@ export class OpenAIProvider implements ProviderClient {}// OpenRouter requires these headersif (this.config.baseUrl.includes('openrouter.ai')) {- h['HTTP-Referer'] = 'https://locallyuncensored.com'- h['X-Title'] = 'Locally Uncensored'+ h['HTTP-Referer'] = 'https://lu-labs.ai'+ h['X-Title'] = 'LU'}return h}@@ -607,7 +607,7 @@ export class OpenAIProvider implements ProviderClient {"switch to the \"Runtimes\" tab → download \"llama.cpp (CPU)\" " +"(plus a GPU runtime if you have one).\n\n" +"Once the runtime is downloaded, come back here and resend your message — " +- "no need to restart Locally Uncensored."+ "no need to restart LU."}return new ProviderError(message, 'openai', code, res.status)diff --git a/src/api/vram-handoff.ts b/src/api/vram-handoff.tsindex 6c784272..becc07fd 100644--- a/src/api/vram-handoff.ts+++ b/src/api/vram-handoff.ts@@ -1301,7 +1301,7 @@ export function comfyErrorHint(nodeType: string | undefined, _excType: string |// bug — independent of LU's workflow (which now loads without OOM).if ((nodeType === 'FramePackSampler' || /framepack/i.test(nodeType ?? '')) &&m.includes('hyvideomodel') && m.includes('diffusion_model')) {- return 'This is a bug in the installed ComfyUI-FramePackWrapper custom node (its model loader and sampler are out of sync), not in Locally Uncensored. Update the node from ComfyUI Manager (search "FramePack"), or pick a different image-to-video model (SVD works on 12 GB; Wan 2.2 5B is the recommended higher-quality option).'+ return 'This is a bug in the installed ComfyUI-FramePackWrapper custom node (its model loader and sampler are out of sync), not in LU. Update the node from ComfyUI Manager (search "FramePack"), or pick a different image-to-video model (SVD works on 12 GB; Wan 2.2 5B is the recommended higher-quality option).'}if (m.includes('out of memory') || m.includes('outofmemory') || _excType === 'torch.OutOfMemoryError') {return 'Ran out of GPU memory. Try a shorter clip / lower resolution, set VRAM hand-off to "always" in Settings so the chat model is evicted first, or pick a lighter model.'@@ -1311,7 +1311,7 @@ export function comfyErrorHint(nodeType: string | undefined, _excType: string |// encoder / CLIPLoader) because the OS ran out of RAM + pagefile. This is a// Windows virtual-memory setting, not an LU bug — point the user at the fix.if (m.includes('paging file') || m.includes('os error 1455')) {- return 'Windows ran out of virtual memory while loading the model (its paging file is too small). This is a Windows setting, not a Locally Uncensored bug. Let Windows manage the page file, or raise it: Settings → System → About → Advanced system settings → Performance → Settings → Advanced → Virtual memory → Change, set a larger custom size, then reboot. Closing other heavy apps or picking a smaller model also helps.'+ return 'Windows ran out of virtual memory while loading the model (its paging file is too small). This is a Windows setting, not an LU bug. Let Windows manage the page file, or raise it: Settings → System → About → Advanced system settings → Performance → Settings → Advanced → Virtual memory → Change, set a larger custom size, then reboot. Closing other heavy apps or picking a smaller model also helps.'}return ''}diff --git a/src/components/layout/Header.tsx b/src/components/layout/Header.tsxindex 85d677f7..0f1129e7 100644--- a/src/components/layout/Header.tsx+++ b/src/components/layout/Header.tsx@@ -184,7 +184,7 @@ export function Header() {setView('chat')}}className="flex items-center shrink-0 text-gray-600 dark:text-gray-300 hover:text-gray-900 dark:hover:text-white transition"- aria-label="Locally Uncensored"+ aria-label="LU">{/* Top-panel brand mark: the black/white monogram only (no wordmark),inverted per theme. Matches the web companion. */}diff --git a/src/components/models/ModelRecommendation.tsx b/src/components/models/ModelRecommendation.tsxindex c1f54fe6..bd97bdea 100644--- a/src/components/models/ModelRecommendation.tsx+++ b/src/components/models/ModelRecommendation.tsx@@ -145,7 +145,7 @@ export function ModelRecommendation() {<Cpu size={20} className="text-blue-400" /></div><div>- <h2 className="text-lg font-bold text-gray-900 dark:text-white">Welcome to Locally Uncensored</h2>+ <h2 className="text-lg font-bold text-gray-900 dark:text-white">Welcome to LU</h2><p className="text-sm text-gray-500">{systemInfo.gpu ? `${systemInfo.gpu} (${systemInfo.vram} GB VRAM)` : 'No model installed — here are some recommendations:'}</p>diff --git a/src/components/onboarding/Onboarding.tsx b/src/components/onboarding/Onboarding.tsxindex 5774380a..6da0cf79 100644--- a/src/components/onboarding/Onboarding.tsx+++ b/src/components/onboarding/Onboarding.tsx@@ -746,7 +746,7 @@ export function Onboarding() {animate={{ opacity: 1, y: 0 }}exit={{ opacity: 0, y: -20 }}>- <h1 className="text-base font-semibold">Locally Uncensored</h1>+ <h1 className="text-base font-semibold">LU <span className="font-normal opacity-60">by LU Labs</span></h1><p className={`text-[0.75rem] leading-relaxed ${isDark ? 'text-gray-400' : 'text-gray-500'}`}>Private, local AI chat that works right away — no extra software to install. No servers, no tracking, everything stays on your machine.</p>@@ -790,7 +790,7 @@ export function Onboarding() {Advanced disclosure below (kept, just no longer required). */}<h2 className="text-base font-semibold">Ready to chat</h2><p className={`text-[0.7rem] ${isDark ? 'text-gray-400' : 'text-gray-500'}`}>- Locally Uncensored runs its own engine on your machine — nothing to install. Pick a starter model next.+ LU runs its own engine on your machine — nothing to install. Pick a starter model next.</p><buttondiff --git a/src/components/settings/MemorySettings.tsx b/src/components/settings/MemorySettings.tsxindex aca30306..12fe6b40 100644--- a/src/components/settings/MemorySettings.tsx+++ b/src/components/settings/MemorySettings.tsx@@ -115,7 +115,7 @@ export function MemorySettings() {setImportMsg(count > 0? `Imported ${count} ${count === 1 ? 'memory' : 'memories'}.`- : 'No memories found in that file. Use a Locally Uncensored .md or .json export (JSON needs an "entries" or "memories" array).',+ : 'No memories found in that file. Use an LU .md or .json export (JSON needs an "entries" or "memories" array).',)}reader.onerror = () => setImportMsg('Could not read that file.')diff --git a/src/components/ui/ErrorBoundary.tsx b/src/components/ui/ErrorBoundary.tsxindex d7357601..561c1b81 100644--- a/src/components/ui/ErrorBoundary.tsx+++ b/src/components/ui/ErrorBoundary.tsx@@ -59,7 +59,7 @@ export class ErrorBoundary extends Component<Props, State> {return (<div style={overlay}><AlertCircle size={28} color="#f87171" />- <div style={{ fontSize: 18, fontWeight: 600 }}>Locally Uncensored hit a problem</div>+ <div style={{ fontSize: 18, fontWeight: 600 }}>LU hit a problem</div><div style={{fontSize: 12, color: '#9ca3af', maxWidth: 560, maxHeight: 160, overflow: 'auto',whiteSpace: 'pre-wrap', wordBreak: 'break-word', textAlign: 'left',diff --git a/src/hooks/useAgentChat.ts b/src/hooks/useAgentChat.tsindex d4f066f0..49e97970 100644--- a/src/hooks/useAgentChat.ts+++ b/src/hooks/useAgentChat.ts@@ -1485,7 +1485,7 @@ export function extractMediaPrompt(text: string): string {}function buildAgentSystemPrompt(basePrompt: string): string {- const agentInstructions = `You are an autonomous AI agent inside Locally Uncensored with full access to this computer. You execute tasks end-to-end by using tools — you do NOT just describe what to do.+ const agentInstructions = `You are an autonomous AI agent inside LU with full access to this computer. You execute tasks end-to-end by using tools — you do NOT just describe what to do.Available tools:- Filesystem: file_read, file_write, file_list, file_search@@ -1533,7 +1533,7 @@ Other rules:// have a limited instruction-following budget. Keep only what a small model// needs to ACT — same tool names + native call format as the full prompt.function buildAgentSystemPromptLean(basePrompt: string): string {- const lean = `You are an autonomous agent in Locally Uncensored with tools on this computer. Do tasks by CALLING tools — do not just describe them.+ const lean = `You are an autonomous agent in LU with tools on this computer. Do tasks by CALLING tools — do not just describe them.Tools: file_read, file_write, file_list, file_search, web_search, web_fetch, shell_execute, code_execute, system_info, get_current_time, image_generate, video_generate.@@ -1555,7 +1555,7 @@ Rules:* chat into an agent. Kept short so it doesn't crowd a small model's context.*/function buildChatToolsSystemPrompt(basePrompt: string): string {- const p = `You are a helpful chat assistant in Locally Uncensored, having a normal conversation. You also have a few tools for things you cannot do from memory — use one ONLY when the user's request actually needs it, otherwise just reply normally:+ const p = `You are a helpful chat assistant in LU, having a normal conversation. You also have a few tools for things you cannot do from memory — use one ONLY when the user's request actually needs it, otherwise just reply normally:- web_search — look up current/real-world facts (returns short snippets)- web_fetch — read a specific web page or URL (after a search, or when the user gives a link)- file_write — save text to a file when the user asks you to write/create/save a filediff --git a/src/hooks/useCodex.ts b/src/hooks/useCodex.tsindex 689719a8..f23254e5 100644--- a/src/hooks/useCodex.ts+++ b/src/hooks/useCodex.ts@@ -56,7 +56,7 @@ function diagLog(_tag: string, _data: unknown): void {// framing for a read-only reviewer and would fight the executor gate. The// list-stripping below (REVIEW_MODE_FORBIDDEN_TOOLS) still enforces// read-only programmatically even if the model tries a write tool anyway.-const CODEX_REVIEW_SYSTEM_PROMPT = `You are the Coding Agent in REVIEW MODE — a read-only code reviewer inside Locally Uncensored. You DO NOT modify any files, run any commands, or change any state. Your job is to read code with file_read / file_list / file_search / git_diff / git_log and return INLINE COMMENTS only.+const CODEX_REVIEW_SYSTEM_PROMPT = `You are the Coding Agent in REVIEW MODE — a read-only code reviewer inside LU. You DO NOT modify any files, run any commands, or change any state. Your job is to read code with file_read / file_list / file_search / git_diff / git_log and return INLINE COMMENTS only.REVIEW MODE CONTRACT (binding):- You MAY call: file_read, file_list, file_search, git_status, git_log, git_diff, system_info, process_list, get_current_time, web_fetch, web_search.@@ -64,7 +64,7 @@ REVIEW MODE CONTRACT (binding):- Output format: a markdown report with sections "## Summary", "## Findings (priority order)", "## Suggested follow-ups". For each finding cite the file + line range (path:line or path:start-end).- Be direct. No flattery, no boilerplate. If the code is fine, say so in one sentence and stop.`-const CODEX_SYSTEM_PROMPT = `You are the Coding Agent, an autonomous coding agent inside Locally Uncensored. You execute coding tasks end-to-end by reading files, writing code, and running shell commands. You MUST use tools — never guess file contents.+const CODEX_SYSTEM_PROMPT = `You are the Coding Agent, an autonomous coding agent inside LU. You execute coding tasks end-to-end by reading files, writing code, and running shell commands. You MUST use tools — never guess file contents.AUTONOMY CONTRACT (read carefully):- You are expected to COMPLETE multi-step tasks without the user prompting between steps.@@ -98,7 +98,7 @@ Rules:// workflow prose costs more than it buys. Keep only the essentials and stay// faithful to the native tool-call format. Selected at the injection point// below when settings.smallModelMode is on (review mode still wins).-const CODEX_SYSTEM_PROMPT_LEAN = `You are a coding agent in Locally Uncensored. Use tools to do the work — never guess file contents.+const CODEX_SYSTEM_PROMPT_LEAN = `You are a coding agent in LU. Use tools to do the work — never guess file contents.Rules:- Read a file before you edit it.diff --git a/src/lib/chat-export.ts b/src/lib/chat-export.tsindex 62e186f3..221ca098 100644--- a/src/lib/chat-export.ts+++ b/src/lib/chat-export.ts@@ -197,7 +197,7 @@ export function parseImportedChats(json: string): Conversation[] {} else if (data && typeof data === 'object' && Array.isArray((data as { messages?: unknown[] }).messages)) {raw = [data] // a single per-chat export} else {- throw new Error('No conversations found in that file. Use a Locally Uncensored chat export (.json).')+ throw new Error('No conversations found in that file. Use an LU chat export (.json).')}const valid = raw.filter((c): c is Conversation =>diff --git a/src/lib/fatal-error.ts b/src/lib/fatal-error.tsindex 5bacd89b..6780ab2d 100644--- a/src/lib/fatal-error.ts+++ b/src/lib/fatal-error.ts@@ -77,7 +77,7 @@ export function mountFatalError(rootEl: HTMLElement, err: unknown): void {'<div style="position:fixed;inset:0;display:flex;flex-direction:column;align-items:center;' +'justify-content:center;gap:14px;background:#171717;color:#e5e5e5;' +'font-family:system-ui,-apple-system,sans-serif;padding:24px;text-align:center">' +- '<div style="font-size:18px;font-weight:600">Locally Uncensored couldn’t start</div>' ++ '<div style="font-size:18px;font-weight:600">LU couldn’t start</div>' +'<div style="font-size:12px;color:#9ca3af;max-width:560px;max-height:160px;overflow:auto;' +'white-space:pre-wrap;word-break:break-word;text-align:left;background:rgba(0,0,0,0.3);' +'padding:10px;border-radius:8px">' + escapeHtml(message) + '</div>' +