techjarves/Portable-Local-Studio
A local browser studio for offline GGUF chat, Stable Diffusion, and speech
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
Portable Local Studio is a single-machine application with a Vite/React browser frontend and a local Node.js service. The service manages backend lifecycles rather than running every model inside JavaScript: image generation uses stable-diffusion.cpp, chat uses a portable llama.cpp server, transcription invokes whisper-cli, and server-side speech synthesis uses kokoro-js with the Kokoro-82M ONNX model.
Platform setup, server management, and workers are separated under scripts/setup/, scripts/server/, and scripts/workers/. Image weights live in app/models/, chat weights in app/llm-models/, and generated images are written to app/outputs/ alongside JSON parameter metadata. Image and chat engines are mutually exclusive by default to limit overlapping RAM and VRAM pressure. The primary way to extend the workspace is to add compatible model files, not to build a custom graph of operators.
Key Capabilities & Differentiators
The image workspace supports single-file Stable Diffusion 1.5 and SDXL checkpoints in .safetensors or .ckpt, plus limited support for complete SD/SDXL GGUF checkpoints. Listed SD 1.5 models are roughly 2 GB on disk, while the listed SDXL models run from 6.9 to 7.1 GB and require more RAM and VRAM. Intel NPU image models use a separate OpenVINO folder format; CoreML image models require the Apple Silicon setup path.
Chat accepts llama.cpp-compatible GGUF models, and vision models may also need a matching mmproj file. Whisper uses compatible .bin weights for transcription, while Kokoro uses local model assets and JSON manifests for speech synthesis. The Model Manager imports local weights or downloads from Hugging Face. Live CPU, RAM, GPU, and VRAM monitoring helps distinguish a model-sizing problem from a backend or device-selection problem.
Trade-offs & Limitations
Bundling four offline workflows reduces setup and context switching, but it trades image-pipeline flexibility for predictable checkpoint loading. It is not a substitute for a node-based tool such as ComfyUI when you need modular Flux or Wan workflows, separate diffusion/VAE/text-encoder components, or LoRA and ControlNet workflows. If you mainly need chat, running llama.cpp directly avoids provisioning unrelated image and speech components.
Local inference avoids hosted inference calls but shifts disk, compute, and driver maintenance onto the workstation. Default engine switching curbs memory pressure at the cost of keeping chat and image models resident together. Compared with a hosted service, this setup is better suited to a single operator than a shared team: setting UAIS_HOST=0.0.0.0 exposes an interface with no built-in login to reachable clients. The MIT repository license does not settle the terms of downloaded model weights.
Hardware & Deployment Guide
Launch with windows.bat on 64-bit Windows 10 or 11, or make linux.sh or mac.sh executable and run it on the corresponding platform. Open http://localhost:1420 in a modern browser. The Windows launcher downloads portable Node.js 22 and configures backend binaries on first run; plan for network access when downloading runtimes and models, then run inference offline once the assets are in place. The macOS path requires Apple Silicon; Intel Macs are unsupported.
Linux prebuilts require glibc 2.38+, GLIBCXX_3.4.32+, and libgomp.so.1. Vulkan also needs libvulkan.so.1 and a compatible driver. The optional --max-perf path adds ROCm, while --setup-openvino requires an Intel Core Ultra NPU, kernel 6.6+, a working /dev/accel/accel0 device, the Intel NPU driver, and Python 3 with venv. Older distributions may need an OS upgrade or a source build. No GitHub release milestone is listed, so validate launcher and backend compatibility before standardizing on a checkout.
A single operator who wants offline GGUF chat, single-file Stable Diffusion image generation, transcription, and speech synthesis on a compatible workstation.
You need composable image workflows, simultaneous image and chat model residency, built-in team authentication, or prebuilt support for Intel Macs or older Linux runtimes.
Quick Start & Installation
chmod +x linux.sh
Comparison vs. Top Chat UI & AI Apps Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| Portable-Local-Studio ★ | 2.2k | +51 | JavaScript | MIT | A local browser studio for offline GGUF chat, Stable Diffusion, and speech |
| unsloth | 80.7k | +380 | Python | Apache-2.0 | Local AI workspace for model chat, fine-tuning, and API serving |
| LocalAI | 50.7k | +102 | Go | MIT | A Go-based, self-hosted chat workspace and API server for local models |
| khoj | 38.3k | +77 | Python | AGPL-3.0 | Self-hosted AI workspace for searchable documents, web research, and scheduled a |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/techjarves/Portable-Local-Studio.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about Portable-Local-Studio
How does the browser UI connect to the inference engines?
How should I size a machine without a published VRAM minimum?
Can I use it commercially or host it for a team?
When is this a better fit than ComfyUI or standalone llama.cpp?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy