How techjarves/portable-local-studio works
Portable AI Studio is an offline desktop/local-web interface for image generation, LLM chat, speech transcription, and speech synthesis. The main workflow is user interaction in the React UI, requests through its API adapter, and local runtime services/backends; model management, settings, and telemetry support those workflows. The README documents additional acceleration and model-management capabilities. Backend request handling is only partly visible in the excerpts, so unverified service links are dashed.
Main entry points: App.jsx Workspace shell · api.js Runtime API adapter · core.js Web search orchestration · Settings.jsx Settings and tuning
Components 19
Studio UI
- Workspace shell
app/frontend/src/App.jsx - Navigation
app/frontend/src/components/Sidebar.jsx - Status monitor
app/frontend/src/components/TopStatusBar.jsx - Themes
app/frontend/src/themes.js
Models and Settings
- Image generation
app/frontend/src/components/Generator.jsx - Model manager
app/frontend/src/components/ModelManager.jsx - Settings and tuning
app/frontend/src/components/Settings.jsx - LLM chat
app/frontend/src/components/TextChat.jsx
Speech Workflows
- Speech transcription
app/frontend/src/components/SpeechTranscriber.jsx - Text to speech
app/frontend/src/components/TextToSpeech.jsx
Local Runtime
- Runtime API adapter
app/frontend/src/services/api.js - Local server and lifecycle
scripts/server/serve.cjs - Web search orchestration
scripts/search/core.js - Search providers
scripts/search/providers.js - Page content fetcher
scripts/search/content.js - Search cache
scripts/search/cache.js - Local AI engines
Other components
- Studio user
- Public web
Connections 26
- Studio user → Workspace shell: uses
README.md - Workspace shell → Navigation: renders
app/frontend/src/App.jsx - Workspace shell → Status monitor: renders
app/frontend/src/App.jsx - Workspace shell → Image generation: renders
app/frontend/src/App.jsx - Workspace shell → Model manager: renders
app/frontend/src/App.jsx - Workspace shell → Settings and tuning: renders
app/frontend/src/App.jsx - Workspace shell → LLM chat: renders
app/frontend/src/App.jsx - Workspace shell → Speech transcription: renders
app/frontend/src/App.jsx - Workspace shell → Text to speech: renders
app/frontend/src/App.jsx - Workspace shell → Runtime API adapter: loads status
app/frontend/src/App.jsx - Status monitor → Themes: uses
app/frontend/src/components/TopStatusBar.jsx - Settings and tuning → Themes: uses
app/frontend/src/components/Settings.jsx - Image generation → Runtime API adapter: requests generation
app/frontend/src/components/Generator.jsx - Model manager → Runtime API adapter: manages models
app/frontend/src/components/ModelManager.jsx - Settings and tuning → Runtime API adapter: tunes runtime
app/frontend/src/components/Settings.jsx - LLM chat → Runtime API adapter: sends chat
app/frontend/src/components/TextChat.jsx - Speech transcription → Runtime API adapter: transcribes audio
app/frontend/src/components/SpeechTranscriber.jsx - Text to speech → Runtime API adapter: requests speech
app/frontend/src/components/TextToSpeech.jsx - Runtime API adapter → Local server and lifecycle: calls local API
app/frontend/src/services/api.js - Local server and lifecycle → Local AI engines: manages backends
README.md - LLM chat → Web search orchestration: adds web context
- Web search orchestration → Search providers: queries
scripts/search/core.js - Web search orchestration → Page content fetcher: fetches pages
scripts/search/core.js - Web search orchestration → Search cache: reads and writes
scripts/search/core.js - Search providers → Public web: searches
- Page content fetcher → Public web: fetches pages
scripts/search/content.js