The first week, and a board that doesn't exist
November 28, 2026
I’m going to try writing one of these every week or two. What got built, what broke, what’s next. Partly to keep myself honest, partly because building this thing has been a pretty good lesson in itself.
This one covers the first week.
The plan
The idea for xspin is simple to say: you describe a small electronics project in plain words, an AI writes the code, and you watch it run on a virtual board before you touch real hardware.
I gave myself one hard rule: zero running costs. No servers sitting there costing money every month. Everything runs either in your browser or on free tiers. That rule ended up shaping almost every decision.
Week one, roughly in order
Days 1–2: drawing it before building it. I spent the first two days on the design doc and on screens, built as clickable mockups before any real code. Workspace, onboarding, projects home, a 3D view of the parts. I also compared three ways of emulating a board in the browser and went with running the official MicroPython build compiled to WebAssembly, with fake versions of the hardware underneath it. More on that below.
Day 2: the website. The website went up, plus this blog. I went back and forth on the home page images far too many times. Product renders, then photos, then fewer photos, then no third-party photos at all. Classic.
Days 3–4: deploys. I set up separate dev and production environments, and a pipeline that deploys only what changed. Boring, but it means I can push to dev ten times a day without being scared.
Day 5: the actual product. This was the big day:
- The virtual board started running real MicroPython in a browser worker, with a pretend OLED screen, servos and LEDs underneath.
- The AI agent loop went in. Something I didn’t expect to like this much: the agent runs in your browser, not on a server. It writes files, runs them on the virtual board, reads what happened and fixes things, all in your tab. The server only passes messages to the AI model.
- It got checks. Before the AI can save a version, the program has to run without crashing, stay off pins the board needs for itself, and fit in the board’s storage. If it fails, the save is refused and the AI has to fix it.
- Live preview. Open a project and it’s already running on the virtual board.
Day 6: credits and payments. Every account gets some free credits, and you can buy more by card or PayPal. The balance comes from a ledger in the database, one row per change, never one number that gets edited in place. Money stuff is where I want to be boring and careful.
Day 7: being able to see what’s going on. Logs, request tracing and error tracking, so when something breaks for someone I can find it. Also a demo account with a password, because the payment provider’s reviewers need a way to sign in and look around before they approve you.
Things that broke
The board worked on my machine and nowhere else. Locally the virtual board was fine. On the deployed site, nothing. It turned out the code was looking for micropython.wasm sitting next to the worker file. After bundling, that file gets a hashed name and lives somewhere else, so the server sent back the HTML page instead, and the browser tried to run a web page as WebAssembly. That doesn’t go well. The fix was one line: use the bundler’s own URL for the file.
Two copies of React. In dev, some libraries ended up with their own copy of React, which breaks things in confusing ways. My first fix made it worse, so I reverted it and went with a simpler one: tell the dev server there’s only one React. I spent more time on this than on the payments ledger.
Branded sign-in emails. I made nice custom sign-in emails, set them up to deploy automatically, and then found out the free database plan won’t let you change them without your own email server. They’re parked for now.
Where it’s at
You can sign up, describe a project, watch the AI build it, and see it running on the virtual board. For now that’s one board (ESP32-S3 DevKitC-1) and one small OLED screen, so it’s eyes, clocks, little animations.
What isn’t there yet: uploading to a real board, servos and LEDs as things the AI can build with (the virtual board already understands them), and printable parts.
Next
Uploading over USB. Plug in a board, click a button, and the thing you just watched on screen runs on your desk. That’s the one I’m most excited about.
If you try the app and something breaks, I’d love to hear about it. That’s what these logs are for.