{"slug": "nefuos-a-from-scratch-os-with-a-browser-webgl-and-a-local-llm-built-in-one-month", "title": "nefuOS: A from-scratch OS with a browser, WebGL, and a local LLM — built in one month", "summary": "Developer Nefu-Dev released nefuOS, a from-scratch operating system built in one month that includes a custom kernel (Ncore) booting via both BIOS El Torito and UEFI GRUB multiboot2, a custom browser with HTML/CSS/JS/WebGL2 and its own TLS 1.3 stack, a C++-to-.nefud compiler, the NPKG package manager, and NAI, a fine-tuned Qwen2.5-1.5B model that calls tools to write files and run commands. The project totals roughly 215,000 self-developed lines (C/C++ about 192,000, Python about 24,000) and about 1.04 million lines including third-party code, with the author hand-writing the first ~120,000 lines and AI filling in roughly 80% of the remaining implementation. The code is published at github.com/Nefu-Dev/nefuOS.", "body_md": "# nefuOS: A from-scratch OS with a browser, WebGL, and a local LLM — built in one month\n\nOne month ago, I saw someone's hobby OS and thought: \"I want to build one too.\" One month later, nefuOS runs a browser, a compiler, a package manager, and a local LLM. nefuOS is a full OS stack written from scratch: Ncore — custom kernel, boots via both BIOS (El Torito) and UEFI (GRUB multiboot2) Nb\n\nOne month ago, I saw someone's hobby OS and thought: \"I want to build one too.\" One month later, nefuOS runs a browser, a compiler, a package manager, and a local LLM. nefuOS is a full OS stack written from scratch: Ncore — custom kernel, boots via both BIOS (El Torito) and UEFI (GRUB multiboot2) Nbrower — custom browser with HTML/CSS/JS/WebGL2, own TLS 1.3 stack nefucpp — C++ → .nefud compiler NPKG — package manager over HTTPS, installs .deb-style packages Nshell — 60+ Unix-like commands Ngame — 34 built-in games NAI — a fine-tuned Qwen2.5-1.5B that actually calls tools (writes files, runs commands) Chinese IME, TTF rendering, 107 built-in apps 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. Architecture, decisions, and debugging are mine. AI just made the typing faster. Self-developed: ~215k lines (C/C++ ~192k, Python ~24k) With third-party: ~1.04M lines One month BIOS + UEFI dual boot — same kernel, two boot paths, one codebase TLS 1.3 from scratch — for the browser to talk to real sites QuickJS 2021 bugs — the old build crashes on a second JS_Eval; had to work around it SWGL — 9000 lines of software GL, needed to run WebGL2 without a GPU driver bloxd.io WebGL rendering (canvas pipeline is almost there) Better CSS support (flexbox, descendant selectors) DeepSeek login fully wired into the browser GitHub: https://github.com/Nefu-Dev/nefuOS Happy to answer questions about the architecture, the AI-assisted workflow, or the dual-backend design.\n\n## Key Takeaways\n\n- •One month ago, I saw someone's hobby OS and thought: \"I want to build one too.\" One month later, nefuOS runs a browser, a compiler, a package manager, and a local LLM. nefuOS is a full OS stack written from scratch: Ncore — custom kernel, boots via both BIOS (El Torito) and UEFI (GRUB multiboot2) Nb\n- •This story was reported by **Dev.to** , covering developments in the**dev** space.\n- •AI advancements continue to reshape industries — read the full article on Dev.to for complete coverage.\n\n📖 Continue reading the full article:\n\n[Read Full Article on Dev.to →](https://dev.to/nefu-dev/nefuos-a-from-scratch-os-with-a-browser-webgl-and-a-local-llm-built-in-one-month-l1b)", "url": "https://wpnews.pro/news/nefuos-a-from-scratch-os-with-a-browser-webgl-and-a-local-llm-built-in-one-month", "canonical_source": "https://ainexusdaily.vercel.app/article/2026-10-02-nefuos-a-from-scratch-os-with-a-browser-webgl-and-a-local-llm-built-in-one-month", "published_at": "2026-10-02 11:40:17+00:00", "updated_at": "2026-10-02 12:40:55.177294+00:00", "lang": "en", "topics": ["artificial-intelligence", "large-language-models", "ai-agents", "developer-tools"], "entities": ["nefuOS", "Nefu-Dev", "Ncore", "Nbrower", "nefucpp", "NPKG", "NAI", "Qwen2.5-1.5B"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/nefuos-a-from-scratch-os-with-a-browser-webgl-and-a-local-llm-built-in-one-month", "markdown": "https://wpnews.pro/news/nefuos-a-from-scratch-os-with-a-browser-webgl-and-a-local-llm-built-in-one-month.md", "text": "https://wpnews.pro/news/nefuos-a-from-scratch-os-with-a-browser-webgl-and-a-local-llm-built-in-one-month.txt", "jsonld": "https://wpnews.pro/news/nefuos-a-from-scratch-os-with-a-browser-webgl-and-a-local-llm-built-in-one-month.jsonld"}}