An archive of operating-system development tutorials originally written in Arabic, with progressively published English editions.
The historical PDFs, HTML exports, assembly programs, and kernel source remain in their original lesson directories.
Install the Node.js dependencies once:
pnpm installThen start the local site:
pnpm run devOpen http://127.0.0.1:4321/aos/. Astro watches the documentation files and reloads the browser as you edit them.
To preview the exact production build:
pnpm run build
pnpm run previewAfter changing lesson source, rebuild every registered playground artifact:
pnpm run playground:buildTo rebuild only one lesson, pass its playground ID:
pnpm run playground:build -- lesson-01Run the complete local check:
pnpm testThis refreshes every playground artifact and performs the same Starlight build used by GitHub Pages.
Install Chromium once, then run the browser smoke tests:
pnpm exec playwright install chromium
pnpm run test:e2ePlace a bootable floppy image or Multiboot ELF in
public/assets/playground/, then add the reusable playground host to any
tutorial Markdown file:
<div
data-aos-v86-playground
lesson="lesson-00"
title="Lesson 00 · Boot sector"
expected-output="Peace be upon you!"
></div>The shared script upgrades the Markdown-safe <div> to an
<aos-v86-playground> custom element. Floppy images are the default. Set
media="multiboot" and artifact="lesson-03.elf" for a directly loaded
Multiboot kernel. The optional description and memory-mib attributes adjust
the presentation and virtual machine.
Register each playground in playgrounds.json. The same manifest drives
artifact building and the browser smoke tests.