Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
P

Polaris

> 编程语言
Open source

Polaris Logo by Toastito Note This codebase will no longer be maintained. There are plans to restart this project from scratch. Over time, …

613 stars0 likes1 views
WebsiteGitHub

About

Polaris Logo by Toastito Note This codebase will no longer be maintained. There are plans to restart this project from scratch. Over time, …

Polaris

Logo by Toastito

Note

This codebase will no longer be maintained. There are plans to restart this project from scratch. Over time, I've learned more about OS development and feel like I could do a lot of things differently now. Feel free to look around the code, but be warned there may be some bugs lurking here and there.

Polaris is an UNIX-like kernel written in C, which uses Limine as its default bootloader and boot protocol. It's goal is to be simple to build and understand, while also acting as a learning experience.

Background Image by Ambra

[!WARNING] Polaris is under active development and is not suitable for real usage.

Building

Building requires a Linux environment, Windows users may use WSL2 without issues.

  1. Clone the repository with submodules.
  2. Install make, xorriso and bsdtar.
  3. Run make jinx to download the jinx script used for building Polaris' userspace
  4. Run make userspace-base on the repository's root to build a base system. Run make userspace-full on the repository's root to build all the packages ported.
  5. Run make to generate an ISO image.

Running

It is recommended to use QEMU for ease of use. An example command to run Polaris would be as follows: Since the entire rootfs is in the ramdisk atleast 8 gigabytes of memory is needed for the entire userspace. userspace-base can be used if you don't have the required memory free.

We intend to move the rootfs to disk later on but for now you need to allocate minimum 8 gigabytes.

qemu-system-x86_64 -M q35 -m 8192M -cdrom [ISO path] -serial stdio -boot d -smp 4

Here are some additional options:

  • -cpu qemu64,+la57: Tests level 5 paging support.
  • -accel kvm -cpu host: Enables KVM (requires host support).

Contributing

We would appreciate issues and pull requests, any help is appreciated! A detailed contribution guide will be added later into development.

License

Polaris is licensed under the Apache License 2.0 which you can read here.

Credits

  • Vinix: The socket implementation is a C translation of Vinix's. Most of the recipes are based off Vinix's.
…
  • Lyre: Heavy inspiration for VFS, Events API, Timers and some other bits of code.
…
  • Musl: Various libc functions used in the codebase.
…
  • eyalroz/printf: Printf implementation used in the code.
…

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rust

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言