[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-111173":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":23,"hasPages":23,"topics":25,"createdAt":10,"pushedAt":33,"updatedAt":34,"readmeContent":35,"aiSummary":36,"trendingCount":16,"starSnapshotCount":16,"syncStatus":37,"lastSyncTime":38,"discoverSource":39},111173,"Kernarium","imxieyi\u002FKernarium","imxieyi","Run real Linux kernel natively on iOS","",null,"C++",2886,313,19,15,0,267,2266,2529,1401,109.45,"GNU General Public License v2.0",false,"main",[26,27,28,29,30,31,32],"android","emulator","ios","linux","linux-kernel","user-mode-linux","virtualization","2026-11-22 18:45:39","2026-11-23 20:39:04","Kernarium\n===\n\nRun a real Linux kernel natively on iOS, through the magic of [User-mode Linux](https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FUser-mode_Linux).\n\n## Apps\n\n### Andarium\n\nAn Android emulator app built on the Kernarium runtime is available in [TestFlight beta](https:\u002F\u002Ftestflight.apple.com\u002Fjoin\u002FqyPvJTUE). Source code is available under [`Andarium\u002F`](\u002FAndarium\u002F).\n\nThe TestFlight beta only has 10,000 tester slots and gets filled up quickly. Alternatively, you can sideload IPA from [releases](https:\u002F\u002Fgithub.com\u002Fimxieyi\u002FKernarium\u002Freleases).\n\n### Kernarium\n\nA generic Linux emulator app capable of running various Linux distributions. It's still at an early stage of development and isn't ready for release yet. Source code is available under [`Kernarium\u002F`](\u002FKernarium\u002F).\n\n## Overview\n\nThe User-mode Linux kernel is compiled to native arm64 code, then linked to an iOS runtime framework. The kernel runs natively without emulation. Userspace programs are emulated using an [iSH](https:\u002F\u002Fgithub.com\u002Fish-app\u002Fish)-style threaded interpreter, with SMP support. Guest GPU acceleration is provided by [KosmicKrisp](https:\u002F\u002Fdocs.mesa3d.org\u002Fdrivers\u002Fkosmickrisp.html), a translation layer from Vulkan to Metal.\n\nThis emulator architecture sits between a full system emulator (like [UTM](https:\u002F\u002Fgithub.com\u002Futmapp\u002FUTM)) and a full userspace emulator (like [iSH](https:\u002F\u002Fgithub.com\u002Fish-app\u002Fish)). It combines the benefits of a real Linux kernel and a userspace emulator that only needs to emulate userspace code. It's capable of running advanced workloads including Docker containers, Linux desktops, Wine\u002FProton and a full Android system at decent speed on modern iOS devices.\n\n## Features\n\n- Kernel\n    - Mainline 6.18 LTS kernel for both Linux and Android guests\n    - Supports most kernel features, including namespaces, SELinux and more\n- CPU emulation\n    - Supports `arm64`, `arm32`, `x86_64` guest instructions\n    - Both interpreter and JIT execution modes (interpreter-only for TestFlight release)\n- GPU acceleration\n    - Vulkan 1.4 via [KosmicKrisp](https:\u002F\u002Fdocs.mesa3d.org\u002Fdrivers\u002Fkosmickrisp.html)\n    - OpenGL 4.6 & GLES 3.2 via [Zink](https:\u002F\u002Fdocs.mesa3d.org\u002Fdrivers\u002Fzink.html)\n    - Hardware video encoding and decoding (H.264, HEVC) via [VideoToolbox](https:\u002F\u002Fdeveloper.apple.com\u002Fdocumentation\u002Fvideotoolbox)\n- Storage\n    - Supports virtual disks via UBD driver, with discard support\n    - Supports any Linux filesystem including ext2\u002F3\u002F4, erofs, xfs, ...\n    - Supports loop devices and FUSE\n- Network\n    - Full Linux networking stack\n    - Guest network access via [libslirp](https:\u002F\u002Fgitlab.freedesktop.org\u002Fslirp\u002Flibslirp)\n\n## Build or Embed\n\nPoint your coding agent at this repo if you want to build the project or embed its runtime in other apps. The agent guide is [`AGENTS.md`](\u002FAGENTS.md), and the documentation is under [`docs\u002F`](\u002Fdocs\u002F).\n\nBuilding Android system image requires a powerful remote x86_64 Linux building machine ([requirements](https:\u002F\u002Fsource.android.com\u002Fdocs\u002Fsetup\u002Fstart\u002Frequirements)). Alternatively, you can download prebuilt images from [releases](https:\u002F\u002Fgithub.com\u002Fimxieyi\u002FKernarium\u002Freleases) and point your coding agent at it.\n\n## License\n\nThis project is licensed under GPL-2.0-or-later, except where a file's SPDX header says otherwise; see [`LICENSES\u002F`](\u002FLICENSES\u002F).\n","Kernarium 是一个在 iOS 设备上原生运行真实 Linux 内核的轻量级虚拟化运行时框架。它基于 User-mode Linux（UML）技术，将主线 Linux 内核交叉编译为 arm64 原生代码，在 iOS 上无指令集模拟地执行；用户态程序则通过线程化解释器（支持 SMP）运行，并集成 KosmicKrisp（Vulkan→Metal）、Zink（OpenGL→Metal）及 VideoToolbox 实现 GPU 与硬件编解码加速。项目支持 ext4\u002Ferofs\u002Fxfs 等文件系统、完整网络栈（libslirp）、Docker 容器及 Android 系统镜像，适用于 iOS 平台上的 Linux 开发测试、终端工具链使用、轻量桌面环境或 Android 模拟等场景。",2,"2026-11-24 04:40:19","CREATED_QUERY"]