Skip to main content

One File, Every Platform: My Go + Svelte Blueprint for Small Tools & AI-Built Apps

· Updated December 1, 2026 · 3 min read

TL;DR: Over the last few months, three very different projects in my homelab — VibeCockpit (my AI session dashboard), nono-agent (my sandboxed multi-agent cockpit), and my Proxmox KVM security monitor — all naturally landed on the exact same architecture: a small Go backend with a modern Svelte 5 web interface baked right inside it. I extracted that pattern into a clean, generic template repo (go-svelte-starter) with a GitHub Actions pipeline that builds standalone ~6 MB apps for Linux, macOS, and Windows. Fork it yourself, or hand it to your coding agent to build something fun in minutes.

Whenever you get an idea for a small self-hosted tool or personal dashboard, the boring setup work always gets in the way first.

Before you write a single line of the actual feature, you end up wiring up a frontend build, connecting it to a backend API, adding Dark and Light mode so it doesn’t look like a prototype, putting basic authentication in front of it so it’s safe on your network, and setting up automated builds.

After doing that exact dance for VibeCockpit, nono-agent, and my Proxmox KVM monitor, I realized I had accidentally built a favorite personal pattern — and it was worth turning into a clean, reusable starting point.

How the Blueprint Fits Together

Click any block below to see what it does and how the build pipeline turns the repo into a single runnable app:

HOW IT WORKS

From Idea to One Standalone App — Anywhere

Click any step to see how the template turns one repo into a ~6 MB app with a built-in web UI.

⚡ Hardware-near & fast Tiny ~6 MB native Go binary built for real system work
🎨 Modern, flexible UI Responsive Svelte 5 dashboard baked right inside the file
📱 Any device or AI agent Use it from phone/laptop over LAN — or query it via agent
🚀 Run & Connect Anywhere STEP 3

Run one fast native file close to your hardware or server, then open its modern web UI from your laptop, phone, or tablet over the network — or connect an AI agent to the same API.

Why it's cool: You get native, hardware-near performance without giving up a sleek, flexible web UI that works across every device and even talks to your agents.

Why I Keep Coming Back to This Stack

  1. Close to the hardware, without sacrificing the UI: Go compiles down to a tiny, fast native executable (~6 MB) that can do serious low-level or performance-sensitive work — reading host telemetry, inspecting VMs, crunching local data, or talking to hardware — while still shipping a sleek, modern Svelte 5 interface right inside the same file.
  2. Use it from any device — or from an AI agent: Because the UI is a responsive web app served straight from the binary, you can run the tool on a headless server or mini-PC and open it from your laptop, phone, or tablet over the network. And because everything sits behind a clean JSON/SSE API, your AI agents can query or control the exact same backend too.
  3. Runs everywhere — Linux, macOS, and Windows: The included GitHub Actions pipeline automatically tests your code and builds ready-to-run executables for Linux, macOS (Intel & Apple Silicon), and Windows on every push. No Node runtime to install on the target machine — just one file.
  4. Nice UX & safe defaults from minute one: Out of the box you get Dark and Light mode, filterable dashboard tiles, live updates, and network safety — running locally works immediately, while binding to your network requires a password/token so you never accidentally leave an admin panel wide open.

A Great Starting Point for AI Coding Agents

One of the nicest surprises of having a clean blueprint is how well it pairs with AI coding agents.

When you start from an empty folder, an agent has to guess your folder layout, pull in random libraries, and invent its own build scripts. With go-svelte-starter, the repo ships with a short AGENTS.md explaining the layout, the Dark/Light theme system, and one command (make check) that runs every formatting, security, and backend test identically to GitHub Actions.

You can literally fork the repo, tell your agent “turn this into a habit tracker” or “build a local homelab status board”, and spend your time on the fun part instead of the plumbing.

Try It Yourself

git clone https://github.com/NJannasch/go-svelte-starter.git my-app
cd my-app
make check && make build
./bin/app --listen 127.0.0.1:8080

Open http://127.0.0.1:8080, toggle Dark/Light mode, add an item to watch the live event stream update, and then make it yours.

The views and opinions expressed here are my own and do not reflect those of my employer.