Find your next open-source project

Search by name, purpose, or keyword, or paste a GitHub URL. Start with / to search agent skills (e.g. /pdf)

SerenityOS/serenity

System Tools

A from-scratch graphical Unix-like OS for x86, Arm and RISC-V, aimed at OS developers and retro-UI enthusiasts.

34,072
3,484
C++
BSD-2-Clause
8 years old

Project overview

SerenityOS is a graphical Unix-like operating system written from scratch for 64-bit x86, Arm and RISC-V machines. It pairs a modern 64-bit pre-emptive kernel with a desktop styled after late-1990s productivity software, and ships its own userland: windowing services, POSIX-compatible LibC and shell, a JavaScript/WebAssembly-capable browser, networking stack, development tools and everyday GUI applications, all in this one repository SerenityOS/serenity.

The author has framed the goal as a marriage of late-90s GUI aesthetics with the power-user accessibility of late-2000s Unix, with input from macOS sensibilities author's comment on the HN thread and his reply on design influences. The whole system is built in-tree without extra dependencies, and there are also several hundred ports of open-source software for those who want more port list.

This is a hobby/research operating system, not a drop-in replacement for a daily-driver Linux. It is a good fit for people interested in kernel and OS internals, desktop environment design, or contributing to a long-running from-scratch codebase.

Getting started

There is no installer download: the build system cross-compiles SerenityOS from Linux, macOS, Windows (via WSL2) or another Unix host and then launches it in QEMU with hardware or software virtualization.

  1. Read the SerenityOS build instructions; they contain the host prerequisites, toolchain setup, build directory layout and QEMU launch commands.
  2. Set up the host dependencies listed there, then use the documented build command to compile the system and userland.
  3. Run the generated image through QEMU as described for your platform; the default commands start a QEMU instance automatically.
  4. On the running system, use man in a terminal or the graphical help app to browse documentation. Man pages are also online at man.serenityos.org.

The README points to the separate Ladybird build instructions if you only want the browser engine rather than the full OS.

Requirements and limitations

  • Cross-compilation requires a host toolchain and QEMU; the README states support for Linux, macOS, Windows with WSL2 and many other Unix systems.
  • The OS supports x86, Arm and RISC-V, but the current repository description and README focus on 64-bit targets.
  • POSIX compatibility is described as "good" rather than complete, and the file system support centers on ext2.
  • It is a young system under active development; expect missing software and API churn rather than a stable desktop platform.
  • The project is under the 2-clause BSD license README license section.

Project context

Development is documented through author and contributor videos Andreas Kling's channel, and the project has an active community Discord and a contributing guide. The original HN discussion in 2019 drew praise from commenters for the breadth of a single-person effort thread, comment, with some commenters debating whether the retro desktop paradigm is itself innovative comment.

HotRepo's take

SerenityOS appeared in the HotRepo C++ weekly ranking snapshot for 2026-12-04 at position 4, with 61 stars gained that week against a cumulative total of 34,066 stars. That single snapshot only supports the ranking and weekly-gain facts for that date; there is no long enough same-period series here to call a trend. The project's GitHub all-language daily best rank is not recorded in the provided data, so no daily-rank conclusion is drawn.

Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.

Hacker News

SerenityOS – a graphical Unix-like OS for x86, with 90s aesthetics
▲ 469 · 179 comments · May 22, 2019
SerenityOS Browser Process Architecture
▲ 2 · 0 comments · July 6, 2020

You might also like

  1. DimitriFourny/vibeOSA from-scratch arm64 operating system in Rust with a GUI desktop and shell, built as an LLM experiment and runnable in QEMU.Rust113