{"id":29470144,"url":"https://github.com/voidpx/qux","last_synced_at":"2025-07-14T12:02:39.110Z","repository":{"id":302688756,"uuid":"1008495585","full_name":"voidpx/qux","owner":"voidpx","description":"A toy operating system.","archived":false,"fork":false,"pushed_at":"2025-07-10T16:20:24.000Z","size":8323,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-10T22:52:47.730Z","etag":null,"topics":["hobby-os","zig"],"latest_commit_sha":null,"homepage":"","language":"Zig","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/voidpx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-25T16:22:54.000Z","updated_at":"2025-07-10T16:20:27.000Z","dependencies_parsed_at":"2025-07-03T18:53:35.613Z","dependency_job_id":null,"html_url":"https://github.com/voidpx/qux","commit_stats":null,"previous_names":["voidpx/qux"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/voidpx/qux","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voidpx%2Fqux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voidpx%2Fqux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voidpx%2Fqux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voidpx%2Fqux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/voidpx","download_url":"https://codeload.github.com/voidpx/qux/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voidpx%2Fqux/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265288496,"owners_count":23741194,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hobby-os","zig"],"created_at":"2025-07-14T12:01:23.802Z","updated_at":"2025-07-14T12:02:39.103Z","avatar_url":"https://github.com/voidpx.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A toy OS\n\nQux is a toy operating system for x64 written in zig.\n\n![run command with dash!](qux.gif)\n\n### Build and run\n\n- can only be built in Linux on x64 with grub installed. \n- the `kernel` directory contains the kernel source code\n- the `boot` directory contains some utility for bootstrap. steps to build:\n    - run `zig build` under `kernel` to build the kernel\n    - `mkimg test.img` make a disk image named `test.img` with grub installed to boot the OS with multiboot2.\n    - `build`  build everything under `boot` directory and copy the kernel to the disk image built above and start QEMU to run it\n\n### What's implemented\n\n- [x] basic memory management\n- [x] basic process management/scheduling\n- [x] basic ATA driver\n- [x] ext2 file system, read only so far\n- [x] syscalls, trying to implement Linux syscalls, so that userspace programs for Linux could hopefully run on Qux \n- [x] basic ELF loader\n- [x] use dash (recompiled with musl-gcc as static executable) as the shell\n- [x] can run doom(doomgeneric), kind of :), key handling is still to be done\n\n### TODO\n\n- [ ] network stack\n- [ ] SMP support\n- [ ] more syscalls\n- [ ] implement dynamic loading so that linux programs can run without recompiling??\n- [ ] port some usefull userspace programs\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoidpx%2Fqux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvoidpx%2Fqux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoidpx%2Fqux/lists"}