RepositoryCDEGermany
maxdev1

maxdev1/ghost

Ghost, a micro-kernel based hobby operating system.

699stars
66forks
5issues
4views

👻 Ghost OS: A From-Scratch Microkernel Desktop

A hobby OS, not Linux, not BSD — built piece by piece up to a real desktop.

Ghost is an x86-64 operating system written in C, C++, and assembly. Independently developed (not based on Linux, BSD, or any other existing OS), it pairs a microkernel with userspace drivers and the ƒenster desktop. The project ships ISO releases, documentation, and a build path that produces a bootable target/ghost.iso.

✨ Highlights

  • Microkernel core: SMP kernel with ELF/shared-library loading, tasks, IPC, and memory management.
  • Userspace toolchain: libapi syscall wrappers, a C runtime, and an x86_64-ghost GCC toolchain.
  • Hardware and filesystem services: PCI, ACPI, PS/2, AHCI, FAT, boot-framebuffer, and VMSVGA services.
  • ƒenster desktop stack: Window server/UI toolkit, desktop, terminal, shell, editor, and file browser.
  • Ported libraries: Cairo, FreeType, Pixman, libpng, zlib, and musl mathematical routines.
  • Build and boot flow: Docker-based toolchain setup, ./build.sh --ci to produce target/ghost.iso, bootable with qemu-system-x86_64.
  • Persistent install: Installer copies the live system to an empty AHCI disk for persistent FAT-backed boot.

💡 Why it matters

Ghost shows a full vertical slice of OS work, not just a kernel demo. It moves from microkernel primitives (tasks, IPC, memory management) up through userspace services to a usable ƒenster desktop, with familiar graphics and math libraries ported in.

Best fit for OSdev learners and tinkerers who want to study or run a self-contained x86-64 system. Independent codebase makes architecture choices easier to trace than in a Linux/BSD-derived tree.


#OSDev #Microkernel #x86_64 #HobbyKernel #TiniX

Similar Projects

Discover other similar projects and AI models.

RepositoryC
reactos/reactos

A free Windows-compatible Operating System

18.6k
Nov 28, 2026
RepositoryC
unikraft/unikraft

A next-generation cloud native kernel designed to unlock best-in-class performance, security primitives and efficiency savings.

4.0k
Nov 30, 2026
RepositoryRust
maestro-os/maestro

Lightweight, Linux-compatible kernel, written in Rust to leverage the safety of the typesystem. Aiming to remove as much legacy as possible while supporting most usecases

3.3k
Nov 15, 2026
RepositoryC
Awesome-HarmonyOS/HarmonyOS

A curated list of awesome things related to HarmonyOS. 华为鸿蒙操作系统。

20.0k
Jul 19, 2024
RepositoryC
s-matyukevich/raspberry-pi-os

Learning operating system development using Linux kernel and Raspberry Pi

14.0k
Mar 29, 2024
RepositoryC++
SerenityOS/serenity

The Serenity Operating System 🐞

34.0k
Nov 28, 2026
RepositoryHTML
phil-opp/blog_os

Writing an OS in Rust

17.9k
Oct 28, 2026
RepositoryHTML
phil-opp/blog_os

Writing an OS in Rust

17.9k
Oct 28, 2026
RepositoryC++
skift-org/skift

🥑 A modern delightful operating system (mirror)

3.0k
Jul 8, 2026