
I built a self-hosted code execution runtime (because I needed one)
At some point, if you’re building dev tools, automation platforms, or anything with plugins or AI-generated logic, you hit the same wall: «You need to run user-provided code.» Not just your code — their code. And that’s where things get scary 😅 The naive version At first it looks simple: result = run(user_code) return result And yes… this works. Until someone uploads: an infinite loop a memory bomb file access network abuse or just crashes your process Then you realize: executing code is easy — executing it safely isn’t. Why I built GozoLite I needed something that could: run arbitrary code not crash my app not access my system not interfere with other users be self-hosted be simple to deploy Most options I found were either: too unsafe too heavy (full orchestration) or external SaaS So I built a middle ground: a lightweight self-hosted execution runtime. The idea is simple Instead of running code inside your app: API → GozoLite → isolated container → result Each execution: runs in iso
Continue reading on Dev.to
Opens in a new tab

![[MM’s] Boot Notes — The Day Zero Blueprint — Test Smarter on Day One](/_next/image?url=https%3A%2F%2Fcdn-images-1.medium.com%2Fmax%2F1368%2F1*AvVpFzkFJBm-xns4niPLAA.png&w=1200&q=75)

