<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: nefu-dev</title>
    <description>The latest articles on DEV Community by nefu-dev (@nefu-dev).</description>
    <link>https://dev.to/nefu-dev</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4157253%2Fe07d4120-8db3-4399-b2d4-0cdf481b3d0a.png</url>
      <title>DEV Community: nefu-dev</title>
      <link>https://dev.to/nefu-dev</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/nefu-dev"/>
    <language>en</language>
    <item>
      <title>nefuOS: A from-scratch OS with a browser, WebGL, and a local LLM — built in one month</title>
      <dc:creator>nefu-dev</dc:creator>
      <pubDate>Fri, 02 Oct 2026 11:40:17 +0000</pubDate>
      <link>https://dev.to/nefu-dev/nefuos-a-from-scratch-os-with-a-browser-webgl-and-a-local-llm-built-in-one-month-l1b</link>
      <guid>https://dev.to/nefu-dev/nefuos-a-from-scratch-os-with-a-browser-webgl-and-a-local-llm-built-in-one-month-l1b</guid>
      <description>&lt;p&gt;One month ago, I saw someone's hobby OS and thought: "I want to build one too."&lt;/p&gt;

&lt;p&gt;One month later, nefuOS runs a browser, a compiler, a package manager, and a local LLM.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it is
&lt;/h2&gt;

&lt;p&gt;nefuOS is a full OS stack written from scratch:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Ncore&lt;/strong&gt; — custom kernel, boots via both BIOS (El Torito) and UEFI (GRUB multiboot2)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Nbrower&lt;/strong&gt; — custom browser with HTML/CSS/JS/WebGL2, own TLS 1.3 stack&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;nefucpp&lt;/strong&gt; — C++ → .nefud compiler&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;NPKG&lt;/strong&gt; — package manager over HTTPS, installs &lt;code&gt;.deb&lt;/code&gt;-style packages&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Nshell&lt;/strong&gt; — 60+ Unix-like commands&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ngame&lt;/strong&gt; — 34 built-in games&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;NAI&lt;/strong&gt; — a fine-tuned Qwen2.5-1.5B that actually calls tools (writes files, runs commands)&lt;/li&gt;
&lt;li&gt;Chinese IME, TTF rendering, 107 built-in apps&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Screenshots
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F9wowrtxkrb2peoj544mg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F9wowrtxkrb2peoj544mg.png" alt=" " width="800" height="600"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The workflow: one dev + AI
&lt;/h2&gt;

&lt;p&gt;This was the interesting part. I hand-wrote the first ~120k lines (kernel, VFS, IPC, the core architecture). Then I let AI fill in the implementation details — about 80% of the rest.&lt;/p&gt;

&lt;p&gt;Architecture, decisions, and debugging are mine. AI just made the typing faster.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Self-developed: ~215k lines (C/C++ ~192k, Python ~24k)&lt;/li&gt;
&lt;li&gt;With third-party: ~1.04M lines&lt;/li&gt;
&lt;li&gt;One month&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The hard parts
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;BIOS + UEFI dual boot&lt;/strong&gt; — same kernel, two boot paths, one codebase&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;TLS 1.3 from scratch&lt;/strong&gt; — for the browser to talk to real sites&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;QuickJS 2021 bugs&lt;/strong&gt; — the old build crashes on a second &lt;code&gt;JS_Eval&lt;/code&gt;; had to work around it&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;SWGL&lt;/strong&gt; — 9000 lines of software GL, needed to run WebGL2 without a GPU driver&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What's next
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;bloxd.io WebGL rendering (canvas pipeline is almost there)&lt;/li&gt;
&lt;li&gt;Better CSS support (flexbox, descendant selectors)&lt;/li&gt;
&lt;li&gt;DeepSeek login fully wired into the browser&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;GitHub: &lt;a href="https://github.com/Nefu-Dev/nefuOS" rel="noopener noreferrer"&gt;https://github.com/Nefu-Dev/nefuOS&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Happy to answer questions about the architecture, the AI-assisted workflow, or the dual-backend design.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>opensource</category>
      <category>programming</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
