[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-116650":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":17,"stars90d":15,"forks30d":15,"starsTrendScore":18,"compositeScore":19,"rankGlobal":9,"rankLanguage":9,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":21,"hasPages":21,"topics":23,"createdAt":9,"pushedAt":32,"updatedAt":33,"readmeContent":34,"aiSummary":35,"trendingCount":15,"starSnapshotCount":15,"syncStatus":14,"lastSyncTime":36,"discoverSource":37},116650,"lean11","solisinvictum\u002Flean11","solisinvictum","Build trimmed, private Windows 11 ISOs on Linux, macOS and Windows: native DISM\u002FCBS\u002FAppx in Rust, verified privacy settings, traffic-light rating for every removable item",null,"Rust",70,5,54,2,0,1,15,11,53.33,"GNU Affero General Public License v3.0",false,"main",[24,25,26,27,28,29,30,31],"debloat","dism","iso","privacy","rust","tiny11","tui","windows-11","2026-11-23 19:50:27","2026-11-23 07:55:54","# lean11\n\nBuild trimmed, private Windows 11 ISOs on Linux, macOS and Windows, without DISM or a VM: remove bundled apps\nand features, apply a verified catalog of privacy settings, add custom removals from the image's full inventory,\nreuse your choice as a template. The DISM, CBS and Appx operations it needs are reimplemented natively (offline\nservicing store, component manifests, provisioned apps, offline registry, Task Scheduler cache).\n\nThe interface is a CLI and a terminal wizard (TUI).\n\n![lean11 wizard: from the Windows ISO to a trimmed ISO](docs\u002Fmedia\u002Flean11-demo.gif)\n\n*The wizard on a real Windows 11 26H2 ISO: pick the build, the edition, components, privacy settings, custom\nremovals and extra software, then build. The waits for the image inventory and the build (about 30 minutes) are\ncut out.*\n\n## What it looks like\n\nEvery removable item carries a traffic-light rating with what it is, what happens without it and how that was\nverified: **green** only the item goes, **yellow** other functions are affected, **red** setup or Windows breaks\n(proven by a test install). See [docs\u002FKNOWLEDGE.md](docs\u002FKNOWLEDGE.md).\n\n\u003Ctable>\n\u003Ctr>\n\u003Ctd width=\"50%\">\u003Cimg src=\"docs\u002Fmedia\u002Fcomponents.png\" alt=\"Components step\">\u003Cbr>\n\u003Cb>Components.\u003C\u002Fb> The bundled apps and features lean11 removes, each with its rating and the effect of removing\nit.\u003C\u002Ftd>\n\u003Ctd width=\"50%\">\u003Cimg src=\"docs\u002Fmedia\u002Fprivacy.png\" alt=\"Privacy step\">\u003Cbr>\n\u003Cb>Privacy.\u003C\u002Fb> A curated catalog of settings (telemetry, ads, app permissions, ...) with their documentation;\n\u003Ccode>r\u003C\u002Fcode> selects all recommended ones.\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Cimg src=\"docs\u002Fmedia\u002Fcustom.png\" alt=\"Custom step\">\u003Cbr>\n\u003Cb>Custom.\u003C\u002Fb> The full inventory of the chosen edition: apps, features, capabilities, packages, services and\ndrivers, system apps. Names come from the image (a German ISO here); red items break Windows.\u003C\u002Ftd>\n\u003Ctd>\u003Cimg src=\"docs\u002Fmedia\u002Fsoftware.png\" alt=\"Software step\">\u003Cbr>\n\u003Cb>Software.\u003C\u002Fb> Programs installed at the end of setup, in their latest version from the winget catalog and checked\nby SHA-256.\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Cimg src=\"docs\u002Fmedia\u002Freview.png\" alt=\"Review step\">\u003Cbr>\n\u003Cb>Review.\u003C\u002Fb> Everything that will happen, before anything is written.\u003C\u002Ftd>\n\u003Ctd>\u003Cimg src=\"docs\u002Fmedia\u002Fbuild.png\" alt=\"Finished build\">\u003Cbr>\n\u003Cb>Build.\u003C\u002Fb> The image is extracted, serviced natively and written back; the ISO comes with its SHA-256.\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftable>\n\n## Install\n\nDownload the archive for your system from the [releases page](..\u002F..\u002Freleases) and unpack it:\n\n| System | Archive |\n| --- | --- |\n| Linux x86_64 | `lean11-\u003Cversion>-linux-x86_64.tar.gz` |\n| macOS (Apple Silicon) | `lean11-\u003Cversion>-macos-arm64.tar.gz` |\n| Windows 10\u002F11 x64 | `lean11-\u003Cversion>-windows-x64.zip` |\n\nEach archive holds one self-contained binary and a `.sha256` file lies next to it. On macOS, remove the download\nquarantine once (`xattr -d com.apple.quarantine lean11`) or allow it under System Settings, Privacy & Security.\n\nOr build it yourself, see [Build from source](#build-from-source).\n\nOn Windows, `lean11.exe` needs no installer and no administrator rights. Run it in Windows Terminal or\nPowerShell (`lean11.exe tui`, `lean11.exe build …`). The working folder must be on NTFS (hard links); Defender\nscans the extracted image, so a build takes about twice as long as on Linux (about 35 min for Lean in a VM).\nVerified 26.10.2026: built on Windows 11 26H2, the ISO installs and passes all 232 checks of its privacy settings.\n\nlean11 is one self-contained binary: WIM\u002FESD reading, extraction and writing (`lean11-wim`, with wimlib's\ncompressors translated to Rust in `lean11-codecs`), the offline registry (`lean11-hive`), UDF\u002FISO (`lean11-iso`) and\nthe Microsoft download (`lean11-msdl`) are built in. wimlib (`wimtools` \u002F `wimlib`) and FUSE 3 are only needed\nfor the fallback `LEAN11_WIMLIB=1`, which uses `wimlib-imagex` and FUSE mounts instead (and needs root).\n\n## Use\n\nBuilding does not need root: the image is extracted into the job folder (real hard links), edited there and\nwritten back. The working folder needs room for the extracted image (about 15 GiB for Windows 11 Pro) besides\nthe WIM files.\n\n```sh\nlean11 tui                                   # wizard: mode, source\u002Fdownload, edition, components, privacy, custom, software, settings\nlean11 download --lang de-DE --out ~\u002Fiso          # latest Windows 11 ISO from Microsoft\nlean11 build Win11.iso --out lean11.iso      # Lean11 (serviceable), recovery ESD\nlean11 build Win11.iso --mode core --accept-core --out lean11-core.iso\nlean11 build Win11.iso --mode custom --enable clipchamp --core --accept-core --turbo --out custom.iso\nlean11 build Win11.iso --mode custom --ssh-key ~\u002F.ssh\u002Fid_ed25519.pub --out remote.iso   # SSH as Administrator after setup\nlean11 build --resume \u003Cwork>\u002Flean11-\u003Cid>     # continue a stopped job (verified saved progress)\nlean11 recover \u003Cwork> [--discard]            # interrupted jobs: remove leftover workspaces, discard working copies\nlean11 catalog --mode lean                      # what a mode removes or changes\nlean11 inventory Win11.iso --kind feature    # full image inventory (apps, features, capabilities, ...)\n```\n\nWith `--ssh-key` (Custom) the installed Windows runs an OpenSSH server on port 22 right after setup: log in with\n`ssh Administrator@\u003Chost>` and the key; the session is a fully elevated administrator with PowerShell, and\n`Invoke-AsSystem '\u003Ccommand>'` runs a command as SYSTEM (for files and keys owned by TrustedInstaller). Microsoft\nDefender still scans what you run unless you add `--enable disable-defender`.\n\nCore's four parts are also single Custom options: `disable-defender` and `disable-windows-update` are reversible\nand keep the image serviceable; `remove-winre` and `trim-winsxs` are irreversible and need `--accept-core`\n(in the TUI a confirmation). Both switch setup to the legacy installer: the current one needs the recovery image\nand fails without it. Example, only Defender off:\n`lean11 build Win11.iso --mode lean --enable disable-defender --out lean11-nodefender.iso`.\n\n### Privacy settings\n\nlean11 brings its own catalog of more than 160 privacy, telemetry and hardening settings (telemetry, app\npermissions, search, ads, AI features, Defender data sharing, hosts blocking, firewall, Explorer, browsers, Office,\nTLS and more). Every setting is verified against the image's own\nADMX templates, Microsoft's documentation or a test install, and settings for removed components are hidden\n(no Edge settings when Edge is removed, no Defender settings when Defender is off). Details and the catalog\nformat: [docs\u002FPRIVACY.md](docs\u002FPRIVACY.md).\n\n```sh\nlean11 privacy list --preset recommended     # what a preset contains (levels: recommended, strict, optional)\nlean11 build Win11.iso --privacy recommended --out private.iso\nlean11 build Win11.iso --privacy strict --privacy-enable hibernation-off --privacy-disable search-web-off --out strict.iso\n```\n\nIn the TUI the Privacy step comes after Components: Space toggles a setting (on a category heading: the\ncategory), `r`, `s`, `n` pick the presets recommended, strict or none, `\u002F` filters. Privacy settings build as\nCustom, like `--ssh-key`.\n\n### Ratings\n\nEvery Components option, privacy setting and (as the knowledge base grows) every inventory item carries a rating,\nshown as a colored dot in the TUI together with what the item is, what removing it does and the evidence:\n\n| Dot | Meaning |\n|---|---|\n| green (safe) | Setup and Windows keep working; only the named item goes, nothing else depends on it. |\n| yellow (limited) | Setup and Windows keep working, but other functions or apps that build on it are impaired. |\n| red (breaks) | Setup or Windows itself fails (proven by a test install or documented by Microsoft). |\n| grey | Not rated yet. |\n\nThe ratings live in `crates\u002Flean11-core\u002Fdata\u002Fknowledge.toml`; format: [docs\u002FKNOWLEDGE.md](docs\u002FKNOWLEDGE.md).\n\n### Additional software\n\nPrograms can be added to the image and are installed silently and machine-wide at the end of setup: Google Chrome,\nFirefox, LibreWolf, Opera, Brave, Vivaldi, Thunderbird, Betterbird, VLC, IrfanView, GIMP, UniGetUI, Chocolatey\nand Scoop. The build takes the latest version from the winget catalog (the same source Windows' `winget` uses),\ndownloads the installer from the vendor and checks its SHA-256; setup checks it again before running it. Firefox,\nThunderbird and Betterbird come in the image language where available. Scoop installs per account: it is set up\nat sign-in and needs internet then (retried at every sign-in until it succeeds). The result is logged to\n`C:\\Windows\\Logs\\lean11-software.log`.\n\n```sh\nlean11 software list\nlean11 software resolve --lang de-DE         # versions, installers and URLs the build would use\nlean11 build Win11.iso --mode custom --software firefox,vlc,gimp --out apps.iso\n```\n\nIn the TUI the Software step comes after Custom. Additional software builds as Custom.\n\n### Templates\n\nA template stores your whole choice without the ISO, edition and output: mode, Components options, privacy\nsettings, custom actions and settings (compression, account, SSH key, …). Apply it to any ISO, also a newer one:\ncustom actions are matched to that image by name without version, and what does not exist there is reported\nand skipped.\n\n```sh\nlean11 build --mode lean --privacy strict --enable disable-defender --save-template mine.json   # no ISO needed\nlean11 build Win11.iso --template mine.json --out lean11.iso\nlean11 build Win11.iso --template mine.json --privacy-disable hibernation-off --out lean11.iso    # flags change it\n```\n\nIn the TUI `t` loads and `x` saves a template (in the Mode, Components, Privacy, Settings and Review steps). A\nrecipe (`s` in Review) is different: it records one build including source and output. A recipe file can also be\nloaded as a template.\n\nThe image inventory for custom actions is read in the background as soon as the edition is chosen (it takes a\nfew minutes); `l` in the Custom step reads it again.\n\nEach build keeps `job.json`, `recipe.json`, `build.log`, `report.json`, `operations.json` and `timings.json` in\nits job folder. Core images cannot be updated or serviced: use them only in test VMs.\n\n## Build from source\n\nRequirements: Rust 1.96 or newer (rustup) and a C compiler (for the TLS library). There are no\nruntime dependencies; `wimtools` and `fuse3` are only needed for the fallback `LEAN11_WIMLIB=1`.\n\n```sh\ncargo build --release --locked\n```\n\n## License\n\nCopyright (C) 2026 solisinvictum\n\nlean11 is free software: you can redistribute it and\u002For modify it under the terms of the GNU Affero General\nPublic License as published by the Free Software Foundation, either version 3 of the License, or (at your option)\nany later version. It is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the\nimplied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See [LICENSE](LICENSE) for the full text.\n\nIn short: whoever distributes lean11 or a work based on it, or lets others use a modified version over a network\n(for example as a web service), has to make the complete corresponding source code available under the same\nlicense.\n\nIncluded third-party code keeps its own license: the XPRESS, LZX and LZMS compressors in `crates\u002Flean11-codecs`\nare translated from wimlib (LGPL-2.1-or-later and MIT, see that crate's README); the MSDelta decoder comes from\n[msdelta](https:\u002F\u002Fgithub.com\u002Fjlevere\u002Fmsdelta) (MIT OR Apache-2.0). lean11 is not affiliated with Microsoft;\nWindows is a trademark of Microsoft Corporation.\n","lean11 是一个跨平台（Linux\u002FmacOS\u002FWindows）的 Windows 11 ISO 精简与隐私增强工具，使用 Rust 原生实现 DISM、CBS 和 Appx 离线服务功能，无需虚拟机或 Windows 环境依赖。核心功能包括：按交通灯评级（绿\u002F黄\u002F红）安全移除预装应用与系统组件、批量应用经验证的隐私设置（如遥测、广告、权限控制）、支持自定义项筛选与镜像级完整库存浏览，并可集成 winget 软件自动安装。适用于希望构建轻量、可控、隐私友好的 Windows 11 安装介质的技术用户、系统管理员及隐私敏感型终端使用者。","2026-11-24 04:54:10","CREATED_QUERY"]