Skip to content

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.

chore: remove internal/marketing files from repo

PurpleDoubleD5690adf65c60
diff --git a/.gitignore b/.gitignore
index 8f70dfa6..4d470bef 100644
--- a/.gitignore
+++ b/.gitignore
@@ -33,11 +33,17 @@ src-tauri/target/
.claude/
# Private/internal docs (not for public repo)
+CLAUDE.md
MARKETING_PLAN.md
MARKET_RESEARCH*.md
PROMOTION_PLAN.md
ROADMAP*.md
marketing/
+logo-concepts/
+landing-page/
+docs/blog/devto-*.md
+docs/reddit-*.md
+docs/screenshots/marketing_*
# OS
Thumbs.db
diff --git a/CLAUDE.md b/CLAUDE.md
deleted file mode 100644
index 5f0d6234..00000000
--- a/CLAUDE.md
+++ /dev/null
@@ -1,138 +0,0 @@
-# CLAUDE.md — Locally Uncensored
-
-## Project Overview
-
-Local-first AI desktop app: Chat + Image Generation + Video Generation in one UI. No cloud, no censorship, no tracking.
-
-- **Stack**: React 19 + TypeScript + Tailwind CSS 4 + Vite 8 + Tauri 2 (Rust)
-- **State**: Zustand with localStorage persistence
-- **AI Backends**: Ollama (text/chat), ComfyUI (images/video)
-- **Repo**: github.com/PurpleDoubleD/locally-uncensored
-
-## Architecture
-
-```
-src/
- api/ — Backend abstraction, ComfyUI API, dynamic workflows, model discovery
- components/ — React components (chat, create, models, agents, settings, layout, ui)
- hooks/ — React hooks (useCreate, useChat, useModels, useAgent, useVoice)
- stores/ — Zustand stores (createStore, chatStore, workflowStore, etc.)
- types/ — TypeScript type definitions
- lib/ — Utilities (formatters, privacy helpers)
-src-tauri/ — Rust backend (Tauri commands for ComfyUI, Ollama, downloads)
-vite.config.ts — Dev server with ComfyUI launcher, API proxies, middleware
-docs/ — Static landing pages and blog (GitHub Pages)
-```
-
-## Key Files
-
-| File | Purpose |
-|------|---------|
-| `src/api/comfyui.ts` | ComfyUI API: model fetching, workflow builders (legacy), submission, history |
-| `src/api/comfyui-nodes.ts` | Node discovery via `/object_info`, caching, categorization |
-| `src/api/dynamic-workflow.ts` | Dynamic workflow builder — replaces hardcoded builders |
-| `src/api/workflows.ts` | Workflow Finder: CivitAI search, import, parameter injection |
-| `src/api/discover.ts` | Model marketplace: bundles, CivitAI model search, downloads |
-| `src/api/backend.ts` | Dual-mode abstraction (Vite dev → `/local-api/*`, Tauri → `invoke()`) |
-| `src/hooks/useCreate.ts` | Image/video generation flow: build workflow → submit → poll → gallery |
-| `src/stores/createStore.ts` | Generation params, gallery, prompt history |
-| `src/stores/workflowStore.ts` | Installed workflows, model-to-workflow assignments, CivitAI API key |
-| `src/components/create/CreateView.tsx` | Main generation UI (output top, prompt bottom) |
-| `src/components/create/ParamPanel.tsx` | Right sidebar: model, sampler, steps, size, seed |
-| `src/components/create/WorkflowFinder.tsx` | Workflow selection + search modal trigger |
-| `vite.config.ts` | ComfyUI auto-start, POST proxy (Vite 8 workaround), download proxy, image proxy |
-
-## ComfyUI Integration
-
-- **Connection**: `localhost:8188`, auto-discovered and auto-started
-- **POST Proxy**: Custom middleware in vite.config.ts because Vite 8 blocks POST through standard proxy
-- **Model Types**: `flux | flux2 | sdxl | sd15 | wan | hunyuan | unknown`
-- **Dynamic Builder**: Queries `/object_info` for all 600+ nodes, auto-selects strategy (unet_flux, unet_video, checkpoint, animatediff)
-- **Legacy Builders**: `buildSDXLImgWorkflow`, `buildFluxImgWorkflow`, `buildWanVideoWorkflow`, `buildAnimateDiffWorkflow` — kept as fallback
-- **VAE/CLIP Resolution**: `findMatchingVAE()` and `findMatchingCLIP()` match by model type keywords (flux→ae/flux, wan→wan, hunyuan→hunyuanvideo/qwen)
-
-## Generation Flow
-
-```
-User clicks Generate
-→ classifyModel(filename) — always fresh, never from stale store
-→ Check workflowStore for custom workflow assignment
- → If custom: injectParameters() + resolve VAE/CLIP
- → If incompatible (wrong loader type): skip, use auto
-→ buildDynamicWorkflow() — queries /object_info, picks strategy
- → Fallback: legacy builders if dynamic fails
-→ submitWorkflow() via localFetch to ComfyUI /prompt
-→ Poll /history/{promptId} every 1s
-→ On complete: extract outputs, show execution time, add to gallery
-```
-
-## Privacy Rules
-
-- **All external images** proxied through `/local-api/proxy-image` — external servers never see user IP
-- **All downloads** proxied through `/local-api/proxy-download` — follows redirects server-side
-- **No Google Fonts** — system fonts everywhere
-- **No CDN scripts** — PDF.js worker bundled locally
-- **No analytics/telemetry** — zero external tracking
-- **API keys** stored only in browser localStorage, never in code
-
-## Dev Commands
-
-```bash
-npm run dev # Start dev server (auto-starts Ollama + ComfyUI)
-npm run build # Production build
-npm run tauri:dev # Tauri dev mode
-npm run tauri:build # Build desktop .exe
-```
-
-## Conventions
-
-- **Language**: UI text in English, user communicates in German
-- **Dark Mode**: Deep blacks (`#0a0a0a` body, `#111111` header, `#0e0e0e` sidebar), not ChatGPT-grey
-- **Light Mode**: Full dual-mode support, all components have `dark:` variants
-- **Components**: Functional React, no class components
-- **Styling**: Tailwind utility classes, no CSS modules
-- **State**: Zustand stores with `persist` middleware for user data
-- **Commits**: Conventional commits (feat/fix/docs), Co-Authored-By Claude
-- **No emojis** in code/UI unless explicitly requested
-- **Default View**: Model Manager (not Chat) — configured in `uiStore.ts`
-
-## Tauri Production (.exe) — CRITICAL
-
-Every feature that works in dev mode MUST also work in the Tauri .exe. The #1 source of bugs:
-
-- **CORS blocking**: In Tauri, the WebView origin is `http://tauri.localhost`. Direct `fetch()` to `http://localhost:11434` or `http://localhost:8188` is blocked by CORS. ALL localhost calls MUST go through `localFetch()` / `localFetchStream()` from `backend.ts`, which routes through Rust `invoke('proxy_localhost')` in production.
-- **NEVER use `fetch(ollamaUrl(...))` or `fetch(comfyuiUrl(...))`** — always use `localFetch(ollamaUrl(...))` or `localFetch(comfyuiUrl(...))`
-- **CSP must include `http://ipc.localhost`** — Tauri IPC uses this origin, CSP blocks invoke() without it
-- **Dual-mode routing**: `src/api/backend.ts` routes `backendCall()` to Vite middleware (dev) or Rust `invoke()` (production)
-- **External API calls**: NEVER use `fetch('/civitai-api/...')` directly. Use `fetchExternal()` from `backend.ts`
-- **New Vite middleware = new Rust command**: If you add a `/local-api/*` endpoint to `vite.config.ts`, you MUST also implement the equivalent `#[tauri::command]` in `src-tauri/src/commands/`
-- **Endpoint map**: All dev-mode routes must be in the `endpointMap` in `backend.ts`
-- **Ollama URL**: `ollamaUrl()` returns `http://localhost:11434/api{path}` in Tauri (the `/api` prefix is required!)
-- **Download manager**: Uses `CancellationToken` for pause/cancel, `Range` header for resume. Downloads tracked in `Arc<Mutex<HashMap>>` shared between spawned task and progress endpoint
-- **Process stdout/stderr**: Always drain piped outputs in background threads or ComfyUI will deadlock
-- **ComfyUI path discovery**: Deep scans user home (depth 7), also checks running process. Falls back to manual path input in UI.
-- **Test the .exe**: After any backend change, verify with `cargo check` in `src-tauri/`
-
-## Model Bundles (Image + Video)
-
-Complete packages in `src/api/discover.ts` — "Install All" downloads everything needed:
-
-**Image (3):** Juggernaut XL V9 (SDXL), FLUX.1 schnell FP8, FLUX.1 dev FP8
-- SDXL: single checkpoint file (includes VAE+CLIP)
-- FLUX: 4 files each (UNET + VAE + T5-XXL + CLIP_L)
-
-**Video (3):** Wan 2.1 1.3B, Wan 2.1 14B FP8, HunyuanVideo 1.5 T2V FP8
-- Wan: 3 files (Model + VAE + UMT5)
-- HunyuanVideo: 4 files (Model + VAE + Qwen2.5 + CLIP_L)
-
-All URLs verified working (HTTP 200) from Comfy-Org / comfyanonymous HuggingFace repos.
-
-## Common Pitfalls
-
-- **Vite 8 POST blocking**: All POST to ComfyUI must go through the custom middleware in vite.config.ts, not the standard proxy
-- **HMR store drift**: After code changes, stores can have stale instances. Always test with full page reload (Ctrl+Shift+R)
-- **Model type from store**: Never trust `imageModelType` from createStore at generation time. Always re-classify with `classifyModel(filename)`
-- **CivitAI downloads**: Need API key (user enters in Workflow Finder). Downloads are ZIP archives, not raw JSON
-- **ComfyUI workflow formats**: Two formats exist — API format (`class_type` nodes) and Web/UI format (`nodes[]` + `links[]`). The app handles both via `convertWebToApiFormat()`
-- **CLIP/VAE fallback**: Never silently use wrong model type. Throw descriptive error with download instructions instead
-- **HunyuanVideo VAE/CLIP**: Uses `hunyuanvideo` VAE (not Wan VAE) and `qwen` text encoder (not UMT5). Matchers in `comfyui.ts` handle this separately.
diff --git a/docs/blog/devto-all-in-one-local-ai.md b/docs/blog/devto-all-in-one-local-ai.md
deleted file mode 100644
index 817735a5..00000000
--- a/docs/blog/devto-all-in-one-local-ai.md
+++ /dev/null
@@ -1,203 +0,0 @@
----
-title: "The All-in-One Local AI App: Chat + Images + Video Without the Cloud"
-published: false
-description: "Stop switching between Ollama, ComfyUI, and five browser tabs. Locally Uncensored is a single desktop app for AI chat, image generation, and video creation — 100% local, zero telemetry, no cloud required."
-tags: ai, opensource, privacy, selfhosted
-cover_image: https://raw.githubusercontent.com/PurpleDoubleD/locally-uncensored/master/docs/screenshots/create_dark.jpg
-canonical_url: https://github.com/PurpleDoubleD/locally-uncensored
----
-
-There's a point in every local AI enthusiast's journey where you realize you're juggling too many tools. Ollama for chat. ComfyUI for images (if you can get it working). Some other tool for video. A separate app for voice transcription. And none of them talk to each other.
-
-You end up with five terminal windows, three browser tabs, and a growing suspicion that this shouldn't be this hard.
-
-That's why I built **Locally Uncensored** — a single desktop app that does AI chat, image generation, and video creation. Everything runs on your machine. Nothing touches the cloud. No Docker required. You download a .exe, double-click it, and you're done.
-
-## The Problem: Death by a Thousand Tabs
-
-If you're running local AI today, your workflow probably looks something like this:
-
-1. Open a terminal, run `ollama serve`
-2. Open another terminal, navigate to your ComfyUI folder, activate the venv, run `python main.py`
-3. Open a browser tab for whatever chat UI you're using
-4. Open another browser tab for ComfyUI's node editor
-5. Realize you need a different model, open yet another tab to download it
-6. Wait, which folder does this model go in? `checkpoints`? `diffusion_models`? `unet`?
-7. The chat UI doesn't know about your image models. The image UI doesn't know about your chat models. Nothing is connected.
-
-This isn't a workflow. It's a chore list.
-
-And that's before we talk about privacy. Many "local" AI tools still phone home. They load fonts from Google CDN, pull scripts from third-party servers, send analytics data, or check for updates through services that log your IP. "Local" often just means "the inference is local."
-
-## The Solution: One App, Everything Local
-
-Locally Uncensored combines everything into a single app with three main views:
-
-**Chat** — Talk to AI using models from Ollama. 25+ built-in personas (Helpful Assistant, Creative Writer, Code Expert, Roast Master, and more). Full markdown rendering with syntax highlighting. Collapsible "thinking" blocks that show the AI's reasoning chain. Conversation history saved locally.
-
-**Create** — Generate images and videos using ComfyUI as the backend. Pick a model, type a prompt, adjust parameters, hit generate. The app auto-detects your installed models (checkpoints, diffusion models, VAEs) and builds the right workflow for your hardware. No node editing required.
-
-**Models** — Browse, install, and manage all your AI models in one place. Search CivitAI directly from the app. Download models with pause/resume support. One-click installation of curated model bundles. The app puts files in the right folders automatically.
-
-Everything runs through a native desktop app built with Tauri (Rust backend) and React. No browser, no terminal, no Docker, no Node.js runtime. Just a standalone binary.
-
-## How It Compares
-
-Here's an honest comparison with the tools most people are using:
-
-| Feature | Locally Uncensored | Open WebUI | LM Studio | SillyTavern |
-|---------|:--:|:--:|:--:|:--:|
-| AI Chat | Yes | Yes | Yes | Yes |
-| Image Generation | Yes | No | No | No |
-| Video Generation | Yes | No | No | No |
-| Uncensored by Default | Yes | No | No | Partial |
-| One-Click Setup | Yes | No (Docker) | Yes | No (Node.js) |
-| 25+ Built-in Personas | Yes | No | No | Manual |
-| CivitAI Marketplace | Yes | No | No | No |
-| Dynamic Workflow Builder | Yes | No | No | No |
-| Document Chat (RAG) | Yes | Yes | No | No |
-| Voice (STT + TTS) | Yes | Partial | No | No |
-| AI Agents | Yes | No | No | No |
-| Portable / No-Install | Yes | No | Yes | No |
-| No Docker Required | Yes | No | Yes | Yes |
-| 100% Offline Capable | Yes | Yes | Yes | Yes |
-| Open Source | Yes (MIT) | Yes | No | Yes |
-| Zero Telemetry | Yes | Yes | Unknown | Yes |
-
-The key differentiator: Locally Uncensored is the only open-source tool that combines text, image, and video generation in one interface. Others do one thing well but force you to context-switch for everything else.
-
-## What You Can Actually Do With It
-
-### Chat with 25+ Personas
-
-The app ships with over 25 personas, each with a distinct personality and system prompt. You're not stuck with a generic assistant. Pick the Coding Expert for programming help, the Creative Writer for stories, the Debate Champion for arguments, or the Roast Master if you want to be insulted by an AI. Each persona adjusts the AI's behavior, tone, and approach.
-
-You can use any Ollama-compatible model. The app recommends uncensored/abliterated models on first launch based on your hardware:
-
-| Model | Size | VRAM | Best For |
-|-------|------|------|----------|
-| Llama 3.1 8B Abliterated | 5.7 GB | 6 GB | Fast all-rounder |
-| Qwen3 8B Abliterated | 5.2 GB | 6 GB | Coding |
-| Mistral Nemo 12B Abliterated | 6.8 GB | 8 GB | Multilingual |
-| DeepSeek R1 8B Abliterated | 5 GB | 6 GB | Reasoning |
-| Qwen3 14B Abliterated | 9 GB | 12 GB | High intelligence |
-
-### Generate Images Without Node Graphs
-
-ComfyUI is powerful but intimidating. Its node-based editor is designed for experts who want total control. Most people just want to type a prompt and get an image.
-
-Locally Uncensored wraps ComfyUI with a clean UI: prompt box, model selector, parameter sliders (steps, CFG, resolution), and a generate button. Behind the scenes, the app queries ComfyUI's available nodes and dynamically builds the optimal workflow for your model type. It knows whether you're running SDXL, Flux, or Pony Diffusion and constructs the correct pipeline automatically.
-
-No node wiring. No workflow JSON files. No "which custom nodes do I need?" Just results.
-
-### Create Videos from Text
-
-Video generation works the same way. The app supports Wan 2.1/2.2 and AnimateDiff models. Select a video model, type a prompt, set your parameters, and generate. The app detects which video backend you have and constructs the workflow.
-
-| Model | VRAM | Output | Notes |
-|-------|------|--------|-------|
-| Wan 2.1 T2V 1.3B | 8-10 GB | 480p WEBP | Built-in nodes, no extras |
-| Wan 2.2 T2V 14B (FP8) | 10-12 GB | 480-720p | Higher quality |
-| AnimateDiff v3 + SD1.5 | 6-8 GB | MP4 | Requires AnimateDiff nodes |
-
-### Browse and Install Models from CivitAI
-
-The Model Marketplace lets you search CivitAI directly from the app. Find a model you like, click Install, and it downloads to the correct ComfyUI subfolder automatically. No more guessing whether a file goes in `checkpoints`, `diffusion_models`, `vae`, or `text_encoders`.
-
-Downloads support pause, resume, and cancellation. Models are often 2-10 GB, so the download manager tracks progress and speed in real-time. If your connection drops, resume from where you left off.
-
-### Model Bundles: One Click, Full Setup
-
-For new users, the Model Manager includes curated bundles. Click "Install All" on an image or video bundle and it downloads every model you need — checkpoint, VAE, text encoders, the works — to the right folders. You go from "I just installed the app" to "I'm generating images" in one click.
-
-### Upload Documents, Chat with Your Files
-
-The RAG (Retrieval-Augmented Generation) feature lets you upload PDFs, DOCX, or TXT files and ask questions about them. The app chunks your documents, creates embeddings locally, and uses them to ground the AI's responses in your actual data. No files leave your machine.
-
-### Talk to Your AI
-
-Push-to-talk voice input using faster-whisper (a local speech-to-text engine). Speak your prompt, see the live transcription, and get a response. Text-to-speech reads the AI's reply back to you. The entire voice pipeline runs locally — no Google, no Azure, no API keys.
-
-## The Privacy Angle
-
-"Local AI" tools often aren't as local as they claim. Here's what Locally Uncensored actually does:
-
-**Zero external tracking.** No Google Fonts (all fonts are bundled). No CDN scripts. No analytics. No telemetry. No update checks that log your IP.
-
-**All API calls proxied locally.** Every request to CivitAI, Ollama's model registry, or any external service goes through the Rust backend. The WebView never directly contacts external servers. This means your browser fingerprint, cookies, and session data are never exposed.
-
-**No accounts. No sign-in.** There's nothing to sign up for. No usage limits. No "free tier." No email capture. Download, run, use.
-
-**Data stays on disk.** Conversations are saved in your browser's localStorage. Models live in standard Ollama and ComfyUI directories. Settings are stored in your OS config folder. Everything is in files you control.
-
-**Open source under MIT.** You can audit every line of code. The Rust backend is ~500 lines across a handful of files. There's nowhere to hide a tracking pixel.
-
-This isn't privacy as a marketing checkbox. It's privacy as an architectural decision. The app was designed from day one to never need the internet after initial setup (model downloads aside).
-
-## Getting Started
-
-### Option 1: Download the Desktop App (Recommended)
-
-1. Go to [Releases](https://github.com/PurpleDoubleD/locally-uncensored/releases)
-2. Download the installer for your platform (.exe for Windows, .AppImage for Linux, .dmg for macOS)
-3. Install [Ollama](https://ollama.com/) if you don't have it
-4. Launch Locally Uncensored — it auto-starts Ollama and guides you through setup
-
-### Option 2: Run from Source
-
-```bash
-git clone https://github.com/PurpleDoubleD/locally-uncensored.git
-cd locally-uncensored
-npm install
-npm run dev
-```
-
-Open `http://localhost:5173`. The app recommends models on first launch.
-
-### Setting Up Image/Video Generation
-
-1. Open the **Create** tab
-2. If ComfyUI isn't found, click **"Install ComfyUI Automatically"** — it clones the repo, installs dependencies, and sets up CUDA
-3. Go to **Models > Discover** and install a model bundle
-4. Generate
-
-The entire ComfyUI setup happens inside the app. No terminal commands required.
-
-## What's Coming Next
-
-The roadmap includes:
-
-- Audio generation (text-to-speech, music)
-- Plugin system for community extensions
-- Custom persona creator
-- Multi-user mode for sharing your AI server at home
-- Mobile-responsive layout
-- Export/import for backups
-
-## Why Not Just Use ChatGPT?
-
-You absolutely can. ChatGPT is excellent. But:
-
-- Your conversations are stored on OpenAI's servers
-- You're subject to content policies and censorship
-- It costs money beyond the free tier
-- You need an internet connection
-- You can't control the model or its behavior at a system level
-
-Local AI gives you complete control. You pick the model. You set the rules. You own the data. And with abliterated/uncensored models, there are no artificial restrictions on what you can ask or generate.
-
-Locally Uncensored makes that accessible to people who don't want to be sysadmins. You don't need to know what a virtual environment is, or what port ComfyUI runs on, or how to write a ComfyUI workflow. You just need a GPU and an internet connection for the initial downloads.
-
-## Try It
-
-The project is open source under MIT: [github.com/PurpleDoubleD/locally-uncensored](https://github.com/PurpleDoubleD/locally-uncensored)
-
-Windows, Linux, and macOS builds are available on the [Releases page](https://github.com/PurpleDoubleD/locally-uncensored/releases).
-
-If you find it useful, a star on GitHub helps others discover it. If you hit a bug or have an idea, open an issue or join the [Discussions](https://github.com/PurpleDoubleD/locally-uncensored/discussions).
-
-Your AI, your machine, your rules.
-
----
-
-*Built by [David](https://github.com/PurpleDoubleD). Questions? Comments? Drop them below or open a GitHub discussion.*
diff --git a/docs/blog/devto-tauri-desktop-app.md b/docs/blog/devto-tauri-desktop-app.md
deleted file mode 100644
index 16fb6c2b..00000000
--- a/docs/blog/devto-tauri-desktop-app.md
+++ /dev/null
@@ -1,274 +0,0 @@
----
-title: "How I Built a Desktop AI App with Tauri v2 + React 19 in 2026"
-published: false
-description: "The technical story behind Locally Uncensored — a standalone desktop app for local AI chat, image, and video generation. CORS proxying in Rust, download managers with pause/resume, auto-discovery of ComfyUI, and everything I learned building a real Tauri v2 app."
-tags: tauri, rust, react, ai
-cover_image: https://raw.githubusercontent.com/PurpleDoubleD/locally-uncensored/master/docs/screenshots/chat_personas_dark.jpg
-canonical_url: https://github.com/PurpleDoubleD/locally-uncensored
----
-
-I wanted to build one app that does AI chat, image generation, and video generation — all running locally, no cloud, no Docker, no terminal. Just a .exe you download and run.
-
-The result is **Locally Uncensored** — a React 19 + TypeScript frontend with a Tauri v2 Rust backend that connects to Ollama for chat and ComfyUI for image/video generation. It ships as a standalone desktop app on Windows (.exe/.msi), Linux (.AppImage/.deb), and macOS (.dmg).
-
-This post covers the real technical challenges I hit and how I solved them. If you're building a Tauri app that talks to local services, manages large file downloads, or needs to auto-discover software on the user's machine, this is for you.
-
-## The Stack
-
-- **Frontend**: React 19, TypeScript, Tailwind CSS 4, Framer Motion, Zustand
-- **Desktop Shell**: Tauri v2 (Rust backend)
-- **Build**: Vite 8 (dev mode), Tauri CLI (production builds)
-- **AI Backends**: Ollama (text), ComfyUI (images/video), faster-whisper (voice)
-
-The app runs in two modes: `npm run dev` serves it in a browser with a Vite dev server, and `npm run tauri build` compiles it to a native binary with embedded WebView. Both modes need to talk to localhost services (Ollama on port 11434, ComfyUI on port 8188), and that's where things get interesting.
-
-## Challenge 1: CORS in a Desktop App
-
-Here's the problem nobody warns you about when building Tauri apps. In dev mode, your React app runs in a browser at `localhost:5173`. You can proxy requests to Ollama (`localhost:11434`) and ComfyUI (`localhost:8188`) through Vite's dev server. Easy.
-
-But in production mode, your app runs inside a WebView with the origin `tauri://localhost`. And WebViews enforce CORS just like browsers. Ollama and ComfyUI don't set CORS headers. Every single API call fails silently.
-
-The solution: route every localhost request through Rust.
-
-Here's the Rust proxy command that lives in the Tauri backend:
-
-```rust
-/// Generic localhost proxy — bypass CORS for Ollama/ComfyUI
-#[tauri::command]
-pub async fn proxy_localhost(
- url: String,
- method: Option<String>,
- body: Option<String>,
-) -> Result<String, String> {
- let client = reqwest::Client::builder()
- .user_agent("LocallyUncensored/1.5")
- .timeout(std::time::Duration::from_secs(300))
- .build()
- .map_err(|e| e.to_string())?;
-
- let http_method = method.unwrap_or_else(|| "GET".to_string());
-
- let mut request = match http_method.as_str() {
- "POST" => client.post(&url),
- "DELETE" => client.delete(&url),
- "PUT" => client.put(&url),
- _ => client.get(&url),
- };
-
- if let Some(body_str) = body {
- request = request
- .header("Content-Type", "application/json")
- .body(body_str);
- }
-
- let resp = request.send().await
- .map_err(|e| format!("proxy_localhost: {}", e))?;
-
- resp.text().await.map_err(|e| e.to_string())
-}
-```
-
-On the frontend, I built an abstraction layer that detects whether we're in Tauri or browser mode and routes accordingly:
-
-```typescript
-/** True when running inside a Tauri WebView (.exe) */
-export function isTauri(): boolean {
- return !!(window as any).__TAURI__;
-}
-
-/**
- * Fetch a localhost URL, bypassing CORS in Tauri mode.
- * In dev mode: normal fetch(). In Tauri: routes through Rust.
- */
-export async function localFetch(
- url: string,
- options?: { method?: string; body?: string }
-): Promise<Response> {
- if (!isTauri()) {
- return fetch(url, {
- method: options?.method || "GET",
- body: options?.body,
- });
- }
-
- const invoke = await getInvoke();
- const text = await invoke("proxy_localhost", {
- url,
- method: options?.method || "GET",
- body: options?.body || null,
- }) as string;
-
- return new Response(text, {
- status: 200,
- headers: { "Content-Type": "application/json" },
- });
-}
-```
-
-Every API call in the app goes through `localFetch()` or its streaming counterpart `localFetchStream()`. The frontend code doesn't care whether it's running in a browser or a .exe — the abstraction handles it.
-
-I also needed separate proxies for external URLs (CivitAI API, model downloads) and streaming responses (Ollama's chat endpoint returns newline-delimited JSON). That's four proxy commands in total: `proxy_localhost`, `proxy_localhost_stream`, `fetch_external`, and `fetch_external_bytes`.
-
-## Challenge 2: Download Manager with Pause/Resume
-
-Users download AI models that are 2-10 GB. Downloads fail. Internet drops. You can't just start over. The app needed a real download manager.
-
-The Rust backend manages downloads with `tokio::spawn` for async background tasks and `CancellationToken` for pause/cancel support. The key insight: pause and cancel both use the same cancellation mechanism, but the download loop checks a status flag to distinguish them.
-
-```rust
-pub struct AppState {
- pub downloads: Arc<Mutex<HashMap<String, DownloadProgress>>>,
- pub download_tokens: Arc<Mutex<HashMap<String, CancellationToken>>>,
- // ...
-}
-```
-
-Each download gets a `CancellationToken`. When the user pauses, we set the status to `"pausing"` then cancel the token. The download loop sees `"pausing"` and keeps the temp file. When the user cancels, the status stays as-is and we delete the temp file.
-
-Resume support uses HTTP Range headers:
-
-```rust
-// Check for existing partial download
-let tmp_path = dest_file.with_extension("download");
-let resume_offset = if tmp_path.exists() {
- tmp_path.metadata().map(|m| m.len()).unwrap_or(0)
-} else {
- 0
-};
-
-// Resume from where we left off
-if resume_offset > 0 {
- request = request.header("Range", format!("bytes={}-", resume_offset));
-}
-```
-
-The download writes to a `.download` temp file and only renames it to the final filename when complete. This means a crashed download never leaves a corrupt model file — the app detects the `.download` file and offers to resume on next launch.
-
-Progress updates go to the frontend at 500ms intervals via a polling endpoint (`download_progress`), which returns the full state of all active downloads as a JSON map.
-
-## Challenge 3: Auto-Discovering ComfyUI
-
-ComfyUI can be installed anywhere. In their home folder, on the Desktop, inside Stability Matrix's AppData folder, on a D: drive. Users don't want to manually enter paths.
-
-I wrote a recursive filesystem scanner in Rust that looks for ComfyUI in a priority order:
-
-1. **Environment variable** (`COMFYUI_PATH`) — explicit override
-2. **App config file** — remembered from a previous session
-3. **Deep scan of home directory** — recurse up to 7 levels deep
-4. **Fixed common locations** — `~/ComfyUI`, `~/Desktop/ComfyUI`, Stability Matrix AppData paths, `C:\ComfyUI`, `D:\ComfyUI`, etc.
-5. **Broad recursive scan** — Desktop, Documents, Downloads, and drive roots at 5 levels
-
-The scanner identifies ComfyUI by checking for `main.py` in each directory named "ComfyUI" (case-insensitive). It skips `node_modules`, `.git`, `venv`, `Windows`, `Program Files`, and other irrelevant directories to keep it fast.
-
-```rust
-fn scan_for_comfyui(dir: &Path, depth: u32) -> Option<PathBuf> {
- if depth == 0 { return None; }
- let entries = match fs::read_dir(dir) {
- Ok(e) => e,
- Err(_) => return None,
- };
- for entry in entries.flatten() {
- if !entry.file_type().map(|ft| ft.is_dir()).unwrap_or(false) {
- continue;
- }
- let name = entry.file_name();
- let name_str = name.to_string_lossy();
- if name_str.starts_with('.') || SKIP_DIRS.contains(&name_str.as_ref()) {
- continue;
- }
- let full = entry.path();
- // Check if this directory IS ComfyUI
- if name_str.eq_ignore_ascii_case("comfyui")
- && full.join("main.py").exists()
- {
- return Some(full);
- }
- if let Some(found) = scan_for_comfyui(&full, depth - 1) {
- return Some(found);
- }
- }
- None
-}
-```
-
-Once found, the path is saved to a config file (`%APPDATA%/locally-uncensored/config.json`) so subsequent launches are instant.
-
-## Challenge 4: Auto-Starting Everything
-
-A desktop app should "just work." When you double-click the .exe, it should start Ollama, start ComfyUI, start the Whisper server, and show you the UI. No terminal, no commands.
-
-Tauri's `setup` hook runs before the window opens:
-
-```rust
-.setup(|app| {
- let state = app.state::<AppState>();
-
- // Auto-start Ollama
- commands::process::auto_start_ollama(&state);
-
- // Auto-start ComfyUI (finds it automatically)
- commands::process::auto_start_comfyui(&state);
-
- // Start Whisper server in background
- commands::whisper::auto_start_whisper(app.handle(), &state);
-
- Ok(())
-})
-```
-
-The `auto_start_comfyui` function first checks if ComfyUI is already running (by pinging `localhost:8188`), finds the path if not already known, then spawns it as a child process. stdout and stderr get drained in background threads to prevent buffer deadlock — a subtle bug that caused random freezes during early development.
-
-When the app closes, the `Drop` implementation on `AppState` kills the ComfyUI process tree (using `taskkill /T /F` on Windows to kill child processes too) and stops the Whisper server. No orphan processes.
-
-## Challenge 5: The Backend Abstraction Layer
-
-The trickiest architectural decision was making every feature work in both dev mode (browser) and production mode (Tauri .exe). The `backend.ts` module maps Tauri commands to Vite API endpoints:
-
-```typescript
-export async function backendCall<T = any>(
- command: string,
- args?: Record<string, unknown>
-): Promise<T> {
- if (isTauri()) {
- const invoke = await getInvoke();
- return invoke(command, args || {}) as Promise<T>;
- }
-
- // Dev mode: map command name to /local-api/ endpoint
- const endpointMap: Record<string, { path: string; method?: string }> = {
- start_comfyui: { path: "/local-api/start-comfyui", method: "POST" },
- comfyui_status: { path: "/local-api/comfyui-status" },
- download_model: { path: "/local-api/download-model", method: "POST" },
- download_progress: { path: "/local-api/download-progress" },
- // ... 20+ more commands
- };
-
- const endpoint = endpointMap[command];
- const res = await fetch(endpoint.path, { method: endpoint.method || "GET" });
- return res.json();
-}
-```
-
-In dev mode, a Vite middleware plugin implements all these endpoints using Node.js. In production, the Rust backend handles them natively. The React components call `backendCall("download_model", { url, subfolder, filename })` and never know the difference.
-
-## What I'd Do Differently
-
-**True streaming in Tauri.** The current `proxy_localhost_stream` command buffers the entire response before returning it. For Ollama chat, this means you don't see tokens arriving in real-time in the .exe build (they all arrive at once). Tauri v2 supports events for this, but it requires a different architecture. I'd build a proper event-based streaming layer from day one.
-
-**Unified process management.** I ended up with separate code for starting Ollama, ComfyUI, and Whisper. They all follow the same pattern: check if running, find the binary, spawn, drain stdio, store the handle. A generic `ManagedProcess` struct would clean this up.
-
-**CSP configuration.** Tauri's Content Security Policy for the WebView was painful to get right. You need to whitelist every domain you might fetch from (CivitAI, Hugging Face, Ollama), every localhost port, every WebSocket URL. I ended up with a massive CSP string in `tauri.conf.json`. Start a CSP allowlist early and add to it as you go.
-
-## The Result
-
-Locally Uncensored ships as a single .exe that auto-starts Ollama + ComfyUI, auto-discovers models, and gives you chat + image + video generation with 25+ personas in one UI. No Docker, no terminal, no Node.js.
-
-The Tauri binary is under 15 MB. The Rust backend handles CORS proxying, file downloads with pause/resume, process lifecycle management, filesystem scanning, and code execution for the AI agent feature. It does all of this with zero external runtime dependencies.
-
-If you're building a desktop app that talks to local services, I'd strongly recommend Tauri v2. The `#[tauri::command]` system is excellent for bridging Rust and TypeScript. Just be prepared for the CORS proxy pattern — you'll need it for anything that talks to localhost.
-
-The project is open source under MIT: [github.com/PurpleDoubleD/locally-uncensored](https://github.com/PurpleDoubleD/locally-uncensored)
-
----
-
-*Have questions about the Tauri architecture or hit similar challenges? Drop a comment or open a discussion on GitHub.*
diff --git a/docs/reddit-subreddit-research.md b/docs/reddit-subreddit-research.md
deleted file mode 100644
index 4534b9c0..00000000
--- a/docs/reddit-subreddit-research.md
+++ /dev/null
@@ -1,110 +0,0 @@
-# Reddit Subreddit Research for Locally Uncensored
-
-**Last Updated:** 2026-04-02
-**Project:** Locally Uncensored — open-source local AI app (chat + image gen + video gen, privacy-first, MIT license, Tauri + React + Ollama + ComfyUI)
-**Reddit Account:** u/GroundbreakingMall54 (NOTE: banned from r/Revit — skip that sub)
-
----
-
-## Tier 1: Primary Targets (High Relevance + Large Audience)
-
-| Subreddit | Subscribers | Self-Promo Allowed? | Day/Timing Rules | Flair/Tag | Notes |
-|-----------|------------|---------------------|------------------|-----------|-------|
-| r/selfhosted | 731K | YES — "New Project Friday" only | **Fridays only** for projects < 3 months old. Must flair as "New Project Friday". General self-promo must follow Reddit 9:1 rule. | `New Project Friday` or `Software Development` | Perfect fit. Post on Friday. Emphasize self-hosted/local angle. Must be an active community member, not just self-promo. |
-| r/LocalLLaMA | 671K | YES — with 1/10th rule | Anytime, but self-promo should be ≤10% of your posts. Search before posting (Rule 1). | `New Model` / `Discussion` / `Resources` | Top target. Emphasize Ollama integration, local LLM focus. Very receptive to open-source local AI tools. |
-| r/StableDiffusion | 920K | YES — cautiously | Anytime. No excessive self-promo. Must be open-source/local AI related (Rule 1). | `Workflow` / `Tool/Workflow` / `Resource` | Great fit — emphasize ComfyUI frontend, local image/video gen. Show example outputs. |
-| r/comfyui | 180K | YES — appears open | No specific day restrictions found. Community-run, share tips/tricks/workflows. | None required | Direct target audience. Highlight ComfyUI integration, unified interface angle. |
-| r/ollama | 108K | YES — appears open | No specific rules listed. Small but growing community. | None found | Direct target. This is THE Ollama community. Show how the app wraps Ollama. |
-| r/opensource | 340K | YES — with `Promotional` flair | Anytime. Must use correct flair. No drive-by posting — need existing account activity. Code must have LICENSE file. | `Promotional` (required for self-promo) | Good fit. Emphasize MIT license, open-source ethos. Must not be karma farming. |
-
-## Tier 2: Strong Secondary Targets
-
-| Subreddit | Subscribers | Self-Promo Allowed? | Day/Timing Rules | Flair/Tag | Notes |
-|-----------|------------|---------------------|------------------|-----------|-------|
-| r/sideproject | 671K | YES — that's the whole point | Anytime. Built for sharing side projects. | None required | Easy win. Share project, ask for feedback. Very welcoming to builders. |
-| r/artificial | 1.24M | YES — with conditions | First post must be pre-approved (see wiki self-promo guidelines). No selling. Not an AI art gallery. | `Discussion` / `News` | Large audience but strict. First self-promo post needs approval. Emphasize the tool, not AI art. |
-| r/ArtificialInteligence | 1.75M | YES — builders welcome with substance | Anytime. Must: disclose affiliation, include 150+ word technical breakdown (approach, benefits, limitations). | `Project` / `Discussion` / `Research` | Great audience. Requires substantive post with technical depth. Write a proper breakdown. |
-| r/degoogle | 451K | MAYBE — requires mod pre-approval | Must disclose marketing to mods before posting. Prefer open-source alternatives. | None specific | Good fit for privacy angle. Contact mods first. Emphasize open-source, local, no cloud. |
-| r/MachineLearning | 3.03M | LIMITED — no paid product promo | No self-promo of paid products, but open-source tools with links are OK. | `[P]` (Project) / `[D]` (Discussion) | Huge audience but academic-leaning. Use `[P]` tag in title. Focus on technical merit. |
-| r/generativeAI | 84K | Likely yes | No specific restrictions found. | Varies | Smaller but relevant. Good for discussing the generative AI toolchain. |
-
-## Tier 3: Niche / Angle-Specific Targets
-
-| Subreddit | Subscribers | Self-Promo Allowed? | Day/Timing Rules | Flair/Tag | Notes |
-|-----------|------------|---------------------|------------------|-----------|-------|
-| r/tauri | 5.8K | YES — appears open | No specific rules listed. Small community. | None | Very niche but relevant for Tauri devs. Share technical details about Tauri implementation. |
-| r/webdev | 3.22M | YES — Saturdays only | **"Showoff Saturday" only** for sharing projects/portfolios. | `Showoff Saturday` | Huge audience. Must wait for Saturday. Focus on frontend/tech stack. |
-| r/reactjs | 498K | LIMITED | "Portfolio Sunday" for showcases. Must conform to guidelines. Commercial activity restricted. | `Portfolio Sunday` / `Show /r/reactjs` | Post on Sunday. Focus on React implementation details. |
-| r/rust | 396K | MAYBE | Must reference Rust. On-topic requirement. No low-effort. | None specific | Post about Tauri/Rust backend angle specifically. Must be substantive, not just promo. |
-| r/homelab | 990K | Likely yes for tools | Generally welcoming of self-hosted tools. | Varies | Angle: "run your own AI lab at home." |
-| r/LLMDevs | 140K | Likely yes | For developers building with LLMs. | Varies | Good for technical audience. Emphasize developer experience. |
-| r/foss | 32K | YES | Small but dedicated FOSS community. | None | Emphasize MIT license, open-source philosophy. |
-| r/ChatGPTCoding | 368K | Likely yes | Share creations and tools. | Varies | Angle: "local alternative to cloud-based coding assistants." |
-
-## Tier 4: Probably Skip / Restricted
-
-| Subreddit | Subscribers | Self-Promo Allowed? | Reason to Skip |
-|-----------|------------|---------------------|----------------|
-| r/privacy | 1.60M | **NO — posts about apps ON HOLD (Rule R13)** | Currently blocking all app promotion posts, including open-source. Do not post here. |
-| r/privacytoolsIO | 213K | Unknown — stale community | Successor community moved to r/privacyguides which is closed. Original sub may be dead/inactive. |
-| r/privacyguides | 93K | **CLOSED** — subreddit shut down in protest | Redirects to discuss.privacyguides.net. Cannot post. |
-| r/commandline | — | N/A | Not relevant — this is a desktop GUI app, not a CLI tool. Skip. |
-| r/linux | 1.84M | Strict — news only | Primarily for Linux news, not software showcases. |
-
----
-
-## Posting Strategy Summary
-
-### Day-of-Week Schedule
-
-| Day | Subreddits to Post |
-|-----|-------------------|
-| **Monday** | r/LocalLLaMA, r/ollama, r/sideproject, r/opensource |
-| **Tuesday** | r/ArtificialInteligence, r/StableDiffusion, r/comfyui |
-| **Wednesday** | r/MachineLearning, r/LLMDevs, r/tauri |
-| **Thursday** | r/artificial (if pre-approved), r/degoogle (if mod-approved), r/foss |
-| **Friday** | **r/selfhosted** (New Project Friday — MUST be this day) |
-| **Saturday** | **r/webdev** (Showoff Saturday — MUST be this day) |
-| **Sunday** | **r/reactjs** (Portfolio Sunday), r/homelab, r/rust |
-
-### Key Rules to Follow
-
-1. **r/selfhosted**: ONLY post on Fridays. Use "New Project Friday" flair. Project must be < 3 months since first public presence.
-2. **r/ArtificialInteligence**: Must include 150+ word technical breakdown with approach, benefits, and limitations. Disclose you're the creator.
-3. **r/MachineLearning**: Use `[P]` prefix in title (e.g., `[P] Locally Uncensored — open-source local AI desktop app`).
-4. **r/opensource**: Use `Promotional` flair. Must not be a drive-by post — have other Reddit activity first.
-5. **r/privacy**: DO NOT POST — app posts are currently on hold per Rule R13.
-6. **r/degoogle**: Contact mods BEFORE posting to disclose it's a project you're promoting.
-7. **r/artificial**: First self-promo post must follow their wiki guidelines. May need pre-approval.
-8. **r/webdev**: ONLY on Showoff Saturday.
-9. **r/reactjs**: ONLY on Portfolio Sunday.
-10. **Reddit-wide 9:1 rule**: For every self-promotional post, have ~9 non-promotional contributions (comments, other posts).
-
-### Recommended Post Angles by Subreddit
-
-| Subreddit | Angle |
-|-----------|-------|
-| r/selfhosted | "Self-hosted AI chat + image/video gen — no cloud, no subscriptions" |
-| r/LocalLLaMA | "All-in-one local AI app: Ollama chat + ComfyUI image/video gen in one UI" |
-| r/StableDiffusion | "Free desktop app that wraps ComfyUI with a clean UI for image & video gen" |
-| r/comfyui | "Built a desktop app frontend for ComfyUI — drag-free image/video generation" |
-| r/ollama | "Desktop app that combines Ollama chat with ComfyUI image gen" |
-| r/opensource | "MIT-licensed local AI suite — chat, image gen, video gen, 100% private" |
-| r/sideproject | "Built an open-source desktop app for running AI locally — no cloud needed" |
-| r/MachineLearning | "[P] Open-source desktop app for local LLM inference + image/video generation" |
-| r/ArtificialInteligence | Technical breakdown of architecture: Tauri + React + Ollama + ComfyUI |
-| r/degoogle | "Run AI locally: no Google, no cloud, no data collection" |
-| r/tauri | "Built a full AI desktop app with Tauri — lessons learned" |
-| r/webdev | "Built with Tauri + React: a desktop AI app (Showoff Saturday)" |
-| r/reactjs | "React frontend for local AI — Ollama + ComfyUI integration" |
-| r/rust | "Tauri + Rust backend for a local AI desktop app" |
-
----
-
-## Additional Notes
-
-- **Account Health**: u/GroundbreakingMall54 should build karma with genuine comments/contributions in target subs BEFORE posting promotional content.
-- **Spacing**: Don't post to all subs on the same day. Spread across 1-2 weeks. Reddit anti-spam will flag rapid cross-posting.
-- **Screenshots/Video**: Most subs respond better to posts with screenshots, GIFs, or demo videos. Prepare these in advance.
-- **GitHub Link**: Always include the GitHub repo link. Open-source proof is required for r/opensource, r/StableDiffusion, and expected everywhere else.
-- **Banned from r/Revit**: Not relevant to this project anyway. Just avoid that sub entirely.
diff --git a/docs/screenshots/marketing_01_hero.png b/docs/screenshots/marketing_01_hero.png
deleted file mode 100644
index 51244a7b..00000000
Binary files a/docs/screenshots/marketing_01_hero.png and /dev/null differ
diff --git a/docs/screenshots/marketing_01_hero.webp b/docs/screenshots/marketing_01_hero.webp
deleted file mode 100644
index e8993970..00000000
Binary files a/docs/screenshots/marketing_01_hero.webp and /dev/null differ
diff --git a/docs/screenshots/marketing_03_chat_personas.png b/docs/screenshots/marketing_03_chat_personas.png
deleted file mode 100644
index 6dc73fb1..00000000
Binary files a/docs/screenshots/marketing_03_chat_personas.png and /dev/null differ
diff --git a/docs/screenshots/marketing_03_chat_personas.webp b/docs/screenshots/marketing_03_chat_personas.webp
deleted file mode 100644
index eb964f25..00000000
Binary files a/docs/screenshots/marketing_03_chat_personas.webp and /dev/null differ
diff --git a/docs/screenshots/marketing_06_create_view.png b/docs/screenshots/marketing_06_create_view.png
deleted file mode 100644
index 4f599169..00000000
Binary files a/docs/screenshots/marketing_06_create_view.png and /dev/null differ
diff --git a/docs/screenshots/marketing_06_create_view.webp b/docs/screenshots/marketing_06_create_view.webp
deleted file mode 100644
index 3060edcc..00000000
Binary files a/docs/screenshots/marketing_06_create_view.webp and /dev/null differ
diff --git a/docs/screenshots/marketing_07_model_manager.png b/docs/screenshots/marketing_07_model_manager.png
deleted file mode 100644
index 17d39ee5..00000000
Binary files a/docs/screenshots/marketing_07_model_manager.png and /dev/null differ
diff --git a/docs/screenshots/marketing_07_model_manager.webp b/docs/screenshots/marketing_07_model_manager.webp
deleted file mode 100644
index b274327b..00000000
Binary files a/docs/screenshots/marketing_07_model_manager.webp and /dev/null differ
diff --git a/docs/screenshots/marketing_08_settings.png b/docs/screenshots/marketing_08_settings.png
deleted file mode 100644
index b13603dd..00000000
Binary files a/docs/screenshots/marketing_08_settings.png and /dev/null differ
diff --git a/docs/screenshots/marketing_08_settings.webp b/docs/screenshots/marketing_08_settings.webp
deleted file mode 100644
index 6cb3d409..00000000
Binary files a/docs/screenshots/marketing_08_settings.webp and /dev/null differ
diff --git a/docs/screenshots/marketing_09_light_mode.png b/docs/screenshots/marketing_09_light_mode.png
deleted file mode 100644
index 89585104..00000000
Binary files a/docs/screenshots/marketing_09_light_mode.png and /dev/null differ
diff --git a/docs/screenshots/marketing_09_light_mode.webp b/docs/screenshots/marketing_09_light_mode.webp
deleted file mode 100644
index 84015341..00000000
Binary files a/docs/screenshots/marketing_09_light_mode.webp and /dev/null differ
diff --git a/landing-page/index.html b/landing-page/index.html
deleted file mode 100644
index b778067d..00000000
--- a/landing-page/index.html
+++ /dev/null
@@ -1,253 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
-<meta charset="UTF-8">
-<meta name="viewport" content="width=device-width, initial-scale=1.0">
-<title>Locally Uncensored — All-in-One Local AI App | Chat, Images, Video</title>
-<meta name="description" content="The only local AI app that does Chat + Image Generation + Video Generation in one beautiful UI. Open source, 100% offline, no Docker needed. Powered by Ollama & ComfyUI.">
-<meta name="keywords" content="local ai app, ollama frontend, uncensored ai, comfyui frontend, self-hosted ai, offline ai, local llm, stable diffusion ui, ai chat, image generation, video generation">
-<meta property="og:title" content="Locally Uncensored — Chat. Images. Video. All Local.">
-<meta property="og:description" content="The only open-source local AI app combining Chat + Image Gen + Video Gen in one beautiful UI.">
-<meta property="og:image" content="https://raw.githubusercontent.com/PurpleDoubleD/locally-uncensored/master/docs/social-preview.png">
-<meta property="og:url" content="https://purpledoubled.github.io/locally-uncensored">
-<meta property="og:type" content="website">
-<meta name="twitter:card" content="summary_large_image">
-<link rel="icon" href="../public/favicon.svg">
-<style>
-*{margin:0;padding:0;box-sizing:border-box}
-body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;background:#0a0a1a;color:#e0e0f0;overflow-x:hidden}
-a{color:#a78bfa;text-decoration:none}
-a:hover{color:#c4b5fd}
-
-/* Nav */
-nav{position:fixed;top:0;width:100%;padding:1rem 2rem;display:flex;justify-content:space-between;align-items:center;background:rgba(10,10,26,0.85);backdrop-filter:blur(20px);z-index:100;border-bottom:1px solid rgba(255,255,255,0.05)}
-nav .logo{font-size:1.3rem;font-weight:700;background:linear-gradient(135deg,#a78bfa,#6d28d9);-webkit-background-clip:text;-webkit-text-fill-color:transparent}
-nav ul{list-style:none;display:flex;gap:2rem}
-nav ul li a{color:#9ca3af;font-size:.9rem;transition:.2s}
-nav ul li a:hover{color:#fff}
-.gh-btn{display:inline-flex;align-items:center;gap:.5rem;background:#1f1f3a;padding:.5rem 1rem;border-radius:8px;font-size:.85rem;color:#e0e0f0;border:1px solid rgba(255,255,255,0.1);transition:.2s}
-.gh-btn:hover{background:#2a2a4a;border-color:#a78bfa}
-
-/* Hero */
-.hero{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:8rem 2rem 4rem;background:radial-gradient(ellipse at 50% 0%,rgba(109,40,217,0.15),transparent 70%)}
-.hero h1{font-size:clamp(2.5rem,6vw,4.5rem);font-weight:800;margin-bottom:1rem;background:linear-gradient(135deg,#fff,#a78bfa);-webkit-background-clip:text;-webkit-text-fill-color:transparent}
-.hero .tagline{font-size:clamp(1.1rem,2.5vw,1.5rem);color:#9ca3af;margin-bottom:2rem;letter-spacing:.5px}
-.hero .tagline span{color:#a78bfa}
-.hero-cta{display:flex;gap:1rem;flex-wrap:wrap;justify-content:center;margin-bottom:3rem}
-.btn{padding:.8rem 2rem;border-radius:10px;font-size:1rem;font-weight:600;cursor:pointer;transition:.2s;border:none}
-.btn-primary{background:linear-gradient(135deg,#7c3aed,#a78bfa);color:#fff}
-.btn-primary:hover{transform:translateY(-2px);box-shadow:0 8px 30px rgba(124,58,237,0.4)}
-.btn-secondary{background:rgba(255,255,255,0.05);color:#e0e0f0;border:1px solid rgba(255,255,255,0.15)}
-.btn-secondary:hover{background:rgba(255,255,255,0.1)}
-
-/* Screenshots */
-.screenshots{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;max-width:1000px;margin:0 auto;padding:0 1rem}
-.screenshots img{width:100%;border-radius:12px;border:1px solid rgba(255,255,255,0.08);transition:.3s;cursor:pointer}
-.screenshots img:hover{transform:scale(1.03);border-color:rgba(167,139,250,0.3)}
-
-/* Section */
-section{padding:6rem 2rem}
-.section-title{text-align:center;font-size:2.2rem;font-weight:700;margin-bottom:.8rem}
-.section-sub{text-align:center;color:#9ca3af;margin-bottom:3rem;font-size:1.1rem}
-
-/* Features */
-.features{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem;max-width:1100px;margin:0 auto}
-.feature-card{background:rgba(255,255,255,0.03);border:1px solid rgba(255,255,255,0.06);border-radius:16px;padding:2rem;transition:.3s}
-.feature-card:hover{background:rgba(255,255,255,0.06);border-color:rgba(167,139,250,0.2);transform:translateY(-4px)}
-.feature-card .icon{font-size:2rem;margin-bottom:1rem}
-.feature-card h3{font-size:1.15rem;margin-bottom:.5rem}
-.feature-card p{color:#9ca3af;font-size:.9rem;line-height:1.6}
-
-/* Comparison */
-.compare-wrap{max-width:900px;margin:0 auto;overflow-x:auto}
-table{width:100%;border-collapse:collapse;font-size:.95rem}
-th{background:rgba(124,58,237,0.15);padding:1rem;text-align:left;font-weight:600;border-bottom:1px solid rgba(255,255,255,0.1)}
-td{padding:.8rem 1rem;border-bottom:1px solid rgba(255,255,255,0.04)}
-tr:hover{background:rgba(255,255,255,0.02)}
-td:first-child{font-weight:500}
-.yes{color:#22c55e}
-.no{color:#ef4444}
-.maybe{color:#eab308}
-
-/* Get Started */
-.get-started{max-width:700px;margin:0 auto;text-align:center}
-.install-tabs{display:flex;justify-content:center;gap:1rem;margin-bottom:1.5rem}
-.tab{padding:.6rem 1.5rem;border-radius:8px;cursor:pointer;background:rgba(255,255,255,0.05);border:1px solid rgba(255,255,255,0.1);color:#9ca3af;transition:.2s}
-.tab.active{background:rgba(124,58,237,0.2);border-color:#7c3aed;color:#fff}
-.code-block{background:#111128;border-radius:12px;padding:1.5rem;text-align:left;font-family:'Fira Code',monospace;font-size:.9rem;color:#a78bfa;border:1px solid rgba(255,255,255,0.06);display:none}
-.code-block.active{display:block}
-.code-block .comment{color:#555}
-
-/* Footer */
-footer{text-align:center;padding:3rem 2rem;border-top:1px solid rgba(255,255,255,0.05);color:#666;font-size:.85rem}
-footer a{color:#9ca3af}
-footer .links{display:flex;justify-content:center;gap:2rem;margin-bottom:1rem}
-
-/* Animations */
-.fade-in{opacity:0;transform:translateY(30px);transition:opacity .6s,transform .6s}
-.fade-in.visible{opacity:1;transform:translateY(0)}
-
-/* Mobile */
-@media(max-width:768px){
- nav ul{display:none}
- .screenshots{grid-template-columns:1fr}
- .hero h1{font-size:2.2rem}
- .features{grid-template-columns:1fr}
- table{font-size:.8rem}
-}
-</style>
-</head>
-<body>
-
-<nav>
- <div class="logo">🔓 Locally Uncensored</div>
- <ul>
- <li><a href="#features">Features</a></li>
- <li><a href="#compare">Compare</a></li>
- <li><a href="#start">Get Started</a></li>
- </ul>
- <a href="https://github.com/PurpleDoubleD/locally-uncensored" class="gh-btn" target="_blank">⭐ Star on GitHub</a>
-</nav>
-
-<section class="hero">
- <h1>Locally Uncensored</h1>
- <p class="tagline"><span>Chat.</span> <span>Images.</span> <span>Video.</span> <span>RAG.</span> <span>Voice.</span> <span>Agents.</span> All Local.</p>
- <div class="hero-cta">
- <a href="#start" class="btn btn-primary">Get Started</a>
- <a href="https://github.com/PurpleDoubleD/locally-uncensored" class="btn btn-secondary" target="_blank">View on GitHub</a>
- </div>
- <div class="screenshots">
- <img src="../docs/screenshots/chat_personas_dark.jpg" alt="AI Chat with Personas" loading="lazy">
- <img src="../docs/screenshots/create_dark.jpg" alt="Image Generation" loading="lazy">
- <img src="../docs/screenshots/model_manager_dark.jpg" alt="Model Manager" loading="lazy">
- </div>
-</section>
-
-<section id="features" class="fade-in">
- <h2 class="section-title">Everything You Need. One App.</h2>
- <p class="section-sub">No more juggling Ollama, ComfyUI, and five browser tabs.</p>
- <div class="features">
- <div class="feature-card">
- <div class="icon">💬</div>
- <h3>Uncensored AI Chat</h3>
- <p>Run abliterated models via Ollama with zero restrictions. Say what you want, get real answers.</p>
- </div>
- <div class="feature-card">
- <div class="icon">🎨</div>
- <h3>Image Generation</h3>
- <p>Text-to-image via ComfyUI. SDXL, FLUX, Pony — full parameter control, no cloud needed.</p>
- </div>
- <div class="feature-card">
- <div class="icon">🎬</div>
- <h3>Video Generation</h3>
- <p>Create videos with Wan 2.1/2.2 and AnimateDiff. All running on your hardware.</p>
- </div>
- <div class="feature-card">
- <div class="icon">🎭</div>
- <h3>25+ Personas</h3>
- <p>From Helpful Assistant to Roast Master. Ready out of the box, no prompt engineering needed.</p>
- </div>
- <div class="feature-card">
- <div class="icon">🧠</div>
- <h3>Model Manager</h3>
- <p>Browse, install, and switch models with one click. Auto-detects everything you have installed.</p>
- </div>
- <div class="feature-card">
- <div class="icon">⚡</div>
- <h3>One-Click Setup</h3>
- <p>Run setup.bat (Windows) or setup.sh (Linux/Mac). No Docker, no Terminal wizardry.</p>
- </div>
- <div class="feature-card">
- <div class="icon">📄</div>
- <h3>Document Chat (RAG)</h3>
- <p>Upload PDFs, DOCX, or TXT files and chat with your documents. Hybrid search with confidence scores and source citations.</p>
- </div>
- <div class="feature-card">
- <div class="icon">🎤</div>
- <h3>Voice Chat</h3>
- <p>Talk to your AI with push-to-talk and hear responses with sentence-level text-to-speech streaming.</p>
- </div>
- <div class="feature-card">
- <div class="icon">🤖</div>
- <h3>AI Agents</h3>
- <p>Give your AI a goal — it plans, searches the web, reads/writes files, and executes Python code autonomously.</p>
- </div>
- </div>
-</section>
-
-<section id="compare" class="fade-in">
- <h2 class="section-title">How It Compares</h2>
- <p class="section-sub">The only app that does all three — locally.</p>
- <div class="compare-wrap">
- <table>
- <tr><th>Feature</th><th>Locally Uncensored</th><th>Open WebUI</th><th>LM Studio</th><th>SillyTavern</th></tr>
- <tr><td>AI Chat</td><td class="yes">✅</td><td class="yes">✅</td><td class="yes">✅</td><td class="yes">✅</td></tr>
- <tr><td>Image Generation</td><td class="yes">✅</td><td class="no">❌</td><td class="no">❌</td><td class="no">❌</td></tr>
- <tr><td>Video Generation</td><td class="yes">✅</td><td class="no">❌</td><td class="no">❌</td><td class="no">❌</td></tr>
- <tr><td>Uncensored by Default</td><td class="yes">✅</td><td class="no">❌</td><td class="no">❌</td><td class="maybe">⚠️</td></tr>
- <tr><td>One-Click Setup</td><td class="yes">✅</td><td class="no">❌ Docker</td><td class="yes">✅</td><td class="no">❌ Node.js</td></tr>
- <tr><td>25+ Built-in Personas</td><td class="yes">✅</td><td class="no">❌</td><td class="no">❌</td><td class="maybe">⚠️ manual</td></tr>
- <tr><td>Open Source</td><td class="yes">✅</td><td class="yes">✅</td><td class="no">❌</td><td class="yes">✅</td></tr>
- <tr><td>No Docker Required</td><td class="yes">✅</td><td class="no">❌</td><td class="yes">✅</td><td class="yes">✅</td></tr>
- <tr><td>100% Offline</td><td class="yes">✅</td><td class="yes">✅</td><td class="yes">✅</td><td class="yes">✅</td></tr>
- <tr><td>Document Chat (RAG)</td><td class="yes">✅</td><td class="yes">✅</td><td class="no">❌</td><td class="no">❌</td></tr>
- <tr><td>Voice (STT + TTS)</td><td class="yes">✅</td><td class="maybe">⚠️</td><td class="no">❌</td><td class="no">❌</td></tr>
- <tr><td>AI Agents</td><td class="yes">✅</td><td class="no">❌</td><td class="no">❌</td><td class="no">❌</td></tr>
- </table>
- </div>
-</section>
-
-<section id="start" class="fade-in">
- <h2 class="section-title">Get Started in 60 Seconds</h2>
- <p class="section-sub">Clone, run, done.</p>
- <div class="get-started">
- <p style="margin-bottom:1.5rem;font-size:1.1rem;color:#e0e0f0;font-weight:600">Download v1.3.0</p>
- <div style="display:flex;gap:1rem;justify-content:center;margin-bottom:2rem;flex-wrap:wrap">
- <a href="https://github.com/PurpleDoubleD/locally-uncensored/releases/download/v1.3.0/Locally.Uncensored_1.3.0_x64-setup.exe" class="btn btn-primary" style="font-size:.9rem;padding:.6rem 1.5rem">Windows (.exe)</a>
- <a href="https://github.com/PurpleDoubleD/locally-uncensored/releases/download/v1.3.0/Locally.Uncensored_1.3.0_amd64.AppImage" class="btn btn-primary" style="font-size:.9rem;padding:.6rem 1.5rem">Linux (.AppImage)</a>
- <a href="https://github.com/PurpleDoubleD/locally-uncensored/releases/download/v1.3.0/Locally.Uncensored_1.3.0_amd64.deb" class="btn btn-secondary" style="font-size:.9rem;padding:.6rem 1.5rem">Linux (.deb)</a>
- </div>
- <p style="color:#9ca3af;font-size:.8rem;margin-bottom:2rem">macOS: <a href="https://github.com/PurpleDoubleD/locally-uncensored#-build-from-source-all-platforms">Build from source</a></p>
- <div class="install-tabs">
- <div class="tab active" onclick="switchTab('win')">Windows</div>
- <div class="tab" onclick="switchTab('linux')">Linux / macOS</div>
- </div>
- <div class="code-block active" id="tab-win">
- <span class="comment"># Clone and run</span><br>
- git clone https://github.com/PurpleDoubleD/locally-uncensored.git<br>
- cd locally-uncensored<br>
- setup.bat
- </div>
- <div class="code-block" id="tab-linux">
- <span class="comment"># Clone and run</span><br>
- git clone https://github.com/PurpleDoubleD/locally-uncensored.git<br>
- cd locally-uncensored<br>
- chmod +x setup.sh && ./setup.sh
- </div>
- <p style="margin-top:1.5rem;color:#9ca3af;font-size:.9rem">The setup script installs Node.js, Ollama, downloads a recommended AI model, and launches the app.</p>
- </div>
-</section>
-
-<footer>
- <div class="links">
- <a href="https://github.com/PurpleDoubleD/locally-uncensored" target="_blank">GitHub</a>
- <a href="https://reddit.com/user/GroundbreakingMall54" target="_blank">Reddit</a>
- <a href="https://github.com/PurpleDoubleD/locally-uncensored/discussions" target="_blank">Discussions</a>
- </div>
- <p>MIT License · Built with privacy in mind · Your data stays on your machine 🔒</p>
-</footer>
-
-<script>
-function switchTab(t){
- document.querySelectorAll('.tab').forEach(e=>e.classList.remove('active'));
- document.querySelectorAll('.code-block').forEach(e=>e.classList.remove('active'));
- event.target.classList.add('active');
- document.getElementById('tab-'+t).classList.add('active');
-}
-const obs=new IntersectionObserver(es=>{es.forEach(e=>{if(e.isIntersecting)e.target.classList.add('visible')})},{threshold:.1});
-document.querySelectorAll('.fade-in').forEach(e=>obs.observe(e));
-document.querySelectorAll('nav a[href^="#"]').forEach(a=>{a.addEventListener('click',e=>{e.preventDefault();document.querySelector(a.getAttribute('href')).scrollIntoView({behavior:'smooth'})})});
-</script>
-
-</body>
-</html>
diff --git a/logo-concepts/concept_1_broken_chain.png b/logo-concepts/concept_1_broken_chain.png
deleted file mode 100644
index 2fecf69e..00000000
Binary files a/logo-concepts/concept_1_broken_chain.png and /dev/null differ
diff --git a/logo-concepts/concept_2_shield_brain.png b/logo-concepts/concept_2_shield_brain.png
deleted file mode 100644
index d63cb926..00000000
Binary files a/logo-concepts/concept_2_shield_brain.png and /dev/null differ
diff --git a/logo-concepts/concept_3_LU_monogram.jpg b/logo-concepts/concept_3_LU_monogram.jpg
deleted file mode 100644
index d4d6f7d3..00000000
Binary files a/logo-concepts/concept_3_LU_monogram.jpg and /dev/null differ
diff --git a/logo-concepts/concept_3_LU_monogram.png b/logo-concepts/concept_3_LU_monogram.png
deleted file mode 100644
index d4d6f7d3..00000000
Binary files a/logo-concepts/concept_3_LU_monogram.png and /dev/null differ
diff --git a/logo-concepts/concept_3_LU_monogram_bw.png b/logo-concepts/concept_3_LU_monogram_bw.png
deleted file mode 100644
index 187c2e8b..00000000
Binary files a/logo-concepts/concept_3_LU_monogram_bw.png and /dev/null differ
diff --git a/logo-concepts/concept_4_neural_orb.png b/logo-concepts/concept_4_neural_orb.png
deleted file mode 100644
index 3fb722b5..00000000
Binary files a/logo-concepts/concept_4_neural_orb.png and /dev/null differ
diff --git a/logo-concepts/make_bw.py b/logo-concepts/make_bw.py
deleted file mode 100644
index 9aed6df6..00000000
--- a/logo-concepts/make_bw.py
+++ /dev/null
@@ -1,17 +0,0 @@
-from PIL import Image
-import numpy as np
-
-# Load original
-img = Image.open("/home/hoshi/locally-uncensored/logo-concepts/concept_3_LU_monogram.jpg")
-gray = img.convert("L")
-gray_arr = np.array(gray)
-
-# Purple/dark parts (the logo + border) become white, light background becomes black
-threshold = 180
-bw_arr = np.where(gray_arr < threshold, 255, 0).astype(np.uint8)
-
-bw_img = Image.fromarray(bw_arr, mode="L")
-
-# Save as high quality PNG
-bw_img.save("/home/hoshi/locally-uncensored/logo-concepts/concept_3_LU_monogram_bw.png")
-print(f"Done! Size: {bw_img.size}")