OS 1000 Lines in Zig
github.com · Open source · Maintained
Minimal RISC-V 32-bit operating system written in Zig
- Learning & reference
- Open source
- Zig
- Day-7 check
- Day-30 check
- Stars
- 185
- Forks
- 6
- Open issues
- 5
- Last commit
- Found
- 14 months ago
GitHub figures as of . They are context, not a ranking.
This repository is a minimal operating system for 32-bit RISC-V, written in the Zig programming language in about one thousand lines. It is meant as a learning project for people who want to see how a small kernel is built. It suits readers who want a compact operating system codebase to study.
Repository description on GitHub: “A minimal RISC-V 32-bit OS written in Zig.”
What it does
- Boots under QEMU on 32-bit RISC-V with OpenSBI
- Implements SV32 paging and round-robin scheduling
- Includes a VirtIO block driver and tar-based filesystem
- Provides an interactive shell with file commands
Good for
- Study how a small kernel handles paging and scheduling
- Boot a minimal RISC-V OS in QEMU to learn OS basics
Suits: Systems learners who want a compact OS codebase to read.
What you can try
Read the README on GitHub and build it from source.
Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.
Found vs. released
Kip first saw OS 1000 Lines in Zig on , when botirk posted it to Show HN. GitHub listed no published releases for botirk38/OS-1000-lines-zig when checked , so the project may ship straight from its main branch. The repository was created .
Day-7 and day-30 updates
Day 7 no new release
- No tagged release was published in the first 7 days after it was found (GitHub release dates).
- Show HN discussion at check time: 151 points, 34 comments. API record
Checked , later than day 7 because tracking began after.
Day 30 no new release
- No tagged release was published in the first 30 days after it was found (GitHub release dates).
- Show HN discussion at check time: 151 points, 34 comments. API record
Checked , later than day 30 because tracking began after.
Release timeline every entry links to its source
- Repository created on GitHub: botirk38/OS-1000-lines-zig
- Found: botirk posted it to Show HN. Show HN
- Day-7 check recorded by Kip (details)
- Day-30 check recorded by Kip (details)
Quick answers
- When was OS 1000 Lines in Zig released?
- No dated release record is available. Kip found it on Show HN on 18 Sep 2025.
- Is OS 1000 Lines in Zig open source?
- Its source is public on GitHub at botirk38/OS-1000-lines-zig; check the repository for licence terms.
- Is OS 1000 Lines in Zig free?
- It is open source, so the code is free to read and run; check the licence for terms.
- Is OS 1000 Lines in Zig still maintained?
- It had a commit or release in the last year, though not in the last 90 days, as of the latest check.
Provenance
| Source | Record | Last checked |
|---|---|---|
| Show HN | listing official API record | |
| GitHub repository | botirk38/OS-1000-lines-zig REST API record | |
| GitHub Releases | release list REST API record |
Stable ID hn-45290590. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.
Share
Similar tools
Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.