DEV Community

Cover image for How I built my own OS

How I built my own OS

CLOUDWERX LAB on November 27, 2026

I run my own operating system now. Not a fork with a new wallpaper and a different logo in the about screen. A whole desktop, with its own settin...
Collapse
 
sizzlebop profile image
Jessica Doering •

❤️❤️❤️

Collapse
 
cloudwerx profile image
CLOUDWERX LAB •

🩷🩷🩷

Picked as gem
Collapse
 
pengeszikra profile image
Peter Vivo •

Hi! Your OS able to run Deno or node? Because I have terminal base 3D editor, maybe worth to try it is run under your OS or not? My program also have browser or even VR version

Collapse
 
cloudwerx profile image
CLOUDWERX LAB •

This is super neat! Cool project! I will have to give this a try!

Collapse
 
kursatyz profile image
Kürşat Yılmaz •

Owning the entire stack from bootloader to memory allocator eliminates legacy syscall overhead and scheduler jitter, but it also strips away decades of battle-tested driver error handling and power-state recovery when real hardware misbehaves. Silicon never respects clean kernel abstractions.

Collapse
 
cloudwerx profile image
CLOUDWERX LAB •

Ha, I wish I was that brave. I didn't write a kernel or a bootloader. It's CachyOS underneath, so it's the regular Linux kernel with all those decades of battle tested driver weirdness still doing the dirty work. Power states, suspend, wifi, GPU, all of it is untouched.

What I built is everything above that. The compositor setup, the shell, the settings app, the CLI, the theme engine and the rest. If silicon misbehaves, it's still Linus's problem and not mine. I just make it look good while it's crashing.

That said, writing my own allocator sounds like a great way to never see my family again, so maybe next year.

Collapse
 
robertpaschal profile image
Odinaka Robert Nnamani •

The CLI as the stable API for the whole machine is the part that stuck with me. One command surface for themes, snapshots, Tailscale, everything, and cloudwerx doctor checking the install.

Collapse
 
timmyzinin profile image
Tim Zinin •

A whole desktop you use all day gets tested by real work, from the settings app to the editor. Which piece turned out to be the hardest to keep working?

Collapse
 
cloudwerx profile image
CLOUDWERX LAB •

I would have to say the Settings app itself has so very many sections, moving parts, and it's gone through several total rewrites and redesigns as well. Pretty much all new ideas have to have some part in it, everything from the new shaders I add for transitions to the model downloader for voice recognition. Just keeping all the categories organized can be challenging!

Picked as gem
Collapse
 
timmyzinin profile image
Tim Zinin •

A Settings app that has been through several rewrites and still has to take in nearly every new idea sounds like a lot to keep tidy. With something like the voice model downloader, do you pick its category before building it, or does it find a place once it works?

Collapse
 
debashish_ghosal profile image
Debashish Ghosal •

The kernel update that locked you out is the part that made me smile, and fixing it from a tty instead of reinstalling is where the ownership actually changes. Your point about needing to ask the same question several different ways is the real unlock and it rarely gets said, because the story is usually told as "just read the docs." Niri plus Quickshell is a strong combination too, and a scrolling tiling compositor does settle a lot of things that floating window managers never did. Which piece of CLOUDWERX OS feels the most yours now, the bar or the editor?

Collapse
 
akhourianmolkumar profile image
Akhouri Anmol Kumar •

Collapse
 
the_daily_flare profile image
The daily flare •

13,973,978 items answering in 11 ms made me rethink my own search habits.

Collapse
 
cloudwerx profile image
CLOUDWERX LAB •

I'm working on getting that under 10ms! Eventually, I hope to get results before I even search for anything 👾

Collapse
 
enoch_hou profile image
Enoch Hou •

The three-index search design is the part that stuck with me — nearly 14 million names answering in 11 ms is wild. And Littlewick, a little pixel village living behind the terminal, is the most charming detail in the whole post.

Collapse
 
lin7c profile image
xcl •

The three-index search design is the part I kept coming back to. Keeping names, BM25 text search, and meaning search in separate indexes, then fusing them with reciprocal rank fusion, is a neat answer to the usual problem where one ranking mode dominates the others. The 11 ms result over almost 14 million indexed items makes the trade-off concrete, not just theoretical. I also liked that agent-sudo parses the command instead of regexing the string, since wrappers like sh -c, env, and redirections are exactly where a naive check would be fooled. How do you handle index freshness when files change quickly — is the search daemon watching for changes incrementally, or does it rebuild parts of the index on a schedule? And for agent-sudo, how do you decide which commands deserve a rule versus a prompt, when the risk depends so much on context?