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
Add community files, Linux setup, demo GIF, social preview, roadmap
PurpleDoubleD73fd5c453ed8
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.ymlnew file mode 100644index 00000000..86e54130--- /dev/null+++ b/.github/ISSUE_TEMPLATE/bug_report.yml@@ -0,0 +1,90 @@+name: Bug Report+description: Something isn't working? Let us know.+title: "[Bug]: "+labels: ["bug"]+body:+ - type: markdown+ attributes:+ value: |+ Thanks for reporting a bug! Fill out the details below so we can reproduce and fix it.++ - type: textarea+ id: description+ attributes:+ label: What happened?+ description: Describe the bug clearly.+ placeholder: "When I click X, Y happens instead of Z..."+ validations:+ required: true++ - type: textarea+ id: steps+ attributes:+ label: Steps to reproduce+ description: How can we trigger this bug?+ placeholder: |+ 1. Open the app+ 2. Go to '...'+ 3. Click on '...'+ 4. See error+ validations:+ required: true++ - type: textarea+ id: expected+ attributes:+ label: Expected behavior+ description: What should have happened?+ validations:+ required: true++ - type: dropdown+ id: area+ attributes:+ label: Which part of the app?+ options:+ - Chat+ - Image Generation+ - Video Generation+ - Model Manager+ - Personas+ - Settings+ - Setup/Installation+ - Other+ validations:+ required: true++ - type: input+ id: os+ attributes:+ label: Operating System+ placeholder: "Windows 11, macOS 15, Ubuntu 24.04..."+ validations:+ required: true++ - type: input+ id: browser+ attributes:+ label: Browser+ placeholder: "Chrome 133, Firefox 135, Edge..."+ validations:+ required: true++ - type: input+ id: gpu+ attributes:+ label: GPU & VRAM+ placeholder: "RTX 3080 10GB, RTX 4090 24GB, M2 Pro 16GB..."++ - type: textarea+ id: logs+ attributes:+ label: Console errors (if any)+ description: Open browser DevTools (F12) → Console tab. Paste any errors here.+ render: shell++ - type: textarea+ id: screenshots+ attributes:+ label: Screenshots+ description: Drag and drop screenshots if they help explain the issue.diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.ymlnew file mode 100644index 00000000..7cfe450f--- /dev/null+++ b/.github/ISSUE_TEMPLATE/config.yml@@ -0,0 +1,8 @@+blank_issues_enabled: false+contact_links:+ - name: Questions & Help+ url: https://github.com/PurpleDoubleD/locally-uncensored/discussions+ about: Got a question? Ask in Discussions instead of opening an issue.+ - name: Model Recommendations+ url: https://github.com/PurpleDoubleD/locally-uncensored/discussions/categories/show-and-tell+ about: Share your favorite model configs and setups.diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.ymlnew file mode 100644index 00000000..9d7fb503--- /dev/null+++ b/.github/ISSUE_TEMPLATE/feature_request.yml@@ -0,0 +1,59 @@+name: Feature Request+description: Got an idea? We'd love to hear it.+title: "[Feature]: "+labels: ["enhancement"]+body:+ - type: markdown+ attributes:+ value: |+ Got a feature idea? Describe it below. The more detail, the better.++ - type: textarea+ id: problem+ attributes:+ label: What problem does this solve?+ description: What frustration or gap does this feature address?+ placeholder: "I keep having to switch between X and Y to do Z..."+ validations:+ required: true++ - type: textarea+ id: solution+ attributes:+ label: Describe the solution you'd like+ description: How would this feature work?+ validations:+ required: true++ - type: textarea+ id: alternatives+ attributes:+ label: Alternatives you've considered+ description: Any other approaches that could work?++ - type: dropdown+ id: area+ attributes:+ label: Which area?+ options:+ - Chat+ - Image Generation+ - Video Generation+ - Model Management+ - UI/UX+ - Setup/Installation+ - New Feature+ - Other+ validations:+ required: true++ - type: dropdown+ id: priority+ attributes:+ label: How important is this to you?+ options:+ - Nice to have+ - Would use it regularly+ - Can't live without it+ validations:+ required: truediff --git a/CHANGELOG.md b/CHANGELOG.mdnew file mode 100644index 00000000..622806a7--- /dev/null+++ b/CHANGELOG.md@@ -0,0 +1,37 @@+# Changelog++All notable changes to Locally Uncensored are documented here.++## [1.0.2] - 2026-03-25++### Fixed+- Complete Create tab rewrite — resolved all 55 known issues+- Persona icons now show diverse set of avatars+- Logo navigation works correctly+- Video display rendering fixed++## [1.0.1] - 2026-03-25++### Fixed+- Image and video model auto-detection now works reliably+- FLUX workflow generation fixed+- ComfyUI integration: auto-start, auto-stop, live status indicator+- Personas load correctly on new chat sessions+- Light mode text contrast improved+- Video backend display fixed++## [1.0.0] - 2026-03-24++### Added+- **AI Chat** via Ollama with streaming responses+- **Image Generation** via ComfyUI (SDXL, FLUX, Pony checkpoints)+- **Video Generation** via ComfyUI (Wan 2.1/2.2, AnimateDiff)+- **25+ Built-in Personas** — from Helpful Assistant to creative characters+- **Model Manager** — browse, install, switch, and delete models+- **Discover Models** — find and install models from Ollama registry+- **Thinking Display** — collapsible reasoning blocks+- **Dark/Light Mode** with glassmorphism UI+- **Conversation History** — saved locally in browser+- **Model Auto-Detection** — finds all installed models automatically+- **One-Click Setup** — `setup.bat` installs everything on Windows+- **Hardware Detection** — recommends models based on your GPU/RAMdiff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.mdnew file mode 100644index 00000000..fece2ebb--- /dev/null+++ b/CODE_OF_CONDUCT.md@@ -0,0 +1,42 @@+# Contributor Covenant Code of Conduct++## Our Pledge++We as members, contributors, and leaders pledge to make participation in our+community a harassment-free experience for everyone, regardless of age, body+size, visible or invisible disability, ethnicity, sex characteristics, gender+identity and expression, level of experience, education, socio-economic status,+nationality, personal appearance, race, caste, color, religion, or sexual+identity and orientation.++We pledge to act and interact in ways that contribute to an open, welcoming,+diverse, inclusive, and healthy community.++## Our Standards++Examples of behavior that contributes to a positive environment:++* Demonstrating empathy and kindness toward other people+* Being respectful of differing opinions, viewpoints, and experiences+* Giving and gracefully accepting constructive feedback+* Accepting responsibility and apologizing to those affected by our mistakes+* Focusing on what is best not just for us as individuals, but for the overall community++Examples of unacceptable behavior:++* Trolling, insulting or derogatory comments, and personal or political attacks+* Public or private harassment+* Publishing others' private information without their explicit permission+* Other conduct which could reasonably be considered inappropriate in a professional setting++## Enforcement++Instances of abusive, harassing, or otherwise unacceptable behavior may be+reported to the project maintainers. All complaints will be reviewed and+investigated promptly and fairly.++## Attribution++This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org/),+version 2.1, available at+[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html](https://www.contributor-covenant.org/version/2/1/code_of_conduct.html).diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdnew file mode 100644index 00000000..d841554c--- /dev/null+++ b/CONTRIBUTING.md@@ -0,0 +1,110 @@+# Contributing to Locally Uncensored++Thanks for your interest in contributing! This project thrives on community input.++## Getting Started++### Prerequisites++- **Node.js** 18+ ([download](https://nodejs.org/))+- **Ollama** ([download](https://ollama.com/)) — for text model testing+- **ComfyUI** (optional) — only needed for image/video gen features+- **Git** (obviously)++### Dev Setup++```bash+git clone https://github.com/PurpleDoubleD/locally-uncensored.git+cd locally-uncensored+npm install+npm run dev+```++The app runs at `http://localhost:5173` with hot reload.++### Project Structure++```+src/+ api/ # Ollama & ComfyUI API clients+ components/ # React components (chat/, create/, models/, personas/, settings/)+ hooks/ # Custom React hooks+ stores/ # Zustand state management+ types/ # TypeScript definitions+ lib/ # Constants & utilities+```++## Tech Stack++- **React 19** + **TypeScript** — strict mode, functional components only+- **Tailwind CSS 4** — utility-first, glassmorphism UI+- **Zustand** — state management with localStorage persistence+- **Vite 8** — build tool+- **Framer Motion** — animations++## How to Contribute++### Bug Reports++Use the [Bug Report template](https://github.com/PurpleDoubleD/locally-uncensored/issues/new?template=bug_report.yml). Include:++- Steps to reproduce+- Expected vs actual behavior+- Your OS, browser, GPU info+- Console errors (if any)++### Feature Requests++Use the [Feature Request template](https://github.com/PurpleDoubleD/locally-uncensored/issues/new?template=feature_request.yml). Describe:++- What problem it solves+- How you'd expect it to work+- Alternatives you've considered++### Pull Requests++1. Fork the repo+2. Create a feature branch from `master`: `git checkout -b feature/your-feature`+3. Make your changes+4. Test locally with `npm run dev`+5. Run type checking: `npx tsc --noEmit`+6. Commit with a descriptive message+7. Push and open a PR against `master`++### Code Style++- **TypeScript strict mode** — no `any` types unless absolutely necessary+- **Functional components** — no class components+- **Named exports** — prefer named over default exports+- **Tailwind** — use utility classes, avoid custom CSS when possible+- **Component files** — one component per file, filename matches component name+- **Hooks** — extract logic into custom hooks in `src/hooks/`++### Commit Messages++Keep them short and descriptive:++```+Add video generation progress bar+Fix persona selection on new chat+Update Ollama API client for v0.5 compatibility+```++No need for conventional commits — just be clear about what changed.++## Areas Where Help is Needed++- **Linux/Mac testing** — setup.sh improvements, OS-specific bugs+- **Model compatibility** — testing with different Ollama models+- **ComfyUI workflows** — new image/video generation workflows+- **Accessibility** — keyboard navigation, screen reader support+- **i18n** — translations for non-English users+- **Documentation** — tutorials, guides, video walkthroughs++## Questions?++Open a thread in [Discussions](https://github.com/PurpleDoubleD/locally-uncensored/discussions) — don't use Issues for questions.++## License++By contributing, you agree that your contributions will be licensed under the MIT License.diff --git a/README.md b/README.mdindex 8b3b0482..df12628c 100644--- a/README.md+++ b/README.md@@ -9,6 +9,17 @@ No cloud. No censorship. No data collection. Just you and your AI.[](https://opensource.org/licenses/MIT)[](https://github.com/PurpleDoubleD/locally-uncensored/stargazers)[](https://github.com/PurpleDoubleD/locally-uncensored/commits)+[](https://github.com/PurpleDoubleD/locally-uncensored/discussions)++<img src="docs/demo.gif" alt="Locally Uncensored Demo" width="700">++*Chat with AI personas, generate images, create videos — all running locally on your machine.*++[Getting Started](#-quick-start) · [Features](#-features) · [Why This App?](#-why-locally-uncensored) · [Roadmap](#-roadmap) · [Contributing](CONTRIBUTING.md)++</div>++---### 📸 Screenshots@@ -18,10 +29,6 @@ No cloud. No censorship. No data collection. Just you and your AI.| **Light Mode** | **Settings** | **Landing** ||  |  |  |-[Getting Started](#-quick-start) · [Features](#-features) · [Why This App?](#-why-locally-uncensored) · [Contributing](#contributing)--</div>----## ❓ Why Locally Uncensored?@@ -71,7 +78,7 @@ Tired of switching between Ollama for chat, ComfyUI for images, and another tool## 🚀 Quick Start-### One-Command Setup (Windows)+### Windows```bashgit clone https://github.com/PurpleDoubleD/locally-uncensored.git@@ -79,12 +86,20 @@ cd locally-uncensoredsetup.bat```-That's it. The setup script automatically:-1. Installs Node.js, Git, and Ollama (if missing)-2. Installs all dependencies+### Linux / macOS++```bash+git clone https://github.com/PurpleDoubleD/locally-uncensored.git+cd locally-uncensored+chmod +x setup.sh+./setup.sh+```++The setup script automatically:+1. Checks for Node.js 18+, Git, and Ollama+2. Installs missing dependencies3. Downloads a recommended uncensored AI model (~5.7 GB)-4. Creates a desktop shortcut-5. Starts the app in your browser+4. Starts the app in your browser### Manual Installation@@ -104,7 +119,7 @@ Open **http://localhost:5173** — the app recommends models on first launch.1. Install [ComfyUI](https://github.com/comfyanonymous/ComfyUI)2. Create a `.env` file in the project root:```- COMFYUI_PATH=C:\path\to\your\ComfyUI+ COMFYUI_PATH=/path/to/your/ComfyUI```3. Click **Start ComfyUI** in the Create tab, or start it manually4. Download image models (e.g., SDXL checkpoints) into ComfyUI's `models/checkpoints` folder@@ -167,7 +182,7 @@ Create a `.env` file (see `.env.example`):```env# Path to your ComfyUI installation (optional)-COMFYUI_PATH=C:\path\to\your\ComfyUI+COMFYUI_PATH=/path/to/your/ComfyUI```### In-App Settings@@ -179,6 +194,21 @@ COMFYUI_PATH=C:\path\to\your\ComfyUI---+## 🗺️ Roadmap++- [ ] **RAG / Document Chat** — Upload PDFs and chat with your documents+- [ ] **Audio Generation** — Text-to-speech and music generation+- [ ] **Plugin System** — Extend the app with community plugins+- [ ] **Multi-User Mode** — Share your local AI server with your household+- [ ] **Mobile UI** — Responsive layout for phone/tablet access+- [ ] **Docker Support** — For those who prefer containerized deployments+- [ ] **Custom Persona Creator** — Build and share your own personas+- [ ] **Export/Import** — Backup and restore your chats and settings++Have an idea? [Open a discussion](https://github.com/PurpleDoubleD/locally-uncensored/discussions)!++---+## 📁 Project Structure```@@ -201,13 +231,9 @@ src/## Contributing-Contributions are welcome! Feel free to open issues and pull requests.+We welcome contributions! Check out the [Contributing Guide](CONTRIBUTING.md) for details on how to get started.-1. Fork the repository-2. Create your feature branch (`git checkout -b feature/amazing-feature`)-3. Commit your changes (`git commit -m 'Add amazing feature'`)-4. Push to the branch (`git push origin feature/amazing-feature`)-5. Open a Pull Request+See our [open issues](https://github.com/PurpleDoubleD/locally-uncensored/issues) or the [Roadmap](#-roadmap) for areas where help is needed.## License@@ -221,4 +247,6 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) fileIf you find this useful, consider giving it a ⭐+[Report Bug](https://github.com/PurpleDoubleD/locally-uncensored/issues/new?template=bug_report.yml) · [Request Feature](https://github.com/PurpleDoubleD/locally-uncensored/issues/new?template=feature_request.yml) · [Join Discussion](https://github.com/PurpleDoubleD/locally-uncensored/discussions)+</div>diff --git a/SECURITY.md b/SECURITY.mdnew file mode 100644index 00000000..e89659dc--- /dev/null+++ b/SECURITY.md@@ -0,0 +1,43 @@+# Security Policy++## Supported Versions++| Version | Supported |+|---------|-----------|+| 1.0.x | ✅ |++## Reporting a Vulnerability++If you discover a security vulnerability, please report it responsibly.++**Do NOT open a public issue.** Instead:++1. Email the details to the maintainer (open a private security advisory via GitHub)+2. Or use [GitHub's private vulnerability reporting](https://github.com/PurpleDoubleD/locally-uncensored/security/advisories/new)++Include:+- Description of the vulnerability+- Steps to reproduce+- Potential impact+- Suggested fix (if you have one)++## Response Timeline++- **Acknowledgment**: Within 48 hours+- **Assessment**: Within 1 week+- **Fix**: Depends on severity, but we aim for patches within 2 weeks for critical issues++## Scope++Since Locally Uncensored runs **entirely locally** on your machine, the attack surface is limited. However, we still take the following seriously:++- **XSS in the chat UI** — malicious model outputs that could execute scripts+- **Path traversal** — file access outside intended directories+- **ComfyUI API abuse** — unintended command execution through the ComfyUI bridge+- **Dependency vulnerabilities** — outdated npm packages with known CVEs++## Out of Scope++- Vulnerabilities in Ollama or ComfyUI themselves (report to their maintainers)+- Issues that require physical access to the machine+- Social engineering attacksdiff --git a/docs/demo.gif b/docs/demo.gifnew file mode 100644index 00000000..abc780a3Binary files /dev/null and b/docs/demo.gif differdiff --git a/docs/social-preview.png b/docs/social-preview.pngnew file mode 100644index 00000000..fe30f8ffBinary files /dev/null and b/docs/social-preview.png differdiff --git a/setup.sh b/setup.shnew file mode 100755index 00000000..cb745752--- /dev/null+++ b/setup.sh@@ -0,0 +1,137 @@+#!/bin/bash++# Locally Uncensored — Setup Script (Linux/macOS)+# One command to get everything running.++set -e++PURPLE='\033[0;35m'+GREEN='\033[0;32m'+YELLOW='\033[1;33m'+DIM='\033[2m'+NC='\033[0m'++echo ""+echo -e "${PURPLE}"+echo " ╔═══════════════════════════════════════════╗"+echo " ║ LOCALLY UNCENSORED ║"+echo " ║ Private, local AI. No cloud. ║"+echo " ║ No censorship. Chat + Images + Video. ║"+echo " ╚═══════════════════════════════════════════╝"+echo -e "${NC}"++# Helper function+check_cmd() {+ command -v "$1" &>/dev/null+}++SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"+cd "$SCRIPT_DIR"++# 1. Check Node.js+echo -e " ${YELLOW}[1/5] Checking Node.js...${NC}"+if check_cmd node; then+ NODE_VER=$(node -v | sed 's/v//' | cut -d. -f1)+ if [ "$NODE_VER" -ge 18 ]; then+ echo -e " ${GREEN}[+] Node.js $(node -v)${NC}"+ else+ echo -e " ${YELLOW}[!] Node.js $(node -v) found but v18+ required.${NC}"+ echo -e " ${DIM} Install via: https://nodejs.org/ or use nvm${NC}"+ exit 1+ fi+else+ echo -e " ${YELLOW}[!] Node.js not found.${NC}"+ echo ""+ echo " Install Node.js 18+ first:"+ echo " macOS: brew install node"+ echo " Ubuntu: curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash - && sudo apt install -y nodejs"+ echo " Arch: sudo pacman -S nodejs npm"+ echo " Or: https://nodejs.org/"+ echo ""+ exit 1+fi++# 2. Check Git+echo -e " ${YELLOW}[2/5] Checking Git...${NC}"+if check_cmd git; then+ echo -e " ${GREEN}[+] Git $(git --version | cut -d' ' -f3)${NC}"+else+ echo -e " ${YELLOW}[!] Git not found. Install it:${NC}"+ echo " macOS: xcode-select --install"+ echo " Ubuntu: sudo apt install git"+ exit 1+fi++# 3. Check/Install Ollama+echo -e " ${YELLOW}[3/5] Checking Ollama...${NC}"+if check_cmd ollama; then+ echo -e " ${GREEN}[+] Ollama found${NC}"+else+ echo -e " ${YELLOW}[?] Ollama not found. Install it? (recommended for AI chat)${NC}"+ read -p " Install Ollama? [Y/n] " -n 1 -r+ echo ""+ if [[ $REPLY =~ ^[Nn]$ ]]; then+ echo -e " ${DIM} Skipping Ollama. You can install it later from https://ollama.com/${NC}"+ else+ echo -e " ${YELLOW} Installing Ollama...${NC}"+ curl -fsSL https://ollama.com/install.sh | sh+ echo -e " ${GREEN}[+] Ollama installed${NC}"+ fi+fi++# Start Ollama if installed but not running+if check_cmd ollama; then+ if ! pgrep -x "ollama" > /dev/null 2>&1; then+ echo -e " ${DIM} Starting Ollama...${NC}"+ ollama serve &>/dev/null &+ sleep 3+ fi+fi++# 4. Install npm dependencies+echo ""+echo -e " ${YELLOW}[4/5] Installing dependencies...${NC}"+npm install --loglevel=error+echo -e " ${GREEN}[+] Dependencies installed${NC}"++# 5. Check for AI models+echo ""+echo -e " ${YELLOW}[5/5] Checking AI models...${NC}"+if check_cmd ollama; then+ MODEL_COUNT=$(ollama list 2>/dev/null | tail -n +2 | wc -l)+ if [ "$MODEL_COUNT" -eq 0 ]; then+ echo -e " ${YELLOW}[?] No AI models found.${NC}"+ echo -e " ${DIM} Download Llama 3.1 8B Abliterated (~5.7 GB)?${NC}"+ read -p " Download recommended model? [Y/n] " -n 1 -r+ echo ""+ if [[ ! $REPLY =~ ^[Nn]$ ]]; then+ echo -e " ${YELLOW} Downloading... grab a coffee.${NC}"+ ollama pull mannix/llama3.1-8b-abliterated:q5_K_M+ echo -e " ${GREEN}[+] Model installed${NC}"+ else+ echo -e " ${DIM} Skipped. Install models later via the Model Manager in the app.${NC}"+ fi+ else+ echo -e " ${GREEN}[+] Found $MODEL_COUNT model(s)${NC}"+ fi+else+ echo -e " ${DIM} Ollama not installed — skipping model check${NC}"+fi++# Done+echo ""+echo -e " ${GREEN}═══════════════════════════════════════════${NC}"+echo -e " ${GREEN}Setup complete! Starting app...${NC}"+echo -e " ${GREEN}═══════════════════════════════════════════${NC}"+echo ""+echo -e " ${DIM}Opening http://localhost:5173 in your browser...${NC}"+echo ""++# Try to open browser+if check_cmd xdg-open; then+ xdg-open http://localhost:5173 &>/dev/null &+elif check_cmd open; then+ open http://localhost:5173+fi++npm run dev