[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-113763":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":15,"forks30d":15,"starsTrendScore":19,"compositeScore":20,"rankGlobal":9,"rankLanguage":9,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":22,"topics":24,"createdAt":9,"pushedAt":25,"updatedAt":26,"readmeContent":27,"aiSummary":28,"trendingCount":15,"starSnapshotCount":15,"syncStatus":29,"lastSyncTime":30,"discoverSource":31},113763,"kaihen","ouncebrew\u002Fkaihen","ouncebrew","Homebrew enabler and minimal CFW for Switch 2",null,"C++",397,46,11,12,0,3,108,207,28,80.96,"GNU General Public License v2.0",false,"main",[],"2026-11-23 17:36:52","2026-11-23 20:07:42","# kaiHEN改変\n\nkaiHEN改変 is a homebrew environment and minimal custom firmware for Switch 2.\n\n## Warning\n\nIt's still a work in progress, and might have bugs.\n\nWe allow full access to the system, including the system NAND. A malicious\nhomebrew might write to your Switch 2 and brick it forever, so be warned.\n\n## Components\n\n- `ro\u002F`: an `ldr:ro` service. It maps NROs into its clients' processes,\n  publishes JIT code for them, and gives initialized clients a session with\n  HEN.\n- `bootstrap\u002F`: the startup program. It starts HEN and the plugins, hands\n  them the sessions they keep, and connects RO to HEN.\n- `hen\u002F`: HEN service. It starts the homebrew loader when a\n  native game is opened with R held, gives each program its own session on\n  an SM proxy, and serves the homebrew interface. See `hen\u002FREADME.md`.\n- `libkaihen\u002F`: kaiHEN's homebrew API, with added JIT support.\n- `common\u002F`: code and protocol definitions.\n\n## Starting it\n\nHEN is started from various acquisition tools available for Switch 2. Run a\nnative game by holding R. The second launch and onwards will launch into\nhbmenu.\n\n## Developing homebrew\n\nSee the devkit repository,\n[ouncebrew\u002Founce-devkit](https:\u002F\u002Fgithub.com\u002Founcebrew\u002Founce-devkit), to\nbuild homebrew. Existing Switch 1 homebrew that uses libnx and OpenGL or\nVulkan can be compiled for Switch 2 with it.\n\nHomebrew and plugins are allowed access to all system modules fs can access,\nso a large number of them.\n\n## Building\n\nWith the Switch 2 devkit installed in devkitPro (see the devkit repository,\nouncebrew\u002Founce-devkit):\n\n```sh\nmake\n```\n\nThis builds RO (`ro\u002Fbuild\u002Fmain`), HEN (`hen\u002Fbuild\u002Fmain`), the bootstrap\n(`bootstrap\u002Fbuild\u002Fbootstrap.bin`) and libkaihen (`libkaihen\u002Fbuild\u002F`).\n`make LIBOUNCE=DIR` can build against another libounce.\n\nWith Docker (or Podman), in the devkit's image.\n\n```sh\ndocker build --output out .\n```\n\nwrites `out\u002Fro\u002Fmain`, `out\u002Fhen\u002Fmain`, `out\u002Fbootstrap.bin` and\n`out\u002Flibkaihen\u002F`.\n\n```sh\ndocker build --build-arg RELEASE=1 --output out .\n```\n\nwrites the release, `out\u002FkaiHEN.zip`: these binaries with nx-hbloader\n(`game\u002Fmain`), nx-hbmenu (`hbmenu.nro`) and OunceShell\n(`programs\u002Founceshell.nro`, a file manager with an FTP server),\nbuilt at the commits that the Dockerfile names, and the licenses of\neverything in it (`licenses\u002F`).\n\nThe host tests, `sh hen\u002Ftest.sh` and `sh ro\u002Ftest.sh`,\nbuild with the host compiler and read libounce's headers from\n`LIBOUNCE`.\n\n## License\n\nCopyright (c) 2026 kaiHEN contributors.\n\nkaiHEN is licensed under the GNU General Public License, version 2 only\n(GPL-2.0-only, `LICENSE`), with the exemption below. `libkaihen\u002F` is ISC.\n\nEach file names its license in an SPDX header.\n\nExemptions:\n\n- [Nintendo](https:\u002F\u002Fgithub.com\u002FNintendo) is exempt from GPLv2 licensing\n  and may (at its option) instead license any source code authored for the\n  kaiHEN project under the Zero-Clause BSD license.\n\nContributions to kaiHEN are accepted under these terms: GPL-2.0-only with\nthis exemption, or the permissive license of the part they change.\n\nThanks to\n\n- All kaiHEN改変 private beta testers.\n- r\u002Fswitch2hacks discord for a place to do and share research.\n","kaiHEN改変是一个为Nintendo Switch 2设计的轻量级自制软件（homebrew）运行环境与最小化自定义固件（CFW）。它通过RO服务、HEN核心服务和启动引导组件协同工作，支持在原生游戏中按R键加载自制程序，并提供JIT代码映射、SM代理会话管理及完整系统模块访问能力。基于C++实现，依赖ounce-devkit工具链构建，兼容部分Switch 1的libnx\u002FOpenGL\u002FVulkan自制软件。适用于Switch 2平台的开发者调试、自制应用部署及底层系统研究等场景，需注意存在NAND写入风险，目前仍处于开发阶段。",2,"2026-11-24 04:46:57","CREATED_QUERY"]