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
site: the remote access page says what the app does
purpleffcbf0e8ae64
diff --git a/docs/remote-access/index.html b/docs/remote-access/index.htmlindex e6f474bc..e3a33dca 100644--- a/docs/remote-access/index.html+++ b/docs/remote-access/index.html@@ -4,18 +4,18 @@<meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>Remote Access - Locally Uncensored</title>-<meta name="description" content="Use Locally Uncensored from your phone: home Wi-Fi or anywhere via Cloudflare Tunnel. Passcode-protected mobile web app. Your desktop does the compute.">+<meta name="description" content="Use Locally Uncensored on your own PC from your phone's browser: home Wi-Fi or anywhere through a Cloudflare tunnel, a six-digit passcode, four permission switches that start off."><meta name="robots" content="index, follow"><meta name="theme-color" content="#0a0a0a"><link rel="canonical" href="https://locallyuncensored.com/remote-access/"><meta property="og:title" content="Remote Access: Locally Uncensored From Your Phone">-<meta property="og:description" content="Use Locally Uncensored from your phone: home Wi-Fi or anywhere via Cloudflare Tunnel. Passcode-protected mobile web app. Your desktop does the compute.">+<meta property="og:description" content="Use Locally Uncensored on your own PC from your phone's browser: home Wi-Fi or anywhere through a Cloudflare tunnel, a six-digit passcode, four permission switches that start off."><meta property="og:url" content="https://locallyuncensored.com/remote-access/"><meta property="og:type" content="website"><meta property="og:image" content="https://locallyuncensored.com/social-preview.png"><meta name="twitter:card" content="summary_large_image"><script type="application/ld+json">-{"@context":"https://schema.org","@type":"WebPage","name":"Remote Access: Locally Uncensored From Your Phone","description":"Use Locally Uncensored from your phone: home Wi-Fi or anywhere via Cloudflare Tunnel. Passcode-protected mobile web app. Your desktop does the compute.","url":"https://locallyuncensored.com/remote-access/","isPartOf":{"@type":"WebSite","name":"Locally Uncensored","url":"https://locallyuncensored.com/"}}+{"@context":"https://schema.org","@type":"WebPage","name":"Remote Access: Locally Uncensored From Your Phone","description":"Use Locally Uncensored on your own PC from your phone's browser: home Wi-Fi or anywhere through a Cloudflare tunnel, a six-digit passcode, four permission switches that start off.","url":"https://locallyuncensored.com/remote-access/","isPartOf":{"@type":"WebSite","name":"Locally Uncensored","url":"https://locallyuncensored.com/"}}</script><link rel="icon" href="../favicon.png"><script type="application/ld+json">@@ -57,128 +57,93 @@<a href="../" class="back">← Back to home</a><h1>Remote Access</h1>-<p class="subtitle">Drive Locally Uncensored from your phone — over your home Wi-Fi or from anywhere via Cloudflare Tunnel. Your desktop does the compute.</p>+<p class="subtitle">Use Locally Uncensored on your own PC from your phone's browser, over your home Wi-Fi or from anywhere through a Cloudflare tunnel. The PC does the work; the phone sends your messages and shows the answers.</p><nav class="toc"><div class="toc-title">Contents</div><a href="#overview">What remote access does</a>-<a href="#lan">1. LAN mode (same Wi-Fi)</a>-<a href="#tunnel">2. Internet mode (Cloudflare Tunnel)</a>+<a href="#lan">1. Over your own Wi-Fi (LAN)</a>+<a href="#tunnel">2. From anywhere (Internet)</a><a href="#passcode">3. The six-digit passcode</a>-<a href="#qr">4. QR code pairing</a>-<a href="#permissions">5. Permissions per device</a>+<a href="#permissions">4. The four permission switches</a>+<a href="#devices">5. Connected devices, Stop and Restart</a><a href="#trouble">Troubleshooting</a><a href="#privacy">Privacy notes</a></nav><h2 id="overview">What remote access does</h2>-<p>Remote access turns your phone into a thin client for the LU instance running on your desktop. Chat, Coding Agent runs, and tool calls execute on the desktop; the phone just sends prompts and receives results. Image and video creation stays in the desktop Create tab for now, so remote sessions are text and coding only.</p>-<p>Two modes, both opt-in:</p>+<p>The desktop app starts a small web server on your PC, and your phone opens it in its normal web browser. There is nothing to install on the phone, and in version 3.0.6 there is no separate phone app: the phone side is this web page. A browser on a second computer works the same way.</p>+<p>On the phone page you chat with the model on your PC, can pick another model, attach pictures and switch on "Agent". What the agent may touch on your PC is decided by four switches on the desktop, and all four start off. The step by step chapter <a href="/guide/remote-access-setup/">Remote access, step by step</a> walks through every screen.</p>+<p>Two ways to connect, both started by you:</p><ul>-<li><strong>LAN</strong> — phone and desktop share the same Wi-Fi. Traffic never leaves your home network.</li>-<li><strong>Internet (Cloudflare Tunnel)</strong> — reach your desktop from anywhere through a Cloudflare-fronted HTTPS URL. Cloudflare relays the traffic; your desktop is never directly exposed.</li>+<li><strong>LAN</strong>: phone and PC in the same Wi-Fi. The traffic stays in your network.</li>+<li><strong>Internet</strong>: LU starts a Cloudflare tunnel and gets a public https address. Nothing to set up on your router.</li></ul>-<div class="callout info">-<div class="callout-title">Local-first stays local-first</div>-The LU brand promise is unchanged: every inference happens on your desktop. Remote access is purely a UI bridge.-</div>--<h2 id="lan">1. LAN mode (same Wi-Fi)</h2>-<div class="step">-<span class="step-num">1</span><span class="step-title">Open the Remote panel.</span>-<div class="step-body"><p>In the desktop app, click the radio icon in the bottom-left sidebar. The Remote Access panel opens.</p></div>-</div>+<h2 id="lan">1. Over your own Wi-Fi (LAN)</h2>+<div class="step"><span class="step-num">1</span><span class="step-title">Open the "Remote" tab in the sidebar</span>+<div class="step-body"><p>It sits next to "Chat" and "Code". A chat model must be picked, otherwise "Dispatch" stays greyed out.</p></div></div>+<div class="step"><span class="step-num">2</span><span class="step-title">Press "Dispatch", then "LAN"</span>+<div class="step-body"><p>Pick the folder the agent may work in. Cancel the dialog and nothing starts. Your home folder or a system folder is refused.</p></div></div>+<div class="step"><span class="step-num">3</span><span class="step-title">Scan the QR code</span>+<div class="step-body"><p>A green "LIVE" panel shows a QR code, a six-digit passcode and an address like <code>http://192.168.1.20:11435/mobile</code>. Scan the QR code with the phone's camera, or type the address into the phone's browser.</p></div></div>+<div class="step"><span class="step-num">4</span><span class="step-title">Type the passcode</span>+<div class="step-body"><p>The phone asks for the "Access Code". Type the six digits from the desktop and tap "Connect". The QR code does not contain the passcode, so you always type it.</p></div></div>-<div class="step">-<span class="step-num">2</span><span class="step-title">Click <code>Start LAN</code>.</span>-<div class="step-body"><p>The desktop binds an HTTPS server to your machine's LAN IP (something like <code>192.168.1.42:8788</code>). The panel shows the URL and a QR code.</p></div>-</div>--<div class="step">-<span class="step-num">3</span><span class="step-title">Open the URL on your phone.</span>-<div class="step-body"><p>Scan the QR code or type the URL into your phone's browser. The phone shows the LU web app login screen.</p></div>-</div>--<div class="step">-<span class="step-num">4</span><span class="step-title">Enter the passcode.</span>-<div class="step-body"><p>The desktop panel displays a six-digit passcode. Type it on your phone. The phone is now paired — chat, Coding Agent, tools, plugins all work as on the desktop.</p></div>-</div>--<div class="callout tip">-<div class="callout-title">No port forwarding needed</div>-LAN mode works without router configuration. If your phone is on the same Wi-Fi network as your desktop, the connection just works.-</div>--<h2 id="tunnel">2. Internet mode (Cloudflare Tunnel)</h2>-<p>For accessing your desktop from coffee shops, hotels, or anywhere off-network. Cloudflare's <code>cloudflared</code> binary creates an outbound TLS tunnel; your desktop never opens a port to the public internet.</p>--<div class="step">-<span class="step-num">1</span><span class="step-title">Install <code>cloudflared</code> (one-time).</span>-<div class="step-body">-<p>Cloudflare's free tier is enough for personal use. Follow the official installer for your platform:</p>-<ul>-<li>Windows: <a href="https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/downloads/" target="_blank" rel="noopener">cloudflared installer</a></li>-<li>Linux: package from your distro or the Cloudflare apt/yum repos</li>-</ul>-</div>-</div>--<div class="step">-<span class="step-num">2</span><span class="step-title">Click <code>Start Tunnel</code> in the Remote panel.</span>-<div class="step-body"><p>LU launches <code>cloudflared tunnel --url localhost:8788</code> in the background. After a few seconds you get a <code>trycloudflare.com</code> URL plus a fresh QR code.</p></div>-</div>--<div class="step">-<span class="step-num">3</span><span class="step-title">Open the tunnel URL on your phone — from anywhere.</span>-<div class="step-body"><p>Same passcode flow as LAN mode. Once paired, the phone keeps working until you either stop the tunnel or restart the desktop.</p></div>-</div>--<div class="callout warn">-<div class="callout-title">Free tier limits</div>-The free <code>trycloudflare</code> URL changes every restart. For a stable URL, use a Cloudflare account-bound tunnel — configure <code>cloudflared tunnel login</code> first; LU picks it up automatically on the next Start Tunnel.-</div>+<h2 id="tunnel">2. From anywhere (Internet)</h2>+<p>Press "Dispatch", then "Internet", then pick the folder. The panel shows "Connecting to Cloudflare…" and holds the QR code back until the public address works; LU waits up to 15 seconds. The address ends in <code>trycloudflare.com/mobile</code>, is new for every session and exists only while it runs. Scan and type the passcode as above. Right after scanning the first connection can take 5 to 10 seconds; if the phone shows a DNS error, wait a moment and reload.</p>+<p>You do not need to install anything for this. The helper program cloudflared is downloaded by LU itself the first time, from Cloudflare's releases on GitHub, and fetched again when the copy is more than 30 days old.</p><h2 id="passcode">3. The six-digit passcode</h2>-<p>LU generates a random six-digit passcode on every server start. It's the gate between "anyone with the URL" and "this phone, paired with my desktop right now".</p><ul>-<li>Shown in the Remote panel next to the QR code.</li>-<li>Each connected device exchanges the passcode for a per-device token.</li>-<li>Stop the server → new passcode on next start. Old tokens stop working.</li>-<li>Regenerate the passcode any time via the <code>Regenerate</code> button — revokes all paired devices.</li>+<li>It is valid for 15 minutes; a countdown shows the time left, and LU makes a new one when it runs out.</li>+<li>The circular arrow next to it makes a new one at once. Phones that are already paired stay connected.</li>+<li>It is only for pairing. After "Connect" the phone stays signed in for an hour, extended while you use it, for at most 24 hours. Then it pairs again.</li>+<li>Three wrong codes in a row lock out new tries for 60 seconds.</li></ul>+<p>Anyone who can reach the address and knows the current passcode can pair, so do not post a photo of the panel. If someone may have seen it, make a new passcode and remove unknown devices.</p>-<h2 id="qr">4. QR code pairing</h2>-<p>The QR code encodes <code>https://<url>/#passcode=<6-digit></code>. Scanning it on your phone opens the web app already authenticated — no typing.</p>-<div class="callout info">-<div class="callout-title">QR is the same secret as the passcode</div>-Treat the QR code as a one-time token. Don't share a screenshot in a public chat. If you do leak it, just hit <code>Regenerate</code>.-</div>+<h2 id="permissions">4. The four permission switches</h2>+<p>They sit in the desktop app under Settings, Voice & Remote, Remote Access, "Permissions". They apply to every paired device together, not per device. All four are off until you turn them on, and off again each time LU starts. The phone can see them but not change them.</p>+<table>+<tr><th>Switch</th><th>What it allows</th></tr>+<tr><td>Filesystem Access</td><td>The agent may list, read, search and write files in the folder you picked at Dispatch, and take a screenshot of the PC.</td></tr>+<tr><td>Downloads & Installs</td><td>Model downloads and installs on the PC.</td></tr>+<tr><td>Process Control</td><td>Start and stop the local engines, make pictures through the PC, list running programs.</td></tr>+<tr><td>Shell & Code Execution</td><td>Run commands and code on the PC as your user. The app itself calls it risky: leave it off unless you trust the network.</td></tr>+</table>+<p>With all four off the phone can still chat, and the agent can still search the web, fetch pages and read the time and basic system information.</p>-<h2 id="permissions">5. Permissions per device</h2>-<p>Once a phone has paired, the Remote panel lists it as a connected device. You can:</p>+<h2 id="devices">5. Connected devices, Stop and Restart</h2><ul>-<li><strong>Toggle chat / Coding Agent / tool access</strong> per device — e.g. let your kid use chat from their tablet but block <code>shell_execute</code>.</li>-<li><strong>Rename the device</strong> so the list stays readable.</li>-<li><strong>Disconnect</strong> — revokes the token immediately.</li>+<li><strong>Connected Devices</strong> under the same settings lists every paired device with its address and browser. The trash icon ("Disconnect") throws one out at once. There is no renaming and no per-device setting.</li>+<li><strong>Stop</strong> on the green panel ends the session: the server stops, the tunnel closes, the phone can no longer reach the PC.</li>+<li><strong>Restart</strong> starts the server again for the same chat with a new passcode. Every phone pairs again. Restart does not bring back an internet tunnel; for a new internet address press "Stop" and dispatch again with "Internet".</li>+<li>The PC must be on, awake and running LU. LU does not keep the computer awake, and quitting LU ends the session. Closing the window with its X only hides LU to the tray, so the server keeps running.</li></ul><h2 id="trouble">Troubleshooting</h2><table>-<tr><th>Symptom</th><th>Likely cause / fix</th></tr>-<tr><td>QR shows but phone can't open the URL</td><td>Phone is on a different Wi-Fi (e.g. 5 GHz vs 2.4 GHz). Switch the phone to the same SSID as the desktop, or use Internet mode.</td></tr>-<tr><td>Browser warns "Not secure"</td><td>LAN mode uses a self-signed cert by default. Tap "Advanced → Proceed". For trusted HTTPS, use Internet mode (Cloudflare's cert is real).</td></tr>-<tr><td>Tunnel button greyed out</td><td><code>cloudflared</code> not on PATH. Install it (see step 1 of Internet mode) and click <code>Refresh</code>.</td></tr>-<tr><td>Passcode rejected</td><td>Passcode regenerated after the QR was scanned. Open the panel, scan the fresh QR.</td></tr>-<tr><td>Phone disconnects after a few minutes</td><td>Desktop went to sleep. Disable system sleep, or pair again on wake.</td></tr>+<tr><th>Symptom</th><th>Cause and fix</th></tr>+<tr><td>"Dispatch" is greyed out</td><td>No chat model picked. Pick or install one.</td></tr>+<tr><td>Phone cannot open the address (LAN)</td><td>The phone is on mobile data, a guest network or a different Wi-Fi. Put it on the same network as the PC. Otherwise use Internet.</td></tr>+<tr><td>"Connection failed" in the same Wi-Fi</td><td>Windows: the firewall. LU adds the rule "LU Remote 11435" for private networks only when it runs with administrator rights; otherwise allow LU once in the Windows firewall and make sure your Wi-Fi counts as a private network.<br>Linux: allow port 11435 in your firewall if one is active.</td></tr>+<tr><td>"Invalid access code"</td><td>Typo, or the code changed (after 15 minutes, after the circular arrow, after Restart). Type the code the desktop shows now.</td></tr>+<tr><td>"Too many attempts. Try again in (N)s"</td><td>Three wrong codes. Wait, then type the current code.</td></tr>+<tr><td>"…no public URL appeared within 15 s…"</td><td>cloudflared cannot reach Cloudflare, usually a firewall or VPN. LAN still works. Fix it, then press "Stop" and dispatch again with "Internet".</td></tr>+<tr><td>"Could not bind 0.0.0.0:11435"</td><td>Port 11435 is taken, usually by a second LU or an earlier session. Press "Stop", quit other LU instances from the tray, dispatch again.</td></tr>+<tr><td>The phone suddenly asks for the passcode</td><td>Restart was pressed, the device was disconnected, or 24 hours passed. Pair again.</td></tr>+<tr><td>The agent on the phone says a tool needs a permission</td><td>Turn that switch on in the desktop app under Settings, Voice & Remote, Remote Access.</td></tr></table>+<p>More cases, with every message: <a href="/guide/remote-access-setup/#wrong">Remote access, step by step: When it goes wrong</a>.</p><h2 id="privacy">Privacy notes</h2><ul>-<li><strong>Compute stays local.</strong> Models, prompts, and tool calls execute on your desktop. The phone just renders the UI and ships keystrokes.</li>-<li><strong>In Internet mode Cloudflare relays the traffic.</strong> It is encrypted between your phone and Cloudflare and between Cloudflare and your desktop, not end to end, so Cloudflare could read it. In LAN mode no third party is involved.</li>+<li><strong>Compute stays on your PC.</strong> Models and tool calls run on the PC. Only the chat travels between the PC and the paired device.</li>+<li><strong>LAN is plain http.</strong> Inside your network the connection is not encrypted. Use LAN only on a network you trust, such as your home Wi-Fi, not on a public hotspot.</li>+<li><strong>In Internet mode Cloudflare relays the traffic.</strong> It is encrypted between each device and Cloudflare, not end to end, so Cloudflare could read it.</li><li><strong>No analytics kit, no crash reports.</strong> On its own the app checks GitHub for updates and counts presses of the Cloud switch. Settings, General, Privacy lists both.</li>-<li><strong>You're in control.</strong> Stop the server any time — everything pairs again next session.</li>+<li><strong>You are in control.</strong> Press "Stop" any time; a new session needs a new pairing.</li></ul><div class="footer">