{"id":18004420,"url":"https://github.com/yeetari/umbongo","last_synced_at":"2025-04-04T09:42:36.809Z","repository":{"id":160389131,"uuid":"333583040","full_name":"yeetari/umbongo","owner":"yeetari","description":"The umbongo operating system","archived":false,"fork":false,"pushed_at":"2024-02-02T16:47:11.000Z","size":2593,"stargazers_count":1,"open_issues_count":11,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-09T20:19:06.778Z","etag":null,"topics":["amd64","operating-system","x86-64"],"latest_commit_sha":null,"homepage":"","language":"C++","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/yeetari.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}},"created_at":"2021-01-27T22:58:25.000Z","updated_at":"2021-12-30T19:34:05.000Z","dependencies_parsed_at":"2024-02-02T17:52:53.331Z","dependency_job_id":null,"html_url":"https://github.com/yeetari/umbongo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yeetari%2Fumbongo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yeetari%2Fumbongo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yeetari%2Fumbongo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yeetari%2Fumbongo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yeetari","download_url":"https://codeload.github.com/yeetari/umbongo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247157081,"owners_count":20893202,"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":["amd64","operating-system","x86-64"],"created_at":"2024-10-30T00:14:21.856Z","updated_at":"2025-04-04T09:42:36.783Z","avatar_url":"https://github.com/yeetari.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# umbongo\n\nAn x86 operating system\n\n* 64-bit and UEFI only\n* Aiming for a microkernel design, with the kernel's primary focus being IPC\n* Work in progress posix layer library that can already host a few ports (ld, tcc, yasm)\n* Written in C++ 20\n\n## Building and running\n\nUmbongo uses an LLVM toolchain for building, along with its own build tool for generating `ninja` files. `freetype` and\n`nasm` (`yasm` should also work) will also be needed. `mtools` and `qemu` are optional and are needed for building a\nfilesystem image and running in a VM respectively.\n\nAlternatively, umbongo can be built in a reproducible docker environment ([see below](#building-in-docker)).\n\n### Installing tools and dependencies\n\n#### Gentoo\n\n    emerge -n \\\n      app-emulation/qemu \\\n      dev-lang/nasm \\\n      dev-util/ninja \\\n      media-libs/freetype \\\n      sys-devel/clang \\\n      sys-devel/lld \\\n      sys-fs/mtools\n\n### Configuring the build\n\nTo configure umbongo, call the `configure.py` script with a preset:\n\n    python3 configure.py \\\n      -B build \\\n      -p release \\\n      -e assertions \\\n      -e kernel_qemu_debug\n\n#### Available options\n\n| Option                   | Description                                      |\n|--------------------------|--------------------------------------------------|\n| `assertions`             | Enables assertions project-wide                  |\n| `assertions_pedantic`    | Enables more aggressive assertions               |\n| `kernel_qemu_debug`      | Enables kernel debug logging to port E9          |\n| `kernel_stack_protector` | Enables stack smashing protection for the kernel |\n| `kernel_ubsan`           | Enables UBSan for the kernel                     |\n\n### Running with qemu\n\n    ninja -C build run\n\n## Installing ports\n\nTo install ports, first make sure the sysroot is up-to-date by running\n\n    ninja -C build sysroot\n\n(note that the `image` and `run` targets automatically do this)\n\nThen, run the port's `install.sh` script, passing in the build directory. For example, to install `tcc`, you would do\n\n    ./ports/tcc/install.sh build\n\n## Building in docker\n\n    docker run --rm -u $(id -u) -v $(pwd):/src ghcr.io/yeetari/umbongo:master python3 /src/configure.py \\\n      -B/src/build \\\n      -p release \\\n      -e assertions\n    docker run --rm -u $(id -u) -v $(pwd):/src ghcr.io/yeetari/umbongo:master ninja -C /src/build\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyeetari%2Fumbongo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyeetari%2Fumbongo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyeetari%2Fumbongo/lists"}