{"id":28000413,"url":"https://github.com/khaledh/fusion","last_synced_at":"2025-05-16T05:05:53.725Z","repository":{"id":208728963,"uuid":"721336470","full_name":"khaledh/fusion","owner":"khaledh","description":"A hobby OS implemented in Nim https://0xc0ffee.netlify.app/osdev","archived":false,"fork":false,"pushed_at":"2025-05-07T13:14:15.000Z","size":3051,"stargazers_count":464,"open_issues_count":0,"forks_count":9,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-05-08T23:52:43.808Z","etag":null,"topics":["kernel","nim","operating-system","osdev"],"latest_commit_sha":null,"homepage":"","language":"Nim","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/khaledh.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,"zenodo":null}},"created_at":"2023-11-20T21:10:08.000Z","updated_at":"2025-05-07T13:14:19.000Z","dependencies_parsed_at":"2024-01-08T23:42:08.056Z","dependency_job_id":"bb856d99-c256-4991-b6c6-abc034cd7d00","html_url":"https://github.com/khaledh/fusion","commit_stats":null,"previous_names":["khaledh/fusion"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khaledh%2Ffusion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khaledh%2Ffusion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khaledh%2Ffusion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khaledh%2Ffusion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/khaledh","download_url":"https://codeload.github.com/khaledh/fusion/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254471061,"owners_count":22076585,"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":["kernel","nim","operating-system","osdev"],"created_at":"2025-05-08T23:52:41.698Z","updated_at":"2025-05-16T05:05:48.716Z","avatar_url":"https://github.com/khaledh.png","language":"Nim","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fusion OS\n\n\nFusion is a hobby operating system for x86-64 implemented in Nim. I'm documenting\nthe process of building it at: [https://0xc0ffee.netlify.app](https://0xc0ffee.netlify.app).\n\n## Screenshots\n\n**UEFI Bootloader**\n\n![UEFI Bootloader](screenshots/bootloader.png)\n\n**GUI** (_Note: This screenshot is from the `graphics` branch, which is still a work-in-progress._)\n\n![Screenshot from the graphics branch](screenshots/graphics.png)\n\n**Booting and Running the Kernel**\n\n![Booting and Running Fusion Kernel](screenshots/kernel-booting.png)\n\n## Features\n\nThe following features are currently implemented:\n\n- UEFI Bootloader\n- Memory Management\n  - Single Address Space\n  - Physical Memory Manager\n  - Virtual Memory Manager\n  - Higher Half Kernel\n- Task Management\n  - Kernel Tasks\n  - User Mode Tasks\n  - Preemptive Multitasking\n  - Priority-based Scheduling\n  - ELF Loader\n- System Calls\n  - System Call Interface\n  - SYSCALL/SYSRET\n  - User Mode Library\n- IPC\n  - Synchronization Primitives\n  - Channel-based IPC\n  - Message Passing\n- Hardware\n  - Timer Interrupts\n  - PCI Device Enumeration\n  - Bochs Graphics Adapter Driver\n\n#### Planned\n\n- Capability-based Security\n- Event-based Task State Machines\n- Demand Paging\n- Disk I/O\n- File System\n- Keyboard/Mouse Input\n- Shell\n- GUI\n- Networking\n\n## Building\n\nTo build Fusion, you need to have the following dependencies installed:\n\n- [Nim](https://nim-lang.org)\n- [LLVM](https://llvm.org) (clang and lld)\n- [Just](https://github.com/casey/just)\n\nThe `clang` and `lld` binaries should be in your `PATH`. You can edit the `.env` file to specify the path to the `clang` and `lld` binaries if they are not in your `PATH`.\n\nBuild Fusion with the following command:\n\n```sh\njust build\n```\n\n## Running\n\nFusion currently runs on [QEMU](https://www.qemu.org), so you'll need to install it first. Launch Fusion with the following command:\n\n```sh\njust run\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhaledh%2Ffusion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkhaledh%2Ffusion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhaledh%2Ffusion/lists"}