← Market Pulse · Nov 19
xdos: a desktop operating system written in just 19,456 bytes of x86 assemblyGitHub · created Nov 7 (12 days ago) · original page ↗
Stars / day ×203 → 62

A 19KB desktop OS: one number carried it into Chinese tech media

What it isA desktop OS written in x86 assembly. The boot image is just 19,456 bytes, and it includes an HTTPS browser.

Why it grewNov 18: Kuai Ke Ji (快科技), ZOL (中关村在线) and HKEPC all ran stories on the "19KB operating system" the same day.

What to takeSqueeze your project into one number that works as a headline, add a video that explains how you did it, and the media will retell it for you.

Who built itEklavya Raj, an independent developer in IndiaHow it makes moneyFree and MIT open source, no path to charging; the channel is what benefitsStaying powerPulse: the media coverage was a one-day event, and the repo hasn't been updated since Nov 8
The XD OS desktop: a column of app icons on the left, with the built-in browser opening Wikipedia over HTTPS (screenshot from the author's README)

Positioning and edge

Who it's forDevelopers who like low-level and extreme programming, and tech video viewersThe job it doesWatch one person fit a desktop, networking and HTTPS into 19KBWhat people did beforeWatch older works like KolibriOS and 512-byte boot sector gamesThe wedgeTakes the "boot sector mini game" idea all the way to a full desktop with a browser

How it differs from the rest

  1. It has a graphical desktop and can open HTTPS sites, yet the whole image is only 19,456 bytesThe commit message reads "19456 bytes, 16 spare", and the kernel ships with TLS 1.3
  2. One number is the headline, so media can repeat it without any reworkKuai Ke Ji, ZOL and HKEPC all led their headlines with "19KB"
  3. Every project comes with an explainer video; viewers come for the way he tells itThe video drew about 82,000 views in 11 days, on a channel with only 4,220 subscribers (Nov 19)
  4. The projects form a series, and the new system directly runs the small games he made beforeThe 512-byte flappy.img and the 1024-byte hill1k.img run as they are

Who else is in the space

Similar productHow it differs from this one
KolibriOSA desktop OS written in assembly that fits on a 1.44MB floppyActually usable day to day, with many drivers and apps; xdos is about 70 times smaller but is only a showpiece
MenuetOSA 64-bit assembly desktop OS that also fits on one floppy diskA full system built over more than twenty years; xdos is an extreme project finished in a week
nanochess/bootOSA 512-byte operating system, 2,161 starsSmaller, but command line only; xdos has windows, a mouse and a browser
kerlenton/bootgptA language model inside a boot sector, 109 starsAlso a size stunt, but it got there through Show HN; xdos relied on video and the media

Can it hold?The tech can't be defended, and the code is open source under MIT; the only thing others can't take is his channel, where he keeps shipping projects with videos.

Last two weeks · Stars / day
11-1311-166211-19

How it happened

  1. Released flappy-512: a 512-byte boot sector Flappy Bird, now at 50 stars ↗

  2. Released hill-climb-1024: a 1024-byte hill climb racing game, now at 67 stars ↗

  3. First xdos commit: "boots into a desktop" ↗

  4. Swapped in a compressor he wrote himself, shrinking the image from 41 sectors to 38, i.e. 19,456 bytes ↗

    Commit history: finished in one week, Oct 31 to Nov 6, with the last day spent compressing from 41 sectors down to "19456 bytes, 16 spare"
  5. Repo made public, with a 14-minute explainer video posted the same day (about 82,000 views by Nov 19) ↗

    The author's explainer video, whose thumbnail has just one line, "THE WHOLE OS 19 KB"; 81,000 views in 11 days, 1,600 likes, 4,220 subscribers on the channel
  6. GitHub stars: 26; over the following week it gained only 1–7 a day, reaching 54 on Nov 18 ↗

  7. HKEPC, Kuai Ke Ji, ZOL and 17173 all reported on the "19KB operating system" the same day ↗

    Trigger one: Kuai Ke Ji's Nov 18, 19:14 story, headlined "The OS that's only 19KB has gone viral!", with a popularity count of 3,079
    Trigger two: Hong Kong hardware outlet HKEPC's X post at 13:34 on Nov 18, with an image captioned "The editor read this on his knees", 123 likes
  8. The author's new project hit the Hacker News front page (47 points); xdos stars rose to 116, +62 in a single day ↗

    The same author's next project reached the Hacker News front page early on Nov 19, and the first comment praises his video

In detail

What it's like to use

The 512-byte boot sector reads the remaining 37 sectors into memory and decompresses them. The screen switches to 1024×768 and a desktop with blue sky and green grass appears; the wallpaper is drawn by code, not an image. The desktop has a terminal, notepad, paint, files, a calculator and a browser, and windows can be dragged, minimized and made full screen. The browser has its own TCP/IP and TLS 1.3 and can open text-only pages such as Wikipedia. It also uses virtual 8086 mode to run, unchanged, the two boot sector mini games the author made earlier.

The limits are written by the author himself in the README: it only recognizes one network card, the RTL8139 (so effectively it only runs in QEMU), HTTPS doesn't verify certificates, and the browser doesn't support JavaScript. It's a showpiece, not a system you can install on a machine. We did not compile and run it ourselves; the above comes from the README, the source code and the author's video.

Why people buy in

Small systems written in assembly aren't new: KolibriOS fits a whole desktop on one floppy disk, and bootOS is only 512 bytes but command line only. xdos sits in the gap between them that nobody occupied: a graphical desktop that can open HTTPS sites, at roughly one seventieth the size of KolibriOS. "19KB" is itself the headline, and all three outlets led with it.

The other half is how he tells it. Every project comes with an explainer video; this one runs 14 minutes 39 seconds and goes from the 512-byte boot all the way to squeezing it into 19KB. Someone on Hacker News said of him: "This guy's videos are inspirational and amusing… Ten out of ten would recommend."

How much to discount this growth

The absolute numbers are small: as of Nov 19, 128 stars and 12 forks, 62 of those stars coming in a single day. The video got about 82,000 views in 11 days while stars only reached 54, so most viewers don't star; the jump came from the Chinese media's concentrated retelling on Nov 18 (the Kuai Ke Ji piece had a popularity count of about 3,000). On the same day the author's two other small game repos gained not one star, so people came for this news, not for the author. The repo has had no new commits since Nov 8, and the buzz will most likely fall back to single digits a day.

There's also some controversy: the author's next project (a 965KB "GTA6") reached the Hacker News front page early on Nov 19, and in the comments some called it AI-generated "slop", while others defended him.

Can you follow it

It makes no money, it's MIT open source, and the beneficiary is the author's YouTube channel with 4,220 subscribers. What's worth learning is the method: find a reference point everyone understands (a screenshot is 3MB, this is 19KB) and compress the result into one number; keep the README to one screen and list the flaws too; make each new project build on the last one and accumulate into a series. What to avoid is treating stars as demand: this kind of technical spectacle brings onlookers, not users. It's fine to practice storytelling with it, but don't expect to monetize it.