{"id":14990807,"url":"https://github.com/48cf/limine-zig-template","last_synced_at":"2025-04-12T03:24:23.647Z","repository":{"id":50631553,"uuid":"519651865","full_name":"48cf/limine-zig-template","owner":"48cf","description":"A simple template for building a Limine-compliant kernel in Zig.","archived":false,"fork":false,"pushed_at":"2025-03-12T22:19:02.000Z","size":7,"stargazers_count":30,"open_issues_count":1,"forks_count":4,"subscribers_count":1,"default_branch":"trunk","last_synced_at":"2025-04-05T08:43:53.449Z","etag":null,"topics":["amd64","bare-bones","barebones","kernel","limine","limine-bootloader","template","x86-64","zig","ziglang"],"latest_commit_sha":null,"homepage":"","language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"0bsd","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/48cf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2022-07-31T01:05:17.000Z","updated_at":"2025-03-19T09:51:18.000Z","dependencies_parsed_at":"2022-09-05T22:01:11.449Z","dependency_job_id":"95bfaeea-506a-4160-91b6-0ac2f9c27c64","html_url":"https://github.com/48cf/limine-zig-template","commit_stats":{"total_commits":66,"total_committers":9,"mean_commits":7.333333333333333,"dds":0.3939393939393939,"last_synced_commit":"b8dbe471ce28f2303ae538359852409e77ccc97d"},"previous_names":["limine-bootloader/limine-zig-template","48cf/limine-zig-template"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/48cf%2Flimine-zig-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/48cf%2Flimine-zig-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/48cf%2Flimine-zig-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/48cf%2Flimine-zig-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/48cf","download_url":"https://codeload.github.com/48cf/limine-zig-template/tar.gz/refs/heads/trunk","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248511038,"owners_count":21116337,"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","bare-bones","barebones","kernel","limine","limine-bootloader","template","x86-64","zig","ziglang"],"created_at":"2024-09-24T14:20:53.306Z","updated_at":"2025-04-12T03:24:23.641Z","avatar_url":"https://github.com/48cf.png","language":"Makefile","readme":"# Limine Zig Template\n\nThis repository will demonstrate how to set up a basic kernel in Zig using Limine.\n\n## How to use this?\n\n### Dependencies\n\nAny `make` command depends on GNU make (`gmake`) and is expected to be run using it. This usually means using `make` on most GNU/Linux distros, or `gmake` on other non-GNU systems.\n\nA Zig compiler is required to build the kernel. Minimum supported version is 0.14.0. You can install Zig from the [official website](https://ziglang.org/download/).\n\nAdditionally, building an ISO with `make all` requires `xorriso`, and building a HDD/USB image with `make all-hdd` requires `sgdisk` (usually from `gdisk` or `gptfdisk` packages) and `mtools`.\n\n### Architectural targets\n\nThe `ARCH` make variable determines the target architecture to build the kernel and image for.\n\nThe default `ARCH` is `x86_64`. Other options include: `aarch64`, `loongarch64`, and `riscv64`.\n\n### Makefile targets\n\nRunning `make all` will compile the kernel (from the `kernel/` directory) and then generate a bootable ISO image.\n\nRunning `make all-hdd` will compile the kernel and then generate a raw image suitable to be flashed onto a USB stick or hard drive/SSD.\n\nRunning `make run` will build the kernel and a bootable ISO (equivalent to make all) and then run it using `qemu` (if installed).\n\nRunning `make run-hdd` will build the kernel and a raw HDD image (equivalent to make all-hdd) and then run it using `qemu` (if installed).\n\nFor x86_64, the `run-bios` and `run-hdd-bios` targets are equivalent to their non `-bios` counterparts except that they boot `qemu` using the default SeaBIOS firmware instead of OVMF.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F48cf%2Flimine-zig-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F48cf%2Flimine-zig-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F48cf%2Flimine-zig-template/lists"}