<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Kernbox: personal Linux playgrounds on Cloudron, powered by a WebAssembly kernel]]></title><description><![CDATA[<p dir="auto">Hi everyone,</p>
<p dir="auto">I built a small community app I want to share: <a href="https://github.com/patattzel/kernbox" target="_blank" rel="noopener noreferrer nofollow ugc">Kernbox</a>.</p>
<p dir="auto">It started with Guillermo Rauch's post about <a href="https://github.com/pithings/unkernel" target="_blank" rel="noopener noreferrer nofollow ugc">unkernel</a> by Pooya Parsa, a real Linux 7.x kernel compiled to a single WebAssembly module. My first thought was whether this could run as a proper Cloudron app. Cloudron apps have a read-only rootfs, run unprivileged and have no <code>/dev/kvm</code>, so spinning up a fresh Alpine or Debian to try something was never really an option. unkernel needs no host privileges, so it fits.</p>
<p dir="auto">What Kernbox does:</p>
<ul>
<li>Every Cloudron user logs in via OIDC and gets their own isolated Linux instances (Alpine, 1 to 4 vCPUs, about 200 ms boot with 2 vCPUs).</li>
<li>The VMs run server side in Node.js 24, the browser only shows an xterm.js terminal. Close the tab, reopen on another device, and the shell is still there with its scrollback.</li>
<li>Each instance stores a sparse ext4 overlay plus a <code>/work</code> folder under <code>/app/data</code>, so everything is part of the normal Cloudron backups. Instances can be cloned or reset.</li>
<li>An encrypted secret vault per user (AES-256-GCM). Secrets reach the VM only in RAM, as env vars and under <code>/run/kernbox/secrets</code>.</li>
<li>Outbound traffic goes through an internal relay that blocks loopback, private ranges, cloud metadata and the Cloudron Docker networks. Web servers inside a VM can be opened through a sandboxed preview port.</li>
</ul>
<p dir="auto">Install via the versions URL in the dashboard (App Store, Custom / Community App):</p>
<pre><code>https://raw.githubusercontent.com/patattzel/kernbox/main/CloudronVersions.json
</code></pre>
<p dir="auto">or with the CLI:</p>
<pre><code>cloudron install --versions-url https://raw.githubusercontent.com/patattzel/kernbox/main/CloudronVersions.json --location kernbox.yourdomain.tld
</code></pre>
<p dir="auto">Tested on Cloudron 10. It's MIT licensed. There's a short showcase video in the repo under <code>docs/showcase.mp4</code>, and I wrote up the background, including a fun "Illegal instruction" detour, on my blog: <a href="https://tzel.ch/en/kernbox-linux-playgrounds-on-cloudron/" target="_blank" rel="noopener noreferrer nofollow ugc">https://tzel.ch/en/kernbox-linux-playgrounds-on-cloudron/</a></p>
<p dir="auto">Feedback, issues and PRs are very welcome. I'm especially curious how it runs on other setups.</p>
]]></description><link>https://forum.cloudron.io/topic/16350/kernbox-personal-linux-playgrounds-on-cloudron-powered-by-a-webassembly-kernel</link><generator>RSS for Node</generator><lastBuildDate>Mon, 30 Nov 2026 03:21:05 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/16350.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 29 Nov 2026 06:58:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Kernbox: personal Linux playgrounds on Cloudron, powered by a WebAssembly kernel on Mon, 30 Nov 2026 00:54:32 GMT]]></title><description><![CDATA[<p dir="auto">FYI : I tested a use case for Kernbox by installing <code>picoclaw</code> lilghtweight agent running as Go binary with a cloud LLM. Actually runs quite nicely.</p>
]]></description><link>https://forum.cloudron.io/post/133538</link><guid isPermaLink="true">https://forum.cloudron.io/post/133538</guid><dc:creator><![CDATA[timconsidine]]></dc:creator><pubDate>Mon, 30 Nov 2026 00:54:32 GMT</pubDate></item><item><title><![CDATA[Reply to Kernbox: personal Linux playgrounds on Cloudron, powered by a WebAssembly kernel on Sun, 29 Nov 2026 22:29:54 GMT]]></title><description><![CDATA[<p dir="auto">Loving Kernbox, but there's one gap that's costing real time.</p>
<p dir="auto">When you create a box you choose a name, e.g. devbox.<br />
The actual instance ID becomes devbox-1a2b3c4d.<br />
The app only ever shows devbox, but every API call and MCP tool requires the full ID. So there's no way to use the API until you've guessed the suffix wrong at least once and read the error.</p>
<p dir="auto">Two small fixes would close this:</p>
<ul>
<li>respect the user's name of the box w/o adding a suffix</li>
<li>set the suffix (good reasons for it) but show it to the user in the left sidebar.</li>
</ul>
<p dir="auto">It's visible in /app/data/users/&lt;user&gt;/instances, but who wants to go digging for info that should be visible in the UI</p>
<p dir="auto">Good work, thank for releasing the community app.</p>
]]></description><link>https://forum.cloudron.io/post/133534</link><guid isPermaLink="true">https://forum.cloudron.io/post/133534</guid><dc:creator><![CDATA[timconsidine]]></dc:creator><pubDate>Sun, 29 Nov 2026 22:29:54 GMT</pubDate></item><item><title><![CDATA[Reply to Kernbox: personal Linux playgrounds on Cloudron, powered by a WebAssembly kernel on Sun, 29 Nov 2026 21:10:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/pathab" aria-label="Profile: pathab">@<bdi>pathab</bdi></a> wow, well done, looks interesting, I look forward ro playing with it.</p>
]]></description><link>https://forum.cloudron.io/post/133533</link><guid isPermaLink="true">https://forum.cloudron.io/post/133533</guid><dc:creator><![CDATA[timconsidine]]></dc:creator><pubDate>Sun, 29 Nov 2026 21:10:05 GMT</pubDate></item><item><title><![CDATA[Reply to Kernbox: personal Linux playgrounds on Cloudron, powered by a WebAssembly kernel on Sun, 29 Nov 2026 20:21:50 GMT]]></title><description><![CDATA[<p dir="auto">Quick update: I've pushed a few releases since the initial post, now at <strong>v0.8.0</strong>. Here's what's new:</p>
<ul>
<li><strong>Mobile PWA (iOS &amp; Android):</strong> Installable to the home screen with a Termius-style extra-keys bar (<code>ESC</code>, <code>TAB</code>, sticky <code>CTRL</code>/<code>ALT</code>, arrows, <code>^C</code>, copy/paste helpers, quick snippets) and <code>visualViewport</code> keyboard handling.</li>
<li><strong>Always-on, auto-boot &amp; startup commands:</strong> Per-instance toggles to disable idle auto-stop, automatically boot an instance after a Cloudron/app restart, and run an optional startup command (e.g. <code>sh /work/boot.sh</code> or an isolated <code>:host</code> Gitea Actions runner) inside a dedicated <code>Startup</code> terminal tab with retained scrollback.</li>
<li><strong>Instance export &amp; import (<code>.kernbox.tar.gz</code>) :</strong> Export any instance (sparse OS overlay + <code>/work</code> + settings, secrets intentionally excluded) as a compact archive and import it on another account or Cloudron server.</li>
<li><strong>Public preview share links (<code>/share/&lt;token&gt;/</code>) :</strong> Optionally publish a guest loopback HTTP port with a revocable, time-limited public URL — still isolated with <code>CSP: sandbox</code> (no <code>allow-same-origin</code>) and cookie stripping.</li>
<li><strong>REST API, <code>/exec</code>, OpenAPI 3.1 &amp; built-in MCP server (<code>/mcp</code>) :</strong> Scoped Personal Access Tokens (<code>read</code>, <code>exec</code>, <code>full</code>, stored SHA-256 hashed, unable to read/modify secrets or mint tokens), a synchronous <code>POST /api/instances/:id/exec</code> endpoint (handy for n8n, scripts, or iOS Shortcuts), <code>/api/openapi.json</code>, and a built-in Streamable HTTP MCP endpoint at <code>/mcp</code> for AI agents.</li>
</ul>
<p dir="auto">Existing installations on Cloudron 10 can update straight from the dashboard via the same <code>CloudronVersions.json</code> URL. As always, feedback and bug reports are very welcome!</p>
]]></description><link>https://forum.cloudron.io/post/133530</link><guid isPermaLink="true">https://forum.cloudron.io/post/133530</guid><dc:creator><![CDATA[pathab]]></dc:creator><pubDate>Sun, 29 Nov 2026 20:21:50 GMT</pubDate></item></channel></rss>