From da28f784a88256274e91f7e9f2ed1d3173a2a684 Mon Sep 17 00:00:00 2001 From: Astral <208268648+AstralZX@users.noreply.github.com> Date: Tue, 1 Sep 2026 11:23:34 +0200 Subject: [PATCH] add website and GitHub Pages deployment --- .github/workflows/pages.yml | 29 ++ web/.nojekyll | 0 web/_includes/footer.html | 75 ++++ web/_includes/nav.html | 10 + web/about.html | 57 +++ web/anti-opinionated.html | 66 ++++ web/assets/css/style.css | 433 +++++++++++++++++++++++ web/assets/js/include.js | 41 +++ web/build-pipeline.html | 78 ++++ web/community.html | 50 +++ web/contact.html | 69 ++++ web/contribute.html | 65 ++++ web/credits.html | 56 +++ web/docs.html | 42 +++ web/ethos.html | 61 ++++ web/faq.html | 68 ++++ web/filesystems.html | 61 ++++ web/index.html | 123 +++++++ web/inits.html | 55 +++ web/install.html | 75 ++++ web/installation-requirements.html | 61 ++++ web/installer-walkthrough.html | 113 ++++++ web/kama-recipes.html | 80 +++++ web/kama-repos.html | 62 ++++ web/kama-usage.html | 79 +++++ web/kama.html | 59 +++ web/kernels.html | 55 +++ web/libcs.html | 53 +++ web/license.html | 51 +++ web/links.html | 62 ++++ web/live-init.html | 65 ++++ web/make-conf.html | 97 +++++ web/mkfs-root.html | 49 +++ web/network-setup.html | 65 ++++ web/network-tools.html | 54 +++ web/news.html | 52 +++ web/news/announcing-keru.html | 55 +++ web/news/design-decisions.html | 58 +++ web/news/philosophy-is-architecture.html | 53 +++ web/news/roadmap-0.1.html | 55 +++ web/philosophy.html | 77 ++++ web/privacy.html | 53 +++ web/privilege-elevation.html | 53 +++ web/profile.html | 61 ++++ web/recipe-format.html | 115 ++++++ web/sitemap.html | 112 ++++++ web/stability.html | 75 ++++ web/swappables.html | 54 +++ 48 files changed, 3392 insertions(+) create mode 100644 .github/workflows/pages.yml create mode 100644 web/.nojekyll create mode 100644 web/_includes/footer.html create mode 100644 web/_includes/nav.html create mode 100644 web/about.html create mode 100644 web/anti-opinionated.html create mode 100644 web/assets/css/style.css create mode 100644 web/assets/js/include.js create mode 100644 web/build-pipeline.html create mode 100644 web/community.html create mode 100644 web/contact.html create mode 100644 web/contribute.html create mode 100644 web/credits.html create mode 100644 web/docs.html create mode 100644 web/ethos.html create mode 100644 web/faq.html create mode 100644 web/filesystems.html create mode 100644 web/index.html create mode 100644 web/inits.html create mode 100644 web/install.html create mode 100644 web/installation-requirements.html create mode 100644 web/installer-walkthrough.html create mode 100644 web/kama-recipes.html create mode 100644 web/kama-repos.html create mode 100644 web/kama-usage.html create mode 100644 web/kama.html create mode 100644 web/kernels.html create mode 100644 web/libcs.html create mode 100644 web/license.html create mode 100644 web/links.html create mode 100644 web/live-init.html create mode 100644 web/make-conf.html create mode 100644 web/mkfs-root.html create mode 100644 web/network-setup.html create mode 100644 web/network-tools.html create mode 100644 web/news.html create mode 100644 web/news/announcing-keru.html create mode 100644 web/news/design-decisions.html create mode 100644 web/news/philosophy-is-architecture.html create mode 100644 web/news/roadmap-0.1.html create mode 100644 web/philosophy.html create mode 100644 web/privacy.html create mode 100644 web/privilege-elevation.html create mode 100644 web/profile.html create mode 100644 web/recipe-format.html create mode 100644 web/sitemap.html create mode 100644 web/stability.html create mode 100644 web/swappables.html diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml new file mode 100644 index 0000000..dc92eae --- /dev/null +++ b/.github/workflows/pages.yml @@ -0,0 +1,29 @@ +name: Deploy website to GitHub Pages + +on: + push: + branches: [main] + workflow_dispatch: + +permissions: + contents: read + pages: write + id-token: write + +concurrency: + group: pages + cancel-in-progress: true + +jobs: + deploy: + runs-on: ubuntu-latest + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + steps: + - uses: actions/checkout@v4 + - uses: actions/upload-pages-artifact@v3 + with: + path: web + - uses: actions/deploy-pages@v4 + id: deployment \ No newline at end of file diff --git a/web/.nojekyll b/web/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/web/_includes/footer.html b/web/_includes/footer.html new file mode 100644 index 0000000..11e11fd --- /dev/null +++ b/web/_includes/footer.html @@ -0,0 +1,75 @@ +
+
+

Keru OS

+ +
+
+

Install

+ +
+
+

Swappables

+ +
+
+

Kama

+ +
+
+

Docs

+ +
+
+

Community

+ +
+
+

Legal

+ +
+
+

+ ける・けいとうてき — craft your system.
+ Keru OS is licensed under AGPL-3.0. No opinion, no telemetry, no bloat. +

\ No newline at end of file diff --git a/web/_includes/nav.html b/web/_includes/nav.html new file mode 100644 index 0000000..7ac7d81 --- /dev/null +++ b/web/_includes/nav.html @@ -0,0 +1,10 @@ +ける Keru OS +Home +Philosophy +Swappables +Kama +Install +Docs +News +Community +☰ \ No newline at end of file diff --git a/web/about.html b/web/about.html new file mode 100644 index 0000000..3a692c4 --- /dev/null +++ b/web/about.html @@ -0,0 +1,57 @@ + + + + + +About — Keru OS + + + + + + + + +
+

home / about

+

About Keru OS

+

An independent, source-only Linux distribution built around one idea: you don't install a system, you craft one.

+
+ +
+
+
+

What Keru is

+

Keru (ける) is a Linux distribution where virtually nothing is decided for you. Every foundational component — init system, C library, filesystem, kernel, privilege-elevation tool, network stack — is a variable you resolve at install time. What lands on your disk is precisely what you chose, compiled from original source.

+ +

The name comes from ける・けいとうてき (keru keitō-teki), roughly "craft your system." It's the whole point stated as a phrase.

+ +

The three repositories

+

Keru is deliberately split into three pieces so each stays small and legible:

+ + + + + +
RepoWhat it holds
KeruOSThis repo — the installer, profile system, build pipeline, and website.
kamaThe package manager. A ~225-line shell script. The "kiln" that fires recipes.
kama-packagesThe recipe repository — plain shell scripts that describe how to build each package.
+ +

Where it sits

+

Keru belongs to the line of source-and-choice distributions that includes Gentoo and Nix. Where Keru differs: it takes the "no opinion" stance further than any of them. Gentoo still picks most of your stack for you; Keru asks you to form the whole opinion up front, then builds exactly that.

+ +

Status

+

Keru is in active development. The first installable release, 0.1, will ship as a bootable ISO. Until then, the repositories document the design, philosophy, and the build pipeline it's all wired through.

+ +
+ Anti-opinionated by design. Read the full reasoning in the philosophy. +
+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/web/anti-opinionated.html b/web/anti-opinionated.html new file mode 100644 index 0000000..0cbd4b5 --- /dev/null +++ b/web/anti-opinionated.html @@ -0,0 +1,66 @@ + + + + + +Anti-opinionated — Keru OS + + + + + + + + +
+

home / philosophy / anti-opinionated

+

Anti-opinionated

+

The core stance, and what it actually grants and costs you.

+
+ +
+
+
+

Reading the room

+

Every Linux distribution is an answer to the same question: who decides what your system is? Most answers reduce to "the maintainers, wisely." Your distro picks systemd or OpenRC, glibc or musl, ext4 or btrfs, and you inherit that stack as the price of using it.

+ +

That's genuinely fine for a lot of people. It's how you get a system that mostly works with default effort. But it means the shape of your machine is decided by someone else's tastes, release cadence, and risk appetite.

+ +

The anti-opinionated answer

+

Keru answers differently: the distribution holds no position. Not a middle position — no position. It doesn't ship a "best" init or a "recommended" filesystem, because that recommendation is the very thing Keru exists to remove.

+ +

Every foundational component is presented as a flat, open choice in the installer. Runit or systemd? They're options, side by side, weightless. glibc or musl? Your call. btrfs or reiserfs or swap? All offered. Keru doesn't rank them, because ranking is an opinion, and opinions are exactly what it delegates to you.

+ +

What it grants

+
    +
  • No inherited stack. You never fight a default you never agreed to. What's on the disk is what you chose, full stop.
  • +
  • Every system is the same system. "Your" configuration isn't a deviation from Keru's ideal — it is Keru. There's no blessed path and no lesser path.
  • +
  • The distro never defends a mistake. An opinionated distro inherits the burden of defending its picks forever. Keru inherits nothing to defend.
  • +
  • Legibility. Because there's no position to paper over, every choice is visible in make.conf — readable, editable, rebuildable.
  • +
+ +

What it costs

+
    +
  • No hand-holding. There's no "the way you install Keru is the way you install Keru" comfort. You carry the decisions.
  • +
  • You must form an opinion. The installer's only requirement is that you have one. For people who specifically want that, it's freedom; it's not for everyone.
  • +
  • More surface to keep stable. Supporting many inits, libcs, and filesystems means more combinations to honor — which is why the stability promise is scoped honestly.
  • +
+ +

Not GNU/Hurd, not a meta-OS

+

To head off a common reading: anti-opinionated doesn't mean Keru is a "meta operating system" that runs arbitrary kernels. Keru is a Linux distribution. Its freedom lives in userspace and configuration — init, libc, filesystem, kernel (within Linux), tooling. It's the meta-distribution stance: choice and composition over a fixed opinionated stack.

+ +

In one line

+
An opinionated distro tells you what to use. Keru tells you that you have to choose — and then builds exactly what you pick.
+ +

← Back to the philosophy

+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/web/assets/css/style.css b/web/assets/css/style.css new file mode 100644 index 0000000..2c95934 --- /dev/null +++ b/web/assets/css/style.css @@ -0,0 +1,433 @@ +/* Keru OS website — dark, modern, animated. + Reference: Gentoo's confident tech look, modernized. */ + +@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;700&display=swap'); + +:root { + --bg: #0a0e14; /* near-black blue */ + --bg-2: #0f1520; /* raised surface */ + --bg-3: #161e2e; /* cards */ + --border: #22304a; + --text: #d7e0ee; + --text-dim: #8b9bb4; + --text-bright: #ffffff; + --accent: #8b5cf6; /* keru violet */ + --accent-2: #22d3ee; /* cyan secondary */ + --accent-3: #34d399; /* green success */ + --warn: #f59e0b; /* amber */ + --danger: #ef4444; + --code-bg: #0d1220; + --mono: 'JetBrains Mono', ui-monospace, monospace; + --sans: 'Inter', system-ui, -apple-system, sans-serif; + --grad: linear-gradient(135deg, var(--accent), var(--accent-2)); + --shadow: 0 8px 30px rgba(0,0,0,.4); + --radius: 12px; + --nav-h: 64px; +} + +* { margin: 0; padding: 0; box-sizing: border-box; } + +html { scroll-behavior: smooth; } + +body { + background: var(--bg); + color: var(--text); + font-family: var(--sans); + line-height: 1.65; + -webkit-font-smoothing: antialiased; + overflow-x: hidden; +} + +/* subtle animated grid backdrop */ +body::before { + content: ""; + position: fixed; + inset: 0; + z-index: -1; + background: + radial-gradient(circle at 20% -10%, rgba(139,92,246,.12), transparent 45%), + radial-gradient(circle at 90% 10%, rgba(34,211,238,.08), transparent 40%), + repeating-linear-gradient(0deg, transparent 0 39px, rgba(255,255,255,.02) 39px 40px); + pointer-events: none; +} + +a { color: var(--accent-2); text-decoration: none; } +a:hover { text-decoration: underline; } + +::selection { background: var(--accent); color: #fff; } + +/* ---------- top nav ---------- */ +nav.top { + position: sticky; + top: 0; + z-index: 100; + height: var(--nav-h); + background: rgba(10,14,20,.82); + backdrop-filter: blur(12px); + border-bottom: 1px solid var(--border); + display: flex; + align-items: center; + padding: 0 28px; + gap: 8px; +} +.brand { + font-family: var(--mono); + font-weight: 700; + color: var(--text-bright); + font-size: 1.05rem; + letter-spacing: .02em; + margin-right: auto; + display: flex; + align-items: center; + gap: 8px; +} +.brand .kanji { color: var(--accent); } +.brand:hover { text-decoration: none; } + +nav.top a.navlink { + color: var(--text-dim); + font-size: .92rem; + font-weight: 500; + padding: 6px 10px; + border-radius: 6px; + transition: color .15s, background .15s; +} +nav.top a.navlink:hover { color: var(--text-bright); background: var(--bg-3); text-decoration: none; } + +.menu-toggle { display: none; } + +/* ---------- hero ---------- */ +.hero { + padding: 96px 28px 64px; + text-align: center; + animation: fadeUp .7s ease both; +} +.kicker { + display: inline-flex; + align-items: center; + gap: 8px; + font-family: var(--mono); + color: var(--accent-2); + border: 1px solid var(--border); + background: var(--bg-2); + padding: 4px 12px; + border-radius: 999px; + font-size: .8rem; + letter-spacing: .08em; + text-transform: uppercase; +} +.kicker .dot { + width: 7px; height: 7px; border-radius: 50%; + background: var(--accent-3); + animation: pulse 2s infinite; +} +.hero h1 { + font-size: clamp(2.6rem, 6vw, 4.6rem); + font-weight: 800; + line-height: 1.05; + color: var(--text-bright); + margin: 22px auto 18px; + max-width: 900px; + letter-spacing: -.02em; +} +.hero h1 .grad { + background: var(--grad); + -webkit-background-clip: text; + background-clip: text; + color: transparent; +} +.hero p.sub { + max-width: 640px; + margin: 0 auto 30px; + color: var(--text-dim); + font-size: 1.12rem; +} +.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; } +.btn { + display: inline-flex; + align-items: center; + gap: 8px; + font-family: var(--mono); + font-weight: 500; + padding: 12px 22px; + border-radius: 10px; + font-size: .95rem; + transition: transform .15s, box-shadow .15s, background .15s; +} +.btn:hover { text-decoration: none; transform: translateY(-2px); } +.btn-primary { background: var(--grad); color: #0a0e14; box-shadow: 0 4px 20px rgba(139,92,246,.4); } +.btn-primary:hover { box-shadow: 0 8px 28px rgba(139,92,246,.55); } +.btn-ghost { background: var(--bg-3); color: var(--text); border: 1px solid var(--border); } +.btn-ghost:hover { background: var(--bg-2); } + +/* ---------- sections ---------- */ +section { padding: 56px 28px; } +.wrap { max-width: 1080px; margin: 0 auto; } + +.section-title { + font-family: var(--mono); + text-transform: uppercase; + letter-spacing: .12em; + font-size: .82rem; + color: var(--accent-2); + margin-bottom: 10px; +} +h2.head { font-size: clamp(1.6rem, 3.5vw, 2.4rem); color: var(--text-bright); font-weight: 700; margin-bottom: 14px; letter-spacing: -.01em; } +.lead { color: var(--text-dim); font-size: 1.05rem; max-width: 720px; margin-bottom: 30px; } + +.grid { display: grid; gap: 22px; } +.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); } +.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } +.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } + +.card { + background: var(--bg-3); + border: 1px solid var(--border); + border-radius: var(--radius); + padding: 22px; + transition: transform .2s, border-color .2s, box-shadow .2s; + animation: fadeUp .6s ease both; +} +.card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow); } +.card.h { font-family: var(--mono); font-size: 1.05rem; color: var(--text-bright); margin-bottom: 8px; } +.card p { color: var(--text-dim); font-size: .95rem; } +.card .num { + font-family: var(--mono); + font-size: .75rem; + color: var(--accent-2); + border: 1px solid var(--border); + padding: 2px 8px; + border-radius: 6px; + display: inline-block; + margin-bottom: 10px; +} + +/* ---------- terminal/snippet ---------- */ +.terminal { + background: #05080d; + border: 1px solid var(--border); + border-radius: var(--radius); + overflow: hidden; + box-shadow: var(--shadow); + text-align: left; + margin: 0 auto; + max-width: 640px; +} +.terminal .tbar { + background: var(--bg-2); + padding: 10px 14px; + display: flex; + gap: 6px; + align-items: center; + border-bottom: 1px solid var(--border); +} +.terminal .tbar span.dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; } +.terminal .tbar .r { background: var(--danger); } +.terminal .tbar .y { background: var(--warn); } +.terminal .tbar .g { background: var(--accent-3); } +.terminal .tbar .t { margin-left: 8px; font-family: var(--mono); font-size: .75rem; color: var(--text-dim); } +.terminal pre { + padding: 18px; + overflow-x: auto; + font-family: var(--mono); + font-size: .85rem; + line-height: 1.7; + color: var(--text); +} +.terminal .c { color: var(--accent-2); } +.terminal .k { color: var(--accent-3); } +.terminal .p { color: var(--text-dim); } + +/* ---------- code blocks ---------- */ +pre, code, kbd { + font-family: var(--mono); +} +.code-block { + background: var(--code-bg); + border: 1px solid var(--border); + border-radius: 10px; + padding: 18px; + overflow-x: auto; + margin: 18px 0; + font-size: .85rem; + line-height: 1.7; + color: var(--text); +} +code:not(.code-block) { + background: var(--bg-3); + border: 1px solid var(--border); + border-radius: 5px; + padding: 2px 6px; + font-size: .85em; + color: var(--accent-2); +} +kbd { + background: var(--bg-3); + border: 1px solid var(--border); + border-bottom-width: 2px; + border-radius: 5px; + padding: 1px 6px; + font-size: .8em; +} + +/* ---------- lists / prose ---------- */ +.prose { max-width: 760px; margin: 0 auto; } +.prose h3 { + color: var(--text-bright); + font-size: 1.25rem; + margin: 34px 0 10px; + font-weight: 700; +} +.prose h4 { color: var(--accent-2); margin: 22px 0 8px; font-size: 1.05rem; } +.prose p { margin: 12px 0; color: var(--text); } +.prose ul, .prose ol { margin: 12px 0 12px 24px; } +.prose li { margin: 6px 0; color: var(--text); } +.prose li::marker { color: var(--accent); } +.prose blockquote { + border-left: 3px solid var(--accent); + background: var(--bg-2); + padding: 14px 18px; + border-radius: 0 8px 8px 0; + margin: 18px 0; + color: var(--text-dim); +} +.prose blockquote strong { color: var(--text-bright); } +.prose hr { border: none; border-top: 1px solid var(--border); margin: 30px 0; } +table { border-collapse: collapse; width: 100%; margin: 18px 0; font-size: .92rem; } +th, td { border: 1px solid var(--border); padding: 9px 12px; text-align: left; } +th { background: var(--bg-2); color: var(--text-bright); font-family: var(--mono); font-size: .82rem; } +tr:nth-child(even) td { background: rgba(255,255,255,.015); } + +/* tag chips */ +.tag { + display: inline-block; + font-family: var(--mono); + font-size: .72rem; + letter-spacing: .05em; + text-transform: uppercase; + padding: 2px 9px; + border-radius: 999px; + border: 1px solid var(--border); + color: var(--accent-2); + margin: 2px 4px 2px 0; +} +.tag.warn { color: var(--warn); border-color: rgba(245,158,11,.4); } +.tag.danger { color: var(--danger); border-color: rgba(239,68,68,.4); } +.tag.ok { color: var(--accent-3); border-color: rgba(52,211,153,.4); } + +/* pill callout */ +.callout { + border: 1px solid var(--border); + border-left: 3px solid var(--accent); + background: var(--bg-2); + border-radius: 8px; + padding: 14px 18px; + margin: 18px 0; +} +.callout.warn { border-left-color: var(--warn); } +.callout.danger { border-left-color: var(--danger); } +.callout.ok { border-left-color: var(--accent-3); } + +/* ---------- comparison tables / feature list ---------- */ +.features { list-style: none; margin: 0; } +.features li { padding: 10px 0; border-bottom: 1px solid var(--border); display: flex; gap: 12px; } +.features li::before { content: "◆"; color: var(--accent); } + +/* ---------- news ---------- */ +.post-list { max-width: 820px; margin: 0 auto; } +.post-item { + display: block; + background: var(--bg-3); + border: 1px solid var(--border); + border-radius: var(--radius); + padding: 20px 24px; + margin-bottom: 16px; + transition: transform .15s, border-color .15s; +} +.post-item:hover { transform: translateX(4px); border-color: var(--accent); text-decoration: none; } +.post-item h3 { color: var(--text-bright); font-size: 1.2rem; margin-bottom: 6px; } +.post-item .meta { font-family: var(--mono); font-size: .78rem; color: var(--text-dim); margin-bottom: 6px; } +.post-item p { color: var(--text-dim); font-size: .95rem; } + +/* ---------- footer ---------- */ +footer { + border-top: 1px solid var(--border); + background: var(--bg-2); + padding: 40px 28px 32px; + margin-top: 40px; +} +footer .wrap { display: flex; gap: 40px; flex-wrap: wrap; justify-content: space-between; } +footer h4 { color: var(--text-bright); font-family: var(--mono); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; } +footer ul { list-style: none; } +footer li { margin: 6px 0; } +footer a { color: var(--text-dim); } +footer a:hover { color: var(--text-bright); text-decoration: none; } +footer .foot { + margin-top: 30px; + padding-top: 20px; + border-top: 1px solid var(--border); + font-family: var(--mono); + font-size: .78rem; + color: var(--text-dim); + text-align: center; +} +footer .marks { font-family: var(--mono); color: var(--accent-2); } + +/* ---------- animation utilities ---------- */ +@keyframes fadeUp { + from { opacity: 0; transform: translateY(18px); } + to { opacity: 1; transform: translateY(0); } +} +@keyframes pulse { + 0%, 100% { opacity: 1; } + 50% { opacity: .35; } +} +.reveal { animation: fadeUp .7s ease both; } +.d1 { animation-delay: .1s; } +.d2 { animation-delay: .2s; } +.d3 { animation-delay: .3s; } +.d4 { animation-delay: .4s; } + +/* scrolling feature ticker on landing */ +.ticker { + overflow: hidden; + border-top: 1px solid var(--border); + border-bottom: 1px solid var(--border); + padding: 14px 0; + background: var(--bg-2); + white-space: nowrap; +} +.ticker-inner { + display: inline-block; + animation: ticker 30s linear infinite; + font-family: var(--mono); + color: var(--text-dim); +} +.ticker-inner span { margin: 0 28px; } +.ticker-inner b { color: var(--accent-2); } +@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } } + +/* stat blocks */ +.stats { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; margin: 24px 0; } +.stat { text-align: center; } +.stat .big { font-family: var(--mono); font-size: 2.4rem; font-weight: 700; color: var(--text-bright); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; } +.stat .lbl { color: var(--text-dim); font-size: .85rem; } + +/* page header (non-hero pages) */ +.pagehead { padding: 72px 28px 32px; text-align: center; } +.pagehead h1 { color: var(--text-bright); font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; letter-spacing: -.02em; } +.pagehead p { color: var(--text-dim); max-width: 640px; margin: 14px auto 0; } + +/* breadcrumb */ +.crumbs { font-family: var(--mono); font-size: .78rem; color: var(--text-dim); max-width: 760px; margin: 20px auto 0; } +.crumbs a { color: var(--accent-2); } + +/* responsive */ +@media (max-width: 720px) { + nav.top { padding: 0 14px; } + nav.top a.navlink { display: none; } + .menu-toggle { display: inline-flex; } + .hero { padding: 64px 18px 40px; } + section { padding: 40px 18px; } + footer .wrap { gap: 24px; } +} \ No newline at end of file diff --git a/web/assets/js/include.js b/web/assets/js/include.js new file mode 100644 index 0000000..0574438 --- /dev/null +++ b/web/assets/js/include.js @@ -0,0 +1,41 @@ +/* Keru website — inject shared nav + footer partials. + Usage: + + + + data-base is the path prefix from this page to the web root. + All links inside the injected partials are resolved against that base. */ +(function () { + var base = '.'; + var scripts = document.querySelectorAll('script[src*="include.js"]'); + for (var i = 0; i < scripts.length; i++) { + if (scripts[i].dataset.base) base = scripts[i].dataset.base; + } + var nav = document.querySelector('[data-nav]'); + var footer = document.querySelector('[data-footer]'); + function fill(el, url) { + if (!el) return; + fetch(base + '/' + url) + .then(function (r) { return r.text(); }) + .then(function (t) { + // resolve links/asset refs in the partial against base + var div = document.createElement('div'); + div.innerHTML = t; + ['a', 'link', 'script', 'img'].forEach(function (sel) { + var nodes = div.querySelectorAll(sel + '[href], ' + sel + '[src]'); + for (var j = 0; j < nodes.length; j++) { + var n = nodes[j]; + var attr = n.hasAttribute('href') ? 'href' : 'src'; + var val = n.getAttribute(attr); + if (val && val.indexOf('./') === 0) { + n.setAttribute(attr, base + '/' + val.replace(/^\.\//, '')); + } + } + }); + el.innerHTML = div.innerHTML; + }) + .catch(function () { /* offline / file:// — nav/footer stay empty */ }); + } + fill(nav, '_includes/nav.html'); + fill(footer, '_includes/footer.html'); +})(); \ No newline at end of file diff --git a/web/build-pipeline.html b/web/build-pipeline.html new file mode 100644 index 0000000..c965216 --- /dev/null +++ b/web/build-pipeline.html @@ -0,0 +1,78 @@ + + + + + +Build pipeline — Keru OS + + + + + + + + +
+

home / docs / build pipeline

+

Build pipeline

+

From make.conf to a bootable filesystem.

+
+ +
+
+
+

The build pipeline is the machinery between your profile and a running system. It's intentionally thin — a few shell scripts that orchestrate Kama, not a build system monolith.

+ +

The stages

+ +

Stage 0 — bootstrap the toolchain

+

build-root.sh boots a toolchain from nothing: binutils, gcc, your chosen libc, then the toolchain package. This is the "fully from scratch" step — the stage that separates a source distro from one that seeds binaries.

+ +

Stage 1 — base system

+

The BASE_PACKAGES set from your profile is built and installed into $ROOT. Every package compiles against the stage-0 toolchain.

+ +

Stage 2 — the swappables

+

Exactly what you chose: the kernel ($KERNEL), the init system ($INIT), your privilege-elevation tool ($SUDO), and your network tools ($NET). Nothing preselected — the picks in your make.conf are the picks that get built.

+ +

Stage 3 — finalize the root

+

mkfs-root.sh formats and assembles the target as your chosen filesystem, producing the rootfs that will boot.

+ +
+
$ sh scripts/build-root.sh
+
[ keru ] building Keru rootfs into /tmp/keru/root
+[ keru ] profile: init=runit libc=glibc fs=ext4 kernel=linux sudo=doas
+[ keru ] stage 0: bootstrap toolchain (gcc binutils glibc)
+[ keru ] stage 1: base system
+[ keru ] stage 2: kernel + init + sudo + net
+[ keru ] stage 3: finalize ext4 root
+[ keru ] rootfs ready: /tmp/keru/root
+
+ +

The scripts

+ + + + + +
ScriptJob
scripts/common.shShared helpers; knows the sibling-repo layout (KAMA_DIR, PKGS_DIR).
scripts/build-root.shThe orchestrator — runs the four stages above.
scripts/mkfs-root.shFormats the target root as the chosen filesystem.
+ +

Convenience entrypoints

+
make rootfs # sh scripts/build-root.sh +make install # sh installer/install.sh +make live-init # syntax-check live/init +make recipe-check # sh -n every recipe in kama-packages
+ +
The pipeline is the honest core of "from scratch": no binary base image, no opaque build tool — a shell script reading a profile and driving a shell package manager.
+ +

mkfs-root reference · How the repos fit · ← Docs

+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/web/community.html b/web/community.html new file mode 100644 index 0000000..d95cf24 --- /dev/null +++ b/web/community.html @@ -0,0 +1,50 @@ + + + + + +Community — Keru OS + + + + + + + + +
+

home / community

+

Community

+

A small distribution with a clear idea, shaped by people who care about choice.

+
+ +
+
+ + +
+

What the community is for

+

Keru holds one opinion — that you should form yours. That extends to the community: the interesting conversations here are about which init/libc/fs combos should be proven next, which recipes matter, and how the distro stays honest at its edges.

+ +

The stance carries over

+
    +
  • No gatekeeping about your stack. Whatever init you run, you're a Keru user doing it right.
  • +
  • Bugs are bugs. Report a broken combination and it gets curated out of the "offered" set or proven and kept — not argued about for a release.
  • +
  • Small is fine. This isn't a race for the biggest community; it's a race for the most coherent one.
  • +
+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/web/contact.html b/web/contact.html new file mode 100644 index 0000000..54c51ae --- /dev/null +++ b/web/contact.html @@ -0,0 +1,69 @@ + + + + + +Contact — Keru OS + + + + + + + + +
+

home / community / contact

+

Contact

+

Use issues for bugs and ideas; the list for discussion.

+
+ +
+
+
+
+ preferred + GitHub issues +

Bugs, recipe ideas, installer feedback, combination reports. The most actionable way to reach us.

+

AstralZX/KeruOS issues

+
+
+ discussion + Mailing list +

Longer conversations about philosophy, design decisions, and direction. Subscribe or join the thread.

+

keru@keru.org (placeholder)

+
+
+ channel + Matrix +

A real-time room for early adopters and contributors.

+

#keru:matrix.org (placeholder)

+
+
+ code + The repos +

Everything is public. Clone it, read it, break it, report it.

+

All links →

+
+
+ +
+

Bug reports that help

+
    +
  • Reproduce. The combo, the make.conf (if any), the failure output.
  • +
  • Scope. Was it fetch, build, install, or boot? That points straight at the stage.
  • +
  • Label. A broken combination gets curated out of "offered" or fixed — say which you'd rather.
  • +
+ +
Small project, responsive maintainers. If you file something, expect a real answer.
+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/web/contribute.html b/web/contribute.html new file mode 100644 index 0000000..6d34825 --- /dev/null +++ b/web/contribute.html @@ -0,0 +1,65 @@ + + + + + +Contribute — Keru OS + + + + + + + + +
+

home / community / contribute

+

Contribute

+

There's no gatekeeping. There's work to do.

+
+ +
+
+
+

Keru is small and early, which means contributions are unusually consequential. A recipe you write may be the one a whole filesystem choice builds on. Here's how to get in.

+ +

Where things live

+ + + + + +
RepoYou'd contribute
KeruOSInstaller, profile, scripts, live init, docs, and this website.
kamaThe package manager itself — and, ideally, not much. It's meant to stay small.
kama-packagesRecipes — the highest-leverage place. Busybox, runit, and a template exist.
+ +

Ways to help

+
    +
  • Write recipes. A <pkg>.sh in kama-packages is a package. Start from TEMPLATE.sh. The format is small.
  • +
  • Test the toolchain bootstrap. The stage-0 build (gcc/glibc from nothing) is the riskiest seam; hands on real machines are gold.
  • +
  • Sharpen the installer. Menu UX, network handling, stability checks — all open.
  • +
  • Fix bugs. The road to 0.1 is literally a list of bugs between here and a booting ISO.
  • +
  • Docs & site. This website lives in web/ in the KeruOS repo — plain HTML, no framework. Improving it is plain work on plain files.
  • +
+ +

Ground rules

+
    +
  • Match the ethos. Source-only, no opinion, small pieces. A PR that adds a dependency resolver to kama contradicts the project's spine.
  • +
  • Stay legible. If shell can do it plainly, don't introduce machinery.
  • +
  • Honesty at the edges. Unproven combinations go in with a warning, or not at all — never silently.
  • +
  • AGPL-3.0. All three repos are AGPL-3.0; contributions fall under it.
  • +
+ +

Where to start

+

Issues, recipe ideas, and bug reports live on the three repositories, and discussion on the contact channels. If you're looking for a first move: pick a recipe, read TEMPLATE.sh, and send it.

+ +
A small distribution values every PR — there's no pile to get lost in. What you send is likely to matter.
+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/web/credits.html b/web/credits.html new file mode 100644 index 0000000..da5c018 --- /dev/null +++ b/web/credits.html @@ -0,0 +1,56 @@ + + + + + +Credits — Keru OS + + + + + + + + +
+

home / credits

+

Credits

+

The people, projects, and tools Keru stands on.

+
+ +
+
+
+

Who

+

Keru is the work of Astral (@AstralZX), who maintains all three repositories and this site. It grew out of earlier experiments (the lineage runs TOML packages → a 50-line build DSL → plain shell, and from opinionated dogmas to the anti-opinionated stance).

+ +

The tradition Keru sits in

+
    +
  • Gentoo — source-based purity and the profile concept that Keru carries forward.
  • +
  • Nix — declarative, reproducible composition of a system from pieces.
  • +
  • Bedrock Linux — the "meta-distribution" idea: a distro about choice and composition.
  • +
  • OpenBSD & doas — the minimalism that Keru's default privilege tool comes from.
  • +
  • The skarnet suite (s6) — clean service supervision, an option among equals here.
  • +
+ +

The free software underneath

+

A source-only distribution is downstream of everyone who makes the sources it builds: the Linux kernel, GCC/binutils, the libcs, busybox, the init systems, the filesystem tools, and every project with a recipe in kama-packages. Credit belongs to all of them, and their licenses — not Keru's — govern those components. Keru's AGPL covers Keru's own code (see the license page).

+ +

This website

+
    +
  • Fonts: Inter and JetBrains Mono.
  • +
  • Built: hand-written HTML/CSS/JS, no framework — consistent with the project's spine.
  • +
+ +
If you contributed and you're not listed, that's a bug — say so and it'll be fixed.
+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/web/docs.html b/web/docs.html new file mode 100644 index 0000000..dbfbb0c --- /dev/null +++ b/web/docs.html @@ -0,0 +1,42 @@ + + + + + +Docs — Keru OS + + + + + + + + +
+

home / docs

+

Docs

+

The reference. Everything you might open a file to check.

+
+ +
+
+ +
+
+ + + + + + + + \ No newline at end of file diff --git a/web/ethos.html b/web/ethos.html new file mode 100644 index 0000000..73fa206 --- /dev/null +++ b/web/ethos.html @@ -0,0 +1,61 @@ + + + + + +Ethos — Keru OS + + + + + + + + +
+

home / ethos

+

Ethos

+

What the mark stands for.

+
+ +
+
+
+

ける · keru keitō-teki

+

Keru is written ける in Japanese, and the project's full phrase is ける・けいとうてき (keru keitō-teki) — a system assembled the way you want it. The ethos is compact enough to sit behind a name: you don't receive a system, you craft it.

+ +

It's deliberately not a pronouncement. It's a description of the relationship Keru wants with you: you choose, it builds, and it has no agenda beyond honoring that choice.

+ +

The kiln and the craft

+

The package manager is called Kama (窯, "kiln"). The metaphor is warm on purpose — not a cathedral of machinery, but a kiln: you stack your ingredients, fire it, and what comes out is shaped by your hand, not by the kiln's preferences. A kiln doesn't have opinions about the pot. It just fires.

+ +

Principles guiding the work

+
    +
  • Source-only. You run what you built. Every package is compiled from original source.
  • +
  • Legibility. Every decision is a script or a line in make.conf you can see and change.
  • +
  • Simplicity as stability. Fewer moving parts means fewer things to break — keeping the manager in shell is the point, not a compromise.
  • +
  • Honesty at the edges. Unproven combinations get a warning, not a wall. You are never lied to about risk.
  • +
  • No junk. No telemetry, no preinstalled opinions masked as defaults, no background assumptions.
  • +
+ +

What Keru is not

+
    +
  • Not a meta-OS that runs arbitrary kernels — it's a Linux distribution that composes the bits above the kernel however you like.
  • +
  • Not an opinionless void — it holds one strong opinion: that you should form yours.
  • +
  • Not a challenge to pick the "right" stack — there is no right stack, there's only your stack.
  • +
+ +
企業はあなたの選択の上に成り立つ — the distro stands on your choices.
+ +

Read about Keru · Read the philosophy

+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/web/faq.html b/web/faq.html new file mode 100644 index 0000000..8b4ef1f --- /dev/null +++ b/web/faq.html @@ -0,0 +1,68 @@ + + + + + +FAQ — Keru OS + + + + + + + + +
+

home / community / faq

+

FAQ

+

Straight answers.

+
+ +
+
+
+ +

What is a "meta-distribution"?

+

In the GNU/Linux world it names the Gentoo/Nix/Bedrock family: distributions organized around choice and composition of components rather than a fixed opinionated stack. Keru is the anti-opinionated member — its meta is choosing not to choose for you. Details.

+ +

Is Keru a "meta-OS" that runs any kernel?

+

No. Keru is a Linux distribution. Its freedom lives above the kernel — init, libc, filesystem, and Linux kernel variants. It won't boot a BSD or illumos kernel; that's not the claim and not on the roadmap.

+ +

How is this different from Gentoo?

+

Gentoo is source-based and highly configurable, but it still picks most of your stack and calls it defaults. Keru extends the same impulse to its logical end: no default init, no default libc, no default filesystem. And its manager, Kama, is a ~225-line shell script — no resolver, no database.

+ +

How is this different from Bedrock?

+

Bedrock stitches multiple distributions together (apt + pacman + xbps side by side). Keru doesn't compose distros — it composes components, one init/libc/fs/kernel/tool at a time, built from source.

+ +

Why is network required to install?

+

The ISO carries only the installer. Your entire system is fetched and compiled during install, so a connection is a hard gate. It's the price of "power to choose anything" — nothing is prebuilt. More.

+ +

Will my system be stable?

+

Stable on the combinations Keru offers you — that's the promise. If you pick something past the proven edge, the installer warns and lets you proceed. You're never blocked. The full stance.

+ +

Is this a joke or a real project?

+

Real. The repos are live, AGPL-3.0, and the road to 0.1 is documented. It's at the "design is public, nothing has booted hardware yet" stage — which is exactly what 0.1 is for.

+ +

What's with the Japanese?

+

ける (Keru) and ける・けいとうてき (keru keitō-teki) — "craft your system." Kama (窯) means "kiln." The naming is deliberate atmosphere, not branding gimmick. More.

+ +

Why is the package manager in shell?

+

Because a package manager should be legible, and shell is the most legible thing that can run a build recipe. The real cost of your build is the compiler, not the manager — so the manager gets to be simple.

+ +

When can I install it?

+

The first release, 0.1, ships as a bootable ISO. Follow the road to 0.1.

+ +

Where do I ask something this page doesn't cover?

+

Contact channels — issues first, then the mailing list.

+ +
+
+
+ + + + + + + + \ No newline at end of file diff --git a/web/filesystems.html b/web/filesystems.html new file mode 100644 index 0000000..c0d02bc --- /dev/null +++ b/web/filesystems.html @@ -0,0 +1,61 @@ + + + + + +Filesystems — Keru OS + + + + + + + + +
+

home / swappables / filesystems

+

Filesystems

+

The shape of your disk.

+
+ +
+
+
+

The filesystem is how the kernel organizes data on disk — and it's a genuinely meaningdifferent choice: reliability vs features, volume management, snapshots, checksums, performance on specific workloads. Keru leaves it to you.

+
+ + + + + + + + + + + + +
FilesystemCharacter
ext4The default. Proven, journaled, everywhere-supported, boring in the best way.
ext2 / ext3Classic lineage — ext2 is unjournaled simplicity, ext3 added the journal.
btrfsSnapshots, subvolumes, checksums, and a rich feature set out of the box.
xfsScale-friendly, robust, excellent for large files and heavy workloads.
zfsSnapshots, RAID-Z, checksums, volume management. Serious features, more moving parts.
f2fsFlash-friendly filesystem, designed for SSDs and flash storage performance.
jfsIBM's journaled filesystem — lean, historically aimed at servers.
reiserfsOnce a pioneer; now effectively unmaintained. Offered, but flagged.
swapAs a separate swap area, part of the root setup.
+ +
+

Honest flags

+

Two filesystem options carry warnings in the installer:

+
    +
  • zfs as root needs a kernel module + ZFS userspace, and isn't yet proven end-to-end in the 0.1 pipeline. Warned, not blocked.
  • +
  • reiserfs is unmaintained with no stable future. Offered because the choice is yours; flagged because honesty is cheaper than regret.
  • +
+ +
The filesystem tooling (mkfs, fs tools) is built alongside the kernel and init in stage 2 — your choice dictating exactly what gets compiled in.
+ +

← All swappables

+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/web/index.html b/web/index.html new file mode 100644 index 0000000..b11b1fa --- /dev/null +++ b/web/index.html @@ -0,0 +1,123 @@ + + + + + +Keru OS — craft your system + + + + + + + + +
+ independent · source-only · linux +

You don't install a system.
You craft one.

+

Keru is an anti-opinionated Linux distribution. Choose your init, libc, filesystem, kernel, and tools at install time — and it builds exactly what you chose from source. Nothing forced, nothing you didn't ask for.

+
+ ↓ Download 0.1 + Read the philosophy + See what's swappable +
+
+ +
+
+ runit · s6 · openrc · systemd · busybox-init · sysvinit · dinit · shepherd + glibc · musl · uclibc-ng + ext4 · btrfs · xfs · zfs · f2fs · jfs · reiserfs + linux · linux-lts · linux-hardened · linux-cachyos · linux-zen + doas · sudo · opendoas · su + ける・けいとうてき — craft your system +
+
+ +
+
+

the differentiator

+

Everything is swappable. Nothing is forced.

+

Most distros hand you someone else's decision. Keru refuses that — every foundational component is yours to pick, resolved at install time and locked in at first boot.

+ +
+
+ +
+
+

live demo

+

Boot. Choose. Built from source.

+

The ISO carries only the installer. Boot it, it starts the installer automatically, you make your picks — and it builds your entire system from source.

+
+
keru@live:~$
+
[ keru ] Keru OS — craft your system
+Select the components, press enter for defaults.
+
+== Init system ==       [runit]
+== C library ==         [glibc]
+== Filesystem ==        [ext4]
+== Kernel ==            [linux]
+== Privilege elevation == [doas]
+== Network tools ==     [nmtui]
+
+Selecting: btrfs  ← you choose, Keru builds it
+...fetching source...
+...compiling from scratch (gcc → glibc → the system)...
+[ keru ] rootfs ready: /tmp/keru/root
+[ keru ] you crafted a btrfs, doas, runit system. it boots.
+
+
+
+ +
+
+

why keru

+

Purist. Honest. Light.

+
+
~225
lines, kama package manager
+
0
binary packages
+
1,000+
possible system combos
+
0
opinions forced on you
+
+
+
Source-only

Everything — toolchain included — compiled from original source. No binary packages, no opaque machinery.

+
Kama, the kiln

The whole package manager is a ~225-line shell script. Legible. You can read every decision it makes.

+
Anti-opinionated

Keru's only opinion is that you must form one. After that, it shuts up and builds exactly what you chose.

+
From scratch

The ISO carries only the installer. Your system is fetched and built on the fly during install.

+
Warn, don't block

Stability is guaranteed on what's offered. Push past the proven edge and Keru warns you, then gets out of your way.

+
All yours

No telemetry, no unwanted services, no background assumptions. The disk reflects exactly what you chose.

+
+
+
+ +
+
+

Ready when it's ready.

+

Keru 0.1 will ship as a bootable ISO. No source builds, no manual tooling — boot, choose, then watch it craft your system.

+ +
+
+ + + + + + + + \ No newline at end of file diff --git a/web/inits.html b/web/inits.html new file mode 100644 index 0000000..f3c013e --- /dev/null +++ b/web/inits.html @@ -0,0 +1,55 @@ + + + + + +Init systems — Keru OS + + + + + + + + +
+

home / swappables / inits

+

Init systems

+

Who brings your machine up. Your call.

+
+ +
+
+
+

The init system is the first thing that runs after the kernel — it boots the rest of your system and usually supervises services. It's also one of the most fought-over pieces of modern Linux. Keru's answer to the fight is simple: pick one yourself.

+
+ +
+
runit

Small, fast, BSD-style. Default in Keru — fast boot, simple service supervision, based on the runit process supervisor.

+
s6

The skarnet suite's init and service manager. Dependency-free, designed-for-service supervision, very small.

+
openrc

The classic Gentoo-style init. Compatible with sysvinit-style init.d, predictable "exclusive" service tree.

+
systemd

The dominant init — service manager, logind, udev, resolved, timedate, all in one. If you want it, it's a choice, not an assumption.

+
busybox-init

The bare init from busybox. Minimalist, tiny static binaries, closest to "nothing but a process supervisor."

+
sysvinit

The classic System V init. Simple runlevels, init.d scripts, historically the baseline Linux init.

+
dinit

A modern, fast, dependency-oriented init and service manager. Parallel boot, small footprint.

+
shepherd

GNU's service manager (init). Guile-based, declarative services, part of the GNU project.

+
+ +
+

Notes on pairing

+

Some combinations are easier than others. The stability check in the installer flags pairs that aren't yet proven (for example, musl + systemd), but never blocks them — the warn-not-block stance.

+ +
The init you pick is baked in at first boot. It's a choice you make once, deliberately, at install — not inherited from a default you never saw.
+ +

← All swappables

+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/web/install.html b/web/install.html new file mode 100644 index 0000000..5298577 --- /dev/null +++ b/web/install.html @@ -0,0 +1,75 @@ + + + + + +Install — Keru OS + + + + + + + + +
+

home / install

+

Install Keru

+

Boot the ISO. The installer starts itself. You choose. It builds.

+
+ +
+
+
+

The whole flow

+

Keru ships as a live ISO that carries only the installer. There is no prebuilt base image on the disk. The entire system — toolchain, kernel, init, libc, filesystem tooling — is fetched and compiled during installation, on the fly.

+ +
Network required. A working connection is a hard requirement for installing Keru. The installer checks it, and if you're not connected it offers to run nmtui for you.
+ +

Step by step

+
    +
  1. Boot the ISO. The live init (live/init) mounts the essentials and launches the installer automatically. No shell prompt, no manual boot gymnastics — it just starts.
  2. +
  3. Connect if asked. If there's no network yet, you'll be prompted. Say yes and nmtui opens; connect, then continue. The installer re-checks until you're online.
  4. +
  5. Choose your system. The installer walks through each swappable: init system, C library, filesystem, kernel, privilege elevation, network tools. Defaults are one enter-key away.
  6. +
  7. Resolve the stability check. Unproven combinations get a warning, never a block. If it's risky, you're told — then you decide.
  8. +
  9. Build. Confirm, and Keru fetches and compiles your exact system from source into a rootfs, then writes it to disk.
  10. +
  11. Boot what you chose. Fixed at first boot. The system that lands is precisely the one you designed.
  12. +
+ +

What the installer asks you

+ + + + + + + + +
ComponentOptions
Init systemrunit · s6 · openrc · systemd · busybox-init · sysvinit · dinit · shepherd
C libraryglibc · musl · uclibc-ng
Filesystemext4 · ext2 · ext3 · btrfs · xfs · zfs · f2fs · jfs · reiserfs
Kernellinux · linux-lts · linux-hardened · linux-cachyos · linux-zen
Privilege elevationdoas · sudo · opendoas · su
Network toolsnmtui · networkmanager · connman · systemd-networkd
+ +

What it writes

+

Your choices are assembled into a make.conf, then handed to the build pipeline: scripts/build-root.sh drives Kama through toolchain bootstrap, base system, kernel, init, and tooling. The result — a rootfs matching your profile — is finalized with mkfs-root.sh and written to the target filesystem.

+ +
# Generated by keru-install — hand-tune then rebuild if you like. +INIT=runit +LIBC=glibc +TARGET_FS=ext4 +KERNEL=linux +SUDO=doas +NET=nmtui +LICENSE_ACCEPT=(*)
+ +
From scratch, every time. There's no binary base to seed. The toolchain is bootstrapped — gcc, binutils, your libc — then the rest on top. This is the "fully from scratch" path, kept honest.
+ +

Walk through the installer in detail · See the requirements · Network setup details

+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/web/installation-requirements.html b/web/installation-requirements.html new file mode 100644 index 0000000..4931197 --- /dev/null +++ b/web/installation-requirements.html @@ -0,0 +1,61 @@ + + + + + +Installation requirements — Keru OS + + + + + + + + +
+

home / install / requirements

+

Installation requirements

+

Honest about what installing Keru demands.

+
+ +
+
+
+

Hard requirements

+ + + + + + + +
RequirementWhy
Working networkThe ISO carries only the installer. Everything else — toolchain, kernel, init, libc, tools — is fetched and compiled during install. No network, no install.
A machine that runs LinuxKeru is a Linux distribution. The installer boots on x86 (and other archs as they're proven).
A target disk/filesystemThe system is written to the filesystem you choose during install.
Some patienceEverything is built from source on your machine. A from-scratch toolchain + system takes time. The compiler, not the package manager, is the bottleneck.
A willingness to chooseKeru's only ask is that you form an opinion about init, libc, filesystem, kernel, and tooling. Defaults exist; the decisions are still yours.
+ +

Not requirements

+
    +
  • No pre-existing Linux. You don't need an OS to install from — the ISO + installer handles everything.
  • +
  • No manual source builds. The installer drives the whole from-scratch build for you.
  • +
  • No binary packages. Nothing precompiled to download. You build what you run.
  • +
  • No telemetry or accounts. Nothing phone-home, nothing to sign up for to install.
  • +
+ +

The network, concretely

+

At the first installable release (0.1), the network path is straightforward: wired Ethernet via DHCP, or wireless via nmtui, both handled from inside the installer. See the network setup flow.

+ +

What "from the network" means

+

The installer reaches source tarballs (via a mirror such as mirror.keru.org, with upstream as fallback), pulls recipes from the recipe repository, and builds. The heavy lifting is the compiler on your CPU — which is exactly the point of a source-only, from-scratch distribution.

+ +
If you want fast and prebaked, a binary distro is right there. If you want your machine — built from source to your exact selection — Keru is the one.
+ +

← Back to install overview

+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/web/installer-walkthrough.html b/web/installer-walkthrough.html new file mode 100644 index 0000000..98d8694 --- /dev/null +++ b/web/installer-walkthrough.html @@ -0,0 +1,113 @@ + + + + + +Installer walkthrough — Keru OS + + + + + + + + +
+

home / install / walkthrough

+

Installer walkthrough

+

Every screen, in order, with the logic behind it.

+
+ +
+
+
+ +

0 — Boot

+

The live init starts installer/install.sh automatically on the console. If the installer ever exits (say you decline to build), it drops you into an emergency shell rather than stranding you.

+ +

1 — Network gate

+

Because the ISO carries only the installer, connectivity is checked first. The probe hits a few hosts (1.1.1.1, github.com, mirror.keru.org) with ping; if ping isn't there, it falls back to a TCP connect via nc.

+ +
+
keru@live:~$
+
[ keru ] network: connected     ← online, straight to choices
+or, if offline:
+[ keru ] warning: network: not connected
+Connect to the network now (runs nmtui)? [Y/n] y
+(nmtui opens; you connect; press ok)
+[ keru ] network: connected
+
+ +

If you press n at the prompt, the installer exits with a network connection is required to install Keru. If you run nmtui and don't actually connect, the loop simply asks again — it never fakes success.

+ +

2 — Choose your system

+

Each swappable is presented as a numbered menu. Pressing enter keeps the default; typing a number picks the option.

+ +
+
keru@live:~$
+
[ keru ] Keru OS — craft your system
+== Init system ==
+  1) runit
+  2) s6
+  3) openrc
+  4) systemd
+  5) busybox-init
+  6) sysvinit
+  7) dinit
+  8) shepherd
+Select [runit]: 
+
+ +

The same pattern repeats for C library, filesystem, kernel, privilege elevation, and network tools.

+ +

3 — Stability check

+

After the last pick, known-risky combinations are flagged. This is a warning, never a block — the philosophy of stable-on-what's-offered, never-lock-you-out.

+ +
+
keru@live:~$
+
[ keru ] warning: uclibc-ng + runit: not yet proven to build and boot together
+[ keru ] warning: this combination is unstable. Keru won't stop you — build at your own risk.
+
+ +

4 — make.conf

+

Your selections are written to a profile and shown back to you before anything builds:

+ +
+
keru@live:~$
+
[ keru ] writing /tmp/keru/make.conf
+[ keru ] profile complete:
+# Generated by keru-install — hand-tune then rebuild if you like.
+INIT=runit
+LIBC=glibc
+TARGET_FS=btrfs
+KERNEL=linux
+SUDO=doas
+NET=nmtui
+LICENSE_ACCEPT=(*)
+
+Build now? [y/N] y
+
+ +

5 — Build

+

Confirming hands the profile to the build pipeline, which runs in three stages:

+
    +
  1. Stage 0 — bootstrap. binutils, gcc, your chosen libc, then the toolchain package. This is the from-scratch toolchain.
  2. +
  3. Stage 1 — base system. The BASE_PACKAGES set from your make.conf.
  4. +
  5. Stage 2 — the swappables. Kernel, init, sudo-alternative, and network tools — exactly the ones you picked.
  6. +
  7. Stage 3 — finalize. mkfs-root.sh writes the chosen filesystem to the target root.
  8. +
+ +
Result: a rootfs at /tmp/keru/root matching your profile, ready to boot. Fixed at first boot — the system you designed.
+ +

← Back to install overview · The build pipeline in full

+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/web/kama-recipes.html b/web/kama-recipes.html new file mode 100644 index 0000000..30a6dc3 --- /dev/null +++ b/web/kama-recipes.html @@ -0,0 +1,80 @@ + + + + + +Kama recipes — Keru OS + + + + + + + + +
+

home / kama / recipes

+

Kama recipes

+

The package manager runs recipes. Here's what a recipe is.

+
+ +
+
+
+

A Kama recipe is a plain shell script. It declares metadata and defines build steps. There is no DSL to learn beyond shell itself — which is the point. The recipe repository (kama-packages) contains one file per package, and each one is readable top to bottom.

+ +

Anatomy of a recipe

+
name=busybox +version=1.36.1 +url="https://busybox.net/downloads/busybox-${version}.tar.bz2" +deps=( make ) + +build() { + cp ../config .config # basic setup from kama + make -j"$(nproc)" +} + +install() { + make install CONFIG_PREFIX="$DESTDIR" +}
+ +

The key fields:

+ + + + + + + + +
FieldMeaning
namePackage name; used for the stage and cache paths.
versionThe release version, typically embedded in the url.
urlUpstream source tarball (mirror-then-upstream on fetch).
depsArray of build-time dependencies, built then purged.
build()Runs in the extracted source dir — configure & compile.
install()Installs into the package's stage dir (DESTDIR).
+ +

Two tiers

+

Recipes can stay deliberately simple or take full control:

+
    +
  • Easy tier — the build() / install() sugar above. Great for "configure, make, make install" packages.
  • +
  • Advanced tier — pkg_build(), pkg_install(), custom pkg_fetch(), and a pkg_post() hook. For packages that need a hand.
  • +
+ +

Kama maps the easy tier onto the advanced one when the advanced forms aren't defined, so simple recipes stay simple and complex ones stay powerful.

+ +

The staging model

+

Building installs into a per-package stage dir, not the live root. That's how kama can assemble a complete system in $ROOT — the installer's whole trick — without ever touching the tree being built. The install step copies the staged dir into $ROOT.

+ +

How it's found

+

Kama locates a recipe by trying PKGDIR/<pkg>/PKGBUILD, then PKGDIR/<pkg>.sh, then PKGDIR/<pkg>/*.sh. Naming a recipe file <pkg>.sh is the common case.

+ +
A recipe is a contract you can read. No opaque package format, no hidden build logic — if you can read shell, you can audit every package in the repository.
+ +

The formal recipe format spec · ← Kama overview

+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/web/kama-repos.html b/web/kama-repos.html new file mode 100644 index 0000000..bb54f73 --- /dev/null +++ b/web/kama-repos.html @@ -0,0 +1,62 @@ + + + + + +Kama repos — Keru OS + + + + + + + + +
+

home / kama / repos

+

The repo split

+

Three small pieces, each with one job.

+
+ +
+
+
+

Keru splits its world into three repositories so each stays small and legible. The package side of that is:

+ + + + + + +
RepoHoldsKeeps
kamaThe manager — the kama entry point and lib/kama.sh core.The code.
kama-packagesThe recipe repository — one .sh per package.The knowledge.
KeruOSThe OS: installer, profile, build pipeline, live init, website.The orchestration.
+ +

Why separate

+
    +
  • Independent cadence. The manager changes rarely; recipes change constantly. Mixing them couples an ossified core to churn.
  • +
  • Clear ownership. "Which file builds busybox?" — the recipe repo. "How does kama decide to stage?" — the manager repo. No guessing where things live.
  • +
  • Small repos, legible diffs. A PR adding a package touches exactly one file in one repo.
  • +
  • Cross-repo defaults. Keru's scripts expect the three repos as siblings (kama next to kama-packages next to KeruOS), and every path is overridable via KAMA_DIR / PKGS_DIR.
  • +
+ +

How they fit together

+
# KeruOS build-root.sh drives kama against kama-packages +KAMA="$KAMA_DIR/kama" # the manager +PKGDIR="$PKGS_DIR" "$KAMA" make "$pkg" # a recipe, executed +# into $ROOT — a completed system, built from source.
+ +

The installer is the conductor: it writes your make.conf, then calls the build pipeline, which runs kama over recipes to produce exactly the system you chose.

+ +
This is Keru's answer to packaging sprawl: three tiny repos, each human-sized, instead of one monolith that swallowed everything.
+ +

← Kama overview · The build pipeline

+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/web/kama-usage.html b/web/kama-usage.html new file mode 100644 index 0000000..3550f68 --- /dev/null +++ b/web/kama-usage.html @@ -0,0 +1,79 @@ + + + + + +Kama usage — Keru OS + + + + + + + + +
+

home / kama / usage

+

Kama usage

+

The whole command surface, in one place.

+
+ +
+
+
+

Kama's commands are few on purpose. Here's the complete set:

+ + + + + + + + + + +
CommandWhat it does
kama fetch <pkg>Download and extract source for a package into the cache.
kama build <pkg>Stage-build one package (configure/make) into its stage dir.
kama install <pkg>Build + install a package into $ROOT (staging-aware).
kama make <pkg>High-level: fetch deps, build, install, then purge temp deps.
kama purge [pkg ...]Remove temp build-time deps after a successful install.
kama info <pkg>Show a recipe's metadata (name, version, url, deps).
kama helpPrint the command reference.
+ +

Making a package, end to end

+

kama make is the command that ties it together. For a package with dependencies it walks through:

+
+
$ kama make firefox
+
[ kama ] building temp deps for firefox: rust gtk3
+  ... fetch, build, install each temp dep ...
+[ kama ] building firefox
+  ... stage build + install into $ROOT ...
+[ kama ] purging temp deps for firefox: rust gtk3
+
+ +

Environment & config

+

Kama reads a few things to know where to work:

+ + + + + + + +
VariableDefault
PKGDIRThe recipe repo (kama-packages, sibling by default).
MAKE_CONF/etc/kama/make.conf — profile settings, if present.
ROOT/tmp/keru/root — where installed files go.
CACHEDIR/var/cache/kama — source, download, and stage dirs.
PURGE_TEMP_DEPS1 — whether temp deps are purged after building.
+ +

Fetch details

+
    +
  • Mirror first. Downloads try SOURCE_MIRROR before upstream, so the org mirror (e.g. mirror.keru.org) can carry the load.
  • +
  • Cached. Already-downloaded source is reused; already-extracted source isn't re-extracted.
  • +
  • Auto-extract. Tar (gz/xz/bz2/plain) and zip are handled automatically by extension.
  • +
+ +
Kama's surface stays tiny because the complexity lives in recipes, not the manager. Read how recipes work next.
+ +

← Kama overview

+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/web/kama.html b/web/kama.html new file mode 100644 index 0000000..eb49253 --- /dev/null +++ b/web/kama.html @@ -0,0 +1,59 @@ + + + + + +Kama — Keru OS package manager + + + + + + + + +
+

home / kama

+

Kama — the kiln

+

Keru's package manager, deliberately small.

+ 窯 +
+ +
+
+
+

Kama (窯, "kiln") is Keru's package manager. It's a pure-shell script of roughly 225 lines that builds every package from source by running the commands in a recipe. It holds no opinions — matching the distro that ships it. It reads a make.conf, runs recipe commands, and gets out of the way.

+
+ +
+
no dbNo package database

Kama doesn't track installed files in a manifest db. It stages, installs, and moves on.

+
no resolverNo dependency resolver

Dependencies come from the recipe's deps[] array — explicit, not discovered.

+
shellPure shell

The whole manager is a script. Legible end to end; every decision is something you can read.

+
stageStaging installs

Builds into a per-package stage dir, then copies into $ROOT — never smears the live tree.

+
tmp depsEphemeral build deps

Build-time-only dependencies are fetched, built, installed, and purged after use — they never accumulate.

+
$ROOTBuilds anywhere

Targets $ROOT, so it can assemble a full system in a staging root — exactly what the installer needs.

+
+ +
+

The philosophy in the manager

+

Kama embodies Keru's central bet: package managers became more complex than the packages they manage. A resolver, a database, a binary format, a compiled daemon — none of that is needed to honestly manage a source-built system. What's needed is a script that faithfully runs what a recipe says, so the user can read any decision it makes.

+ +
"A package manager doesn't need a resolver to be honest. It needs to be legible — you can read every decision it makes, because every decision is a script or a line in make.conf you can see and change."
+ +

Where it lives

+

Kama lives in its own repo, alongside the recipe repository — two small pieces that Keru's installer drives together.

+ +
Kama is the thing that makes "from scratch" real. It's the kiln that fires your system from the ingredients you pick.
+ +

How to use Kama · How recipes work · The repo split

+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/web/kernels.html b/web/kernels.html new file mode 100644 index 0000000..0253550 --- /dev/null +++ b/web/kernels.html @@ -0,0 +1,55 @@ + + + + + +Kernels — Keru OS + + + + + + + + +
+

home / swappables / kernels

+

Kernels

+

The spine of your machine.

+
+ +
+
+
+

Keru is a Linux distribution — but "Linux" is a family, and the kernel is genuinely a choice: freshness vs stability, hardening vs performance, general-purpose vs tuned. Keru ships the choice, not the verdict.

+
+ +
+
linux

The default. Stock mainline — the broad, well-trodden baseline that matches the ecosystem.

+
linux-lts

The long-term-supported line. Slower-moving, security-patched, built for stability and long installs.

+
linux-hardened

Hardening patches on top of the kernel — hardened allocator, stronger exploit mitigations.

+
linux-cachyos

A performance-tuned kernel with scheduler and allocator tweaks; built for responsiveness.

+
linux-zen

Community kernel focused on desktop and multimedia performance — faster, more adventurous.

+
+ +
+

A choice, within a family

+

To be clear about the scope: the freedom here is within Linux — which Linux kernel, not whether to leave the family. Keru composes everything above the kernel however you like; the kernel itself has a well-tested set of variants to pick from. More on what Keru's freedom does and doesn't cover.

+ +

Baked in, not bolted on

+

Stage 2 of the build compiles the exact kernel you chose and wires your init to boot it. The kernel, the init, and everything else is one coherent profile — nothing prebaked, nothing to fight.

+ +
linux-lts for "set it and forget it," linux for the mainstream, hardened/zen/cachyos for the tradeoffs you actually want. Your call.
+ +

← All swappables

+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/web/libcs.html b/web/libcs.html new file mode 100644 index 0000000..147bcb8 --- /dev/null +++ b/web/libcs.html @@ -0,0 +1,53 @@ + + + + + +C libraries — Keru OS + + + + + + + + +
+

home / swappables / libcs

+

C libraries

+

The foundation under everything that runs.

+
+ +
+
+
+

Every C program on your system links against a C library. It's the floor under userspace: malloc, printf, thread primitives, the syscall wrappers, all of it. Keru lets you choose which floor the rest of your system stands on.

+
+ +
+
glibc

The default, and the most compatible. Maximal feature set, broadest software support, the ecosystem baseline.

+
musl

Small, fast, clean implementation. MIT-licensed, statically-friendly, famous for strict correctness and small binaries.

+
uclibc-ng

The maintained fork of uClibc — designed for embedded and minimal systems, tiny footprint, configurable.

+
+ +
+

Why this is a choice

+

Binary distributions can't really offer this — a prebuilt package set is glued to one libc. A source-only distribution can, because it compiles everything against whatever you picked. Keru carries that through: your chosen libc is bootstrapped first (in the toolchain stage), and every package is built against it.

+ +

Stability notes

+

musl and uclibc-ng are early-0.1 territory. The installer's stability check currently flags uclibc-ng combinations as not-yet-proven, and musl + systemd as a known-hard pairing. Warnings — never blocks. The stance.

+ +
glibc is the default for a reason: it's the widest path. But "the path everyone takes" is an argument, not a law — and in Keru, you make the call.
+ +

← All swappables

+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/web/license.html b/web/license.html new file mode 100644 index 0000000..065443e --- /dev/null +++ b/web/license.html @@ -0,0 +1,51 @@ + + + + + +License — Keru OS + + + + + + + + +
+

home / license

+

License

+

AGPL-3.0, across all three repositories.

+
+ +
+
+
+

Keru OS, kama, and kama-packages are licensed under the GNU Affero General Public License v3.0 (AGPL-3.0). The full license text ships as LICENSE in each repository.

+ +

What that means, briefly

+
    +
  • Freedom to use. Build, install, and run Keru on anything you like.
  • +
  • Freedom to study and modify. Source is available everywhere; it always has been — that's Keru's whole point.
  • +
  • Freedom to share. Redistribute copies (modified or not) under the same license.
  • +
  • Network use counts. If you modify Keru's software and offer it to users over a network, the AGPL requires you to offer the modified source — the "Affero" addition.
  • +
+ +

Derivative distributions welcome

+

Keru deliberately doesn't forbid forking or remixing. If another distribution wants to build on Keru — take the installer, the pipeline, the philosophy — it's welcome, under the AGPL. That's consistent with the ethos: the pieces are yours to assemble.

+ +

About this website

+

This site lives in web/ in the KeruOS repository, and is covered by the same AGPL-3.0. The design, copy, and markup are free to reuse under it.

+ +
License texts live in each repo root. The canonical document is the file, not this page.
+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/web/links.html b/web/links.html new file mode 100644 index 0000000..68b1430 --- /dev/null +++ b/web/links.html @@ -0,0 +1,62 @@ + + + + + +Links — Keru OS + + + + + + + + +
+

home / community / links

+

Links

+

Everything, in one place.

+
+ +
+
+ + +
+

Related reading

+ + +
All code is AGPL-3.0. This site's source lives in web/ inside the KeruOS repo — clone, read, improve.
+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/web/live-init.html b/web/live-init.html new file mode 100644 index 0000000..a798b63 --- /dev/null +++ b/web/live-init.html @@ -0,0 +1,65 @@ + + + + + +Live init — Keru OS docs + + + + + + + + +
+

home / docs / live init

+

Live init

+

Boot the ISO, and the installer starts itself.

+
+ +
+
+
+

live/init is the init for the Keru live ISO. Its entire job is to get you into the installer as fast as possible — no shell prompt, no manual steps between boot and "craft your system."

+ +

What it does, in order

+
    +
  1. Sets up the console. Redirects to $CONSOLE (/dev/tty1 by default) so installer messages land where you can see them.
  2. +
  3. Mounts virtual filesystems. /proc, /sys, /dev (devtmpfs, with tmpfs fallback), /dev/pts, /dev/shm — the essentials the installer needs.
  4. +
  5. Locates the installer root. Uses the kernel's root= if given, or looks for a KERU*-labeled device to find the read-only squashfs payload; otherwise assumes the installer is on the current root.
  6. +
  7. Execs the installer. exec sh installer/install.sh — the TUI starts immediately.
  8. +
  9. Emergency shell fallback. If the installer exited or isn't found, you get an interactive rescue shell instead of a hang.
  10. +
+ +
+
live/init
+
[ keru ] booting installer...
+[ keru ] Keru OS — craft your system
+== Init system ==       [runit]
+== C library ==         [glibc]
+== Filesystem ==        [ext4]
+# and you're choosing — the installer opened itself.
+
+ +

Design notes

+
    +
  • Ultra-minimal. The live env is busybox + the installer. No init system in the live env — this script is the init.
  • +
  • Never strand you. The emergency shell is deliberate: "installer not found or exited" should never be a dead end.
  • +
  • Console-aware. It listens to the console= kernel param so serial consoles work too.
  • +
+ +
This is the "boot → choose → it builds" promise made real: the ISO carries the installer, and live/init hands it straight to you.
+ +

What happens after it starts · ← Docs

+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/web/make-conf.html b/web/make-conf.html new file mode 100644 index 0000000..dfcacae --- /dev/null +++ b/web/make-conf.html @@ -0,0 +1,97 @@ + + + + + +make.conf reference — Keru OS + + + + + + + + +
+

home / docs / make.conf

+

make.conf

+

The single source of truth for a build.

+
+ +
+
+
+

make.conf is the file the installer writes and Kama reads. Every swappable choice in Keru lives here — it's the record of your crafted system, and hand-tuning it then rebuilding is fully supported.

+ +

Profile — the swappables

+
# Which init system gets installed +INIT=runit + +# Which libc the toolchain and packages build against +LIBC=glibc + +# Which filesystem the target root is formatted as +TARGET_FS=ext4 + +# Which kernel you want built +KERNEL=linux + +# Which privilege-elevation tool gets installed +SUDO=doas + +# Base package set pulled into every install +BASE_PACKAGES=(base toolchain openssh) + +# Locale / clock / keymap applied to the target +LOCALE=en_US.UTF-8 +TIMEZONE=UTC +KEYMAP=us
+ +

Build environment

+
# Compiler / linker flags passed to every recipe build +CFLAGS="-O2 -march=x86-64" +CXXFLAGS="$CFLAGS" +LDFLAGS="-s" + +# Parallelism +JOBS=$(nproc) +MAKEFLAGS="-j$JOBS" + +# Mirrors for source tarballs +SOURCE_MIRROR="https://mirror.keru.org/sources" + +# Where the new target root lives on the build host +ROOT=/tmp/keru/root + +# Persistent source + build cache (survives across installs) +CACHEDIR=/var/cache/kama
+ +

Kama behaviour

+
# Remove temp build-time deps after use (AUR-style). Set to 0 to keep them. +PURGE_TEMP_DEPS=1 + +# Stop on first recipe failure +FAIL_FAST=1
+ +

Why it's "the source of truth"

+
    +
  • The installer writes it from your choices — every menu pick lands as a line here.
  • +
  • Kama reads it to know flags, mirrors, cache, and where to install into.
  • +
  • It's human-editable. The TUI is a convenience, not a gate. Edit, rebuild, repeat.
  • +
  • It's reproducible. The same make.conf should build the same system.
  • +
+ +
The canonical template lives in profile/make.conf at the repo root — the copy above mirrors it, but the repository file is the source of truth.
+ +

The profile system · ← Docs

+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/web/mkfs-root.html b/web/mkfs-root.html new file mode 100644 index 0000000..3569201 --- /dev/null +++ b/web/mkfs-root.html @@ -0,0 +1,49 @@ + + + + + +mkfs-root — Keru OS docs + + + + + + + + +
+

home / docs / build-pipeline / mkfs-root

+

mkfs-root.sh

+

Finalizing the root as the filesystem you chose.

+
+ +
+
+
+

scripts/mkfs-root.sh is the final stage of the build pipeline. Given your chosen TARGET_FS, it formats and assembles $ROOT so the disk reflects exactly the filesystem you selected at install.

+ +

What it does

+
    +
  • Formats. Creates the filesystem image with the matching mkfs tool (ext4, btrfs, xfs, zfs, f2fs, jfs, reiserfs, swap, or the ext2/ext3 lineage).
  • +
  • Populates. Copies the built rootfs into the formatted volume.
  • +
  • Wiring. Ensures fstab and boot records match your selections.
  • +
+ +

Honest flags

+

The filesystem tooling is built in stage 2 from your choice — if you picked zfs, you get ZFS tools; if reiserfs, you get its (unmaintained) tooling, after a stability warning. Whatever you choose, the tooling and the format match.

+ +
The result of stage 3 is a rootfs that will boot — with the exact filesystem, kernel, init, and tools you picked. That's the whole pipeline in one line.
+ +

← Build pipeline

+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/web/network-setup.html b/web/network-setup.html new file mode 100644 index 0000000..ddda276 --- /dev/null +++ b/web/network-setup.html @@ -0,0 +1,65 @@ + + + + + +Network setup — Keru OS + + + + + + + + +
+

home / install / network setup

+

Network setup

+

Connectivity is a hard requirement. The installer makes connecting easy.

+
+ +
+
+
+

Why networking is mandatory

+

The ISO carries only the installer — there's no prebuilt base image on the disk. Your entire system (toolchain, kernel, init, libc, filesystem tooling, tools) is fetched from the network and compiled during installation. So the installer treats a connection as a hard gate: no network, no install. It won't pretend otherwise.

+ +

The flow, exactly

+
    +
  1. Probe. The installer checks connectivity against several hosts (1.1.1.1, github.com, mirror.keru.org) using ping, falling back to a TCP connect via nc if needed.
  2. +
  3. If connected: a simple [ keru ] network: connected and it moves straight to crafting your system.
  4. +
  5. If not connected: you're told, and asked — Connect to the network now (runs nmtui)? [Y/n].
  6. +
  7. Say yes: nmtui opens. Connect to your network, press okay.
  8. +
  9. Saying no: the installer exits with a network connection is required to install Keru.
  10. +
  11. Re-check. After nmtui closes, connectivity is probed again. If you're online, you continue. If not, it asks again — it never fakes success.
  12. +
+ +
+
keru@live:~$
+
[ keru ] warning: network: not connected
+Connect to the network now (runs nmtui)? [Y/n] y
+(nmtui opens — pick your network, connect, press ok)
+[ keru ] network: connected
+
+ +

Details that matter

+
    +
  • Wired is the path of least resistance. A physical Ethernet connection with DHCP typically just works — the probe succeeds and you skip straight to choosing.
  • +
  • Wireless goes through nmtui. The NetworkManager TUI handles Wi-Fi selection, WPA credentials, and the rest. The installer doesn't guess; it hands you the tool.
  • +
  • Loop, don't lie. If you run nmtui but never connect, the installer loops back to the prompt rather than proceeding on a "trust me, it worked" basis.
  • +
+ +
What if nmtui isn't available? The live ISO ships with it, so this is an edge case — but if it's missing, the installer tells you plainly and lets you bring the network up yourself before continuing.
+ +

Walkthrough · Requirements

+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/web/network-tools.html b/web/network-tools.html new file mode 100644 index 0000000..97837a7 --- /dev/null +++ b/web/network-tools.html @@ -0,0 +1,54 @@ + + + + + +Network tools — Keru OS + + + + + + + + +
+

home / swappables / network tools

+

Network tools

+

How your network gets managed. Your call.

+
+ +
+
+
+

The network stack has as many opinions attached as the init system. Keru applies the same rule: pick the manager you want, and it's built into your system — nothing wireless-by-default imposed, no "just use the standard one."

+
+ +
+
nmtui

The default. Just NetworkManager's terminal user interface — connect wires and Wi-Fi without a full manager on your system.

+
networkmanager

The full NetworkManager — daemon, D-Bus API, nmcli, handles wired, wireless, VPN, and more.

+
connman

Intel's connection manager — light, D-Bus bus–independent, designed for embedded and minimal systems.

+
systemd-networkd

systemd's network configuration daemon — declarative unit-based config, pairs with systemd/udev.

+
+ +
+

Notes on the default

+

The default is nmtui — the interface, not the daemon — which is the lean choice: you get the easy nmtui workflow during install without committing yourself to running NetworkManager's daemon afterward. If you want the full manager, it's one selection away.

+ +

Coherence

+

If you chose systemd as your init, systemd-networkd pairs naturally. If you're on runit or s6, a standalone manager (or just nmtui) fits the picture. The installer offers the pieces; you assemble them.

+ +
During install, network setup uses nmtui itself (the installer runs it when you need to connect) — independent of what you pick as your system's eventual network tool. The install-time network flow.
+ +

← All swappables

+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/web/news.html b/web/news.html new file mode 100644 index 0000000..87cab24 --- /dev/null +++ b/web/news.html @@ -0,0 +1,52 @@ + + + + + +News — Keru OS + + + + + + + + +
+

home / news

+

News

+

Progress, decisions, and the road to 0.1.

+
+ +
+
+ +

Introducing Keru OS

+
2026-09-01 · announcement
+

An anti-opinionated, source-only Linux distribution where everything is swappable at install time.

+
+ +

The philosophy is the architecture

+
2026-09-01 · design
+

Why the "you choose everything" claim is structurally real, not a slogan.

+
+ +

The road to 0.1

+
2026-09-01 · roadmap
+

What has to exist before the first installable ISO ships — honest about the work.

+
+ +

Design decisions, so far

+
2026-09-01 · design
+

The choices recorded so Keru didn't drift: shell manager, warn-not-block, sibling repos, installer-only ISO.

+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/web/news/announcing-keru.html b/web/news/announcing-keru.html new file mode 100644 index 0000000..bbf25e0 --- /dev/null +++ b/web/news/announcing-keru.html @@ -0,0 +1,55 @@ + + + + + +Introducing Keru OS — Keru OS news + + + + + + + + +
+

home / news / announcing keru

+

Introducing Keru OS

+

2026-09-01 · announcement

+
+ +
+
+
+

Keru (ける) is a Linux distribution built on a deliberately unusual premise: the distro holds no opinion about your system. Not a light opinion, not a sensible default disguised as neutrality — no position at all.

+ +

Most distributions are an answer to "who decides what your system is?" and the answer is usually "the maintainers, wisely." Keru's answer is different: you decide, at install time, and the distro builds exactly that.

+ +

What that means concretely

+
    +
  • Init is a choice. runit, s6, openrc, systemd, busybox-init, sysvinit, dinit, shepherd — side by side, weightless.
  • +
  • Your C library is a choice. glibc, musl, uclibc-ng.
  • +
  • Your filesystem is a choice. ext4, btrfs, xfs, zfs, f2fs, jfs, reiserfs.
  • +
  • Your kernel is a choice. linux, linux-lts, hardened, cachyos, zen.
  • +
  • Even sudo is a choice. doas, sudo, opendoas, or su.
  • +
+ +

And it's source-only. The whole system — toolchain included — is compiled from original source by Kama, a package manager that's a ~225-line shell script. There are no binary packages, no opaque machinery, no background assumptions.

+ +

Why

+

Because "you get s6 and XFS whether you like it or not" is a fine stance for a distro that wants an opinion — but it's a burden for anyone who wants a system that is theirs. Keru's only opinion is that you have to form one. After that, it builds exactly what you chose.

+ +

Read the full philosophy, or follow progress here.

+ +
Everything is at an early stage. The first installable release, 0.1, will ship as a bootable ISO. Until then: the design is public, the repos are live, and the road is documented.
+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/web/news/design-decisions.html b/web/news/design-decisions.html new file mode 100644 index 0000000..89a1c26 --- /dev/null +++ b/web/news/design-decisions.html @@ -0,0 +1,58 @@ + + + + + +Design decisions, so far — Keru OS news + + + + + + + + +
+

home / news / design decisions

+

Design decisions, so far

+

2026-09-01 · design

+
+ +
+
+
+

Keru is early enough that its choices are still choices, not habits — so we're recording the ones already made, and why. If a decision ever looks wrong, this is the record of what it was meant to do.

+ +

1. The package manager is a shell script

+

Kama (~225 lines, pure shell) reads make.conf and runs recipe commands. No resolver, no database, no binary format. Rationale: legibility over machinery. The real cost of a build is the compiler, not the manager, so the manager should be boringly simple.

+ +

2. Stability is warn-not-block

+

Keru guarantees stability on the combinations it offers, and warns (never stops) you past that. Rationale: stable-on-what's-offered keeps the promise honest, and never-lock-out keeps it faithful to the anti-opinionated ethos.

+ +

3. Three sibling repos

+

KeruOS, kama, kama-packages — separate, sibling by default, each human-sized. Rationale: independent cadence, legible diffs, clear ownership. Paths are overridable via KAMA_DIR/PKGS_DIR.

+ +

4. The ISO carries only the installer

+

No prebuilt base image on the disk. The entire system is fetched and compiled during install, with network as a hard gate. Rationale: this is what makes "everything is swappable" real rather than aspirational — power to choose comes from nothing being prebuilt.

+ +

5. All ephemeral build deps (AUR-style)

+

Build-time dependencies are compiled, installed, and purged after use (PURGE_TEMP_DEPS=1). Rationale: they never accumulate, so the final system reflects exactly what it needs to run — not what it needed to be built.

+ +

6. The installer auto-starts on boot

+

live/init execs install.sh directly; if it exits, an emergency shell catches you. Rationale: "boot → choose → build" should have zero friction, and a user should never be stranded.

+ +

7. The website lives in the OS repo

+

For now, the site ships inside KeruOS under web/ — plain static HTML, dark, no framework. Rationale: keep it close to the code it documents and framework-free to match the ethos; it can split out when it earns its own repo.

+ +
None of these are dogma — they're recorded because they're decisions, and decisions are meant to be repeatable or revisitble. This page is where revisiting starts.
+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/web/news/philosophy-is-architecture.html b/web/news/philosophy-is-architecture.html new file mode 100644 index 0000000..6fe4dca --- /dev/null +++ b/web/news/philosophy-is-architecture.html @@ -0,0 +1,53 @@ + + + + + +The philosophy is the architecture — Keru OS news + + + + + + + + +
+

home / news / philosophy is the architecture

+

The philosophy is the architecture

+

2026-09-01 · design

+
+ +
+
+
+

"You choose everything" sounds like marketing. It's not — it's the shape of the code. Keru's philosophy and its architecture are the same thing, and that's the whole stability argument in miniature.

+ +

The claim

+

Keru says every foundational component is a variable you resolve at install time. Here's how that's true at the structural level, not just in spirit:

+ +
    +
  • The installer encodes the choices. install.sh presents switches and writes them into make.conf. Init, libc, fs, kernel, sudo, net — each a line.
  • +
  • The profile is the only interface. make.conf is what the build reads. There's no hidden stack to override your choices; the choices are the input.
  • +
  • Kama executes, doesn't decide. The package manager runs recipes. It has no opinion because it has no place for one.
  • +
  • The build is a pipeline of your selections. Stage 2 builds exactly $KERNEL, $INIT, $SUDO, $NET. Nothing else is possible.
  • +
+ +

Why that matters

+

A distro is stable-for-its-idea when saying the thing and doing the thing are the same act. There's no gap for the machine to betray the pitch. If the pitch says "whatever you chose lands on the disk," the pipeline is materially incapable of doing anything else — because its only inputs are your choices.

+ +

The boundary is honest too

+

The same architecture makes the limits visible. Choice multiplies combinations, so stability is scoped to what's offered, and risky picks get warned, not blocked — the warn-not-block stance. That's another place the philosophy and the structure agree: the installer tells you the truth because the design has no way to hide it.

+ +

Read more in the philosophy.

+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/web/news/roadmap-0.1.html b/web/news/roadmap-0.1.html new file mode 100644 index 0000000..d519a0e --- /dev/null +++ b/web/news/roadmap-0.1.html @@ -0,0 +1,55 @@ + + + + + +The road to 0.1 — Keru OS news + + + + + + + + +
+

home / news / road to 0.1

+

The road to 0.1

+

2026-09-01 · roadmap

+
+ +
+
+
+

The first installable release, 0.1, ships as a bootable ISO. No source builds for the user, no manual tooling — you boot it, the installer starts itself, you choose, and it builds. Here's the honest list of what has to be true before that ISO exists.

+ +

The pipeline must actually build

+
    +
  • Toolchain bootstrap on real hardware. binutils → gcc → libc → toolchain, from literal nothing. This is the hard step; source distros live or die here.
  • +
  • A working base set. base, toolchain, openssh, and the tooling each swappable needs, all building against the chosen libc.
  • +
  • Every offered combo, proven. The stability promise is "stable on what we offer" — so the offering must be curated to what's tested.
  • +
+ +

The ISO must boot and install

+
    +
  • live/init works. The ISO boots, mounts virtual filesystems, and hands you the installer with no prompt in the way.
  • +
  • Network gate works. Connectivity check, nmtui handoff, re-check loop — the hard requirement handled gracefully.
  • +
  • The installer writes a correct profile. Menus → make.conf → build, with the stability checks warning (never blocking) along the way.
  • +
  • The installed system boots. First boot runs the init you chose, on the filesystem you chose, with the kernel you chose. Fixed at first boot.
  • +
+ +

Honesty about the present

+

Right now the design is public, the repos are live, and this site documents it all — but nothing has booted on hardware yet. The gap between "the architecture is sound" and "0.1 exists" is exactly the work in this roadmap. We're not pretending it's done; we're saying plainly what remains.

+ +
When 0.1 lands, it will be linked here and on the install page. Until then, progress shows up in the news.
+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/web/philosophy.html b/web/philosophy.html new file mode 100644 index 0000000..75948da --- /dev/null +++ b/web/philosophy.html @@ -0,0 +1,77 @@ + + + + + +Philosophy — Keru OS + + + + + + + + +
+

home / philosophy

+

Keru's Philosophy

+

The governing principle, in plain terms.

+
+ +
+
+
+
The OS is a choice, not a conclusion.
+ +

Most distros ship a decision someone else already made for you — a default init, a default libc, a default filesystem. You inherit it and live with it. Keru refuses that premise. Every foundational component is a variable you resolve at install time, not a fixed value baked into the distribution. Every init, every libc, every filesystem, every kernel, every privilege-elevation tool — all selectable, none forced.

+ +
+ +

Anti-opinionated, not opinionated

+

Keru is not opinionated. It is anti-opinionated. An opinionated distro picks a stack and defends it — "you get s6 and XFS whether you like it or not." Keru is the direct rejection of that. It holds no opinion about which init, libc, filesystem, or daemon you should run, because that decision belongs to you, not to the distribution.

+ +

The distro's only opinion is that you have to form one. After that, it shuts up and builds exactly what you chose.

+ +

Only what you asked for

+

The install medium carries nothing but the installer. There is no prebuilt base image, no hidden bloat, no background assumptions. You pick your system, Keru fetches it and compiles it from source, and the disk reflects exactly that and nothing more. What gets built is defined by what you chose — not by what maintainers decided you should have.

+ +

Control without complexity

+

This is the deliberate bet, and the thing that separates Keru from a Gentoo skin. The package manager, Kama, is a shell script. It reads a make.conf and runs recipe commands. No dependency solver. No package database. No compiled manager machinery.

+ +
"Sure, the package manager is in shell, and that compromises performance — but it's still faster than many package managers people actually use, and the real cost of a build is the compiler, not the meta-machinery around it."
+ +

The dependency model is AUR-style ephemeral: build tools are fetched, compiled, and removed once they've served, so they never accumulate. The richness lives in the recipes and the profile, not in the machinery. Keru is the position that package managers became more complex than the packages they manage, and that the simple version is the right one.

+ +
"A package manager doesn't need a resolver to be honest. It needs to be legible — you can read every decision it makes, because every decision is a script or a line in make.conf you can see and change."
+ +

Squared with reality

+

Building every init, every libc, every filesystem from source at install time requires a working network connection, and the installer is honest about that: connectivity is a hard gate, and network setup happens inside the installer. This is what makes "everything is swappable" real rather than aspirational. The power to choose anything comes from the fact that nothing is prebuilt — you fetch exactly the parts you picked.

+ +
"You give up the convenience of a prebuilt system so the system you get is exactly the one you designed. Speed-to-install is traded for fit-to-request. If you want fast and prebaked, a binary distro is right there. If you want your machine, this is the one."
+ +

Stability, honestly scoped

+

Keru's promise is that the system won't break — on the combinations it offers you. That's a bounded promise, enforced by curation, and it never locks you out. You're warned, never blocked. Read the stability stance in full.

+ +

The through-line

+

Keru's lineage ran from TOML packages to a 50-line build DSL, then to plain shell. And from opinionated dogma — "you get s6 and XFS whether you like it or not" — to anti-opinionated anything-goes. Keru keeps the from-scratch purity while rejecting the fixed dogmas outright.

+ +
"We don't tell you which init to worship or which filesystem to trust. We tell you that you have to choose — and then we build exactly that."
+ +

The philosophy in one line:

+
A system should be exactly what you chose it to be — selected at install, built from source, nothing forced and nothing you didn't ask for.
+ +

And in two words: anti-opinionated by design.

+ +
+

Deeper: what anti-opinionated actually costs and grants · The ける ethos

+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/web/privacy.html b/web/privacy.html new file mode 100644 index 0000000..7649c31 --- /dev/null +++ b/web/privacy.html @@ -0,0 +1,53 @@ + + + + + +Privacy — Keru OS + + + + + + + + +
+

home / privacy

+

Privacy

+

Short version: there's nothing to invade.

+
+ +
+
+
+

The OS

+
    +
  • No telemetry. Keru does not phone home — not during install, not at boot, not ever.
  • +
  • No accounts. There is nothing to sign up for to install or use Keru.
  • +
  • No tracking. No analytics SDKs, no crash reporters, no "improve your experience" data collection.
  • +
  • Nothing you didn't ask for. The only network activity comes from what you explicitly install, at install time, from the sources that package's recipe names.
  • +
+ +

This website

+
    +
  • No cookies. No session tracking, no analytics scripts, no third-party trackers.
  • +
  • Static files only. Plain HTML/CSS/JS. The only external requests are the web fonts (from Google Fonts). If that matters to you, the site still works without them — it falls back to system fonts.
  • +
  • No accounts for content. Reading the site requires nothing.
  • +
+ +

About the download

+

When 0.1 ships as an ISO, downloading it is a plain file fetch from the public mirror. Nothing is recorded beyond what your server logs necessarily keep.

+ +
If that changes, this page changes first — and it will be public. Keru won't decide that telemetry is "fine actually" in a changelog.
+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/web/privilege-elevation.html b/web/privilege-elevation.html new file mode 100644 index 0000000..86f21aa --- /dev/null +++ b/web/privilege-elevation.html @@ -0,0 +1,53 @@ + + + + + +Privilege elevation — Keru OS + + + + + + + + +
+

home / swappables / privilege elevation

+

Privilege elevation

+

How you become root. Your choice.

+
+ +
+
+
+

Even "sudo" isn't sacred in Keru. How you elevate privileges is a swappable — the question of which su-style tool runs your privileged commands is settled by you, at install, alongside everything else.

+
+ +
+
doas

The default. OpenBSD's elegant, minimal replacement for sudo — small config, fewer lines, no surprise policies.

+
sudo

The familiar heavyweight. Fine-grained policies (sudoers), broad ecosystem familiarity.

+
opendoas

A portable, independently-maintained doas implementation for Linux — the doas philosophy with a maintained port.

+
su

The classic. No added abstraction — switch user and run what you need, as basic as it gets.

+
+ +
+

Why this is on the list

+

Privilege elevation touches everything an admin does, and it's usually a foregone conclusion: "you get sudo." Keru treats it as what it is — a tool with tradeoffs — and lets you pick the flavor. If you believe in two-line configs, doas. If you need sudoers granularity, sudo. If you want zero abstraction, su.

+ +

Whichever you choose gets built in stage 2 as part of your profile, alongside your kernel and init. Nothing preinstalled, nothing assumed.

+ +
Small opinion, stated plainly: doas is the default because two lines of config beats two hundred. But it's a default, not a dogma — swap it freely.
+ +

← All swappables

+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/web/profile.html b/web/profile.html new file mode 100644 index 0000000..7b24fc4 --- /dev/null +++ b/web/profile.html @@ -0,0 +1,61 @@ + + + + + +Profile system — Keru OS + + + + + + + + +
+

home / docs / profile

+

Profile system

+

The contract between "what you chose" and "what gets built."

+
+ +
+
+
+

Keru's profile system is the hand-off between your decisions and the build. It's a small, open design:

+ +

The flow

+
    +
  1. You choose. The installer (installer/install.sh) walks each swappable and records your picks.
  2. +
  3. It writes a profile. Your choices become make.conf — plain, readable, human-editable.
  4. +
  5. The pipeline reads it. scripts/build-root.sh sources the profile and drives Kama with those exact settings.
  6. +
  7. The system appears. Kama boots the toolchain, builds the base, brings your chosen kernel/init/sudo/net, and finalizes the filesystem your profile named.
  8. +
+ +

What the profile owns

+ + + + + + + + +
LayerWhat it holds
SwappablesINIT, LIBC, TARGET_FS, KERNEL, SUDO, NET.
Base setBASE_PACKAGES — what every system gets (base toolchain openssh).
System configLOCALE, TIMEZONE, KEYMAP.
Build envCFLAGS, CXXFLAGS, LDFLAGS, JOBS, MAKEFLAGS.
Mirrors & cacheSOURCE_MIRROR, ROOT, CACHEDIR.
Kama behaviorPURGE_TEMP_DEPS, FAIL_FAST.
+ +

Hand-tuning is a feature

+

The installer is convenient, not precious. The profile it writes is just a text file — change INIT=s6, tweak CFLAGS, add a package to BASE_PACKAGES, and rebuild. The "craft your system" ethos extends past install into the profile itself.

+ +
The profile makes Keru reproducible and legible in one stroke: the same make.conf is the full description of the system. Read, edit, rebuild.
+ +

make.conf reference · Build pipeline · ← Docs

+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/web/recipe-format.html b/web/recipe-format.html new file mode 100644 index 0000000..11a3a95 --- /dev/null +++ b/web/recipe-format.html @@ -0,0 +1,115 @@ + + + + + +Recipe format — Keru OS + + + + + + + + +
+

home / docs / recipe format

+

Recipe format

+

The spec for kama packages.

+
+ +
+
+
+

A recipe is a plain POSIX shell script describing how to compile and install one piece of software. The syntax splits into two tiers:

+ +
    +
  • Easy — declare a few variables, fill in build and install, done. Covers ~90% of packages (autotools/cmake/meson).
  • +
  • Advanced — full control when you need it: custom fetch/extract, staging layout, packaging hooks, multi-arch, verification. Everything the easy tier does is sugar over this.
  • +
+ +

In both tiers, Kama sources the recipe and runs the functions you define.

+ +
+ +

Easy tier — most packages only need this

+
name=busybox +version=1.36.1 +url=https://busybox.net/downloads/busybox-1.36.1.tar.bz2 +deps=() # build-time deps, purged after (AUR-style) + +build() { # configure + compile + make defconfig + make +} + +install() { # install into $pkgdir (staging), not $ROOT + make install CONFIG_PREFIX="$pkgdir" +}
+ +

That's it. Kama supplies the conventional pkg_fetch (download + extract — auto-detects .tar.xz/.gz/.bz2/.zip, strips the top directory) and pkg_clean.

+ +
+ +

Advanced tier — override any step

+
name=busybox +version=1.36.1 +url=https://busybox.net/downloads/busybox-1.36.1.tar.bz2 +deps=(gcc musl-headers) # temp build deps (AUR-style) +runtime_deps=(musl) # stays installed +license=(GPL-2.0) +provides=(sh) # capability this package provides +conflicts=(dash) # mutual exclusion +arch=(x86_64) # if non-empty, restrict to archs +noextract=() # URLs to download but NOT auto-extract + +# override auto extract (e.g. patching before configure) +pkg_fetch() { + default_fetch # run the easy-tier default + cd "$src" + patch -p1 < ../my.patch +} + +build() { ./configure --prefix=/usr "$@" && make; } +install() { make install DESTDIR="$pkgdir"; }
+ +

Fields

+ + + + + + + + + + + + +
FieldPurpose
namePackage name. Required.
versionRelease version. Required for fetch.
urlUpstream source (or list).
depsBuild-time dependencies — compiled, installed, then purged (AUR-style).
runtime_depsDependencies that stay installed.
licenseSPDX license identifiers.
providesCapabilities this package provides (virtuals).
conflictsMutual exclusions.
archArchitecture allow-list; empty means any.
noextractURLs downloaded but not auto-extracted.
+ +

Hooks and functions

+ + + + + + + + +
FunctionRole
build()Configure + compile, run in the extracted source dir.
install()Install into the staging dir ($pkgdir/DESTDIR), not the live root.
pkg_fetch()Override download/extract (can call default_fetch).
pkg_clean()Override source cleanup.
pkg_post()Post-install hook, called after staging.
pkg_split()Optional splitting of staged output into subpackages.
+ +
The full spec lives in the repo at docs/recipe-format.md. The web version mirrors it; the canonical source is the repository.
+ +

The recipe concept · ← Kama

+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/web/sitemap.html b/web/sitemap.html new file mode 100644 index 0000000..70399dd --- /dev/null +++ b/web/sitemap.html @@ -0,0 +1,112 @@ + + + + + +Sitemap — Keru OS + + + + + + + + +
+

home / sitemap

+

Sitemap

+

Every page on this site.

+
+ +
+
+ + +
+

Total: 32 pages, all served from web/ in the KeruOS repo — plain static HTML, no framework, dark, with a shared nav/footer injected at runtime.

+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/web/stability.html b/web/stability.html new file mode 100644 index 0000000..46978f3 --- /dev/null +++ b/web/stability.html @@ -0,0 +1,75 @@ + + + + + +Stability — Keru OS + + + + + + + + +
+

home / stability

+

Stability

+

Guaranteed on what's offered. Never enforced on you.

+
+ +
+
+
+

The promise, scoped

+

Keru's definition of stable is direct: the system won't break. But that promise is only honest if it's scoped. Keru guarantees it on the combinations it offers you.

+ +

That's what it means for the installer to offer a choice in the first place: each option in install.sh is one Keru has proven builds and boots. The offered set is curated so that it doesn't break. Choice multiplies the test surface — six inits, four libcs, seven filesystems, five kernels, and more produce well over a thousand possible systems. Guaranteeing every one of them is only honest if it's enforced by curation: Keru offers what works.

+ +

But you're never locked out

+

If you pick something that isn't yet proven — a libc and init never tested together, an unmaintained filesystem, an exotic kernel pair — Keru does not stop you. It warns you the combination is unstable and lets you proceed.

+ +
"Stability is a guarantee about what we offer, not a jail around the edge of it. If you want to push into the unproven, we tell you the truth and get out of your way."
+ +

The full definition, in one line:

+ +
The system won't break for any choice Keru offers you; for anything beyond that, Keru warns and steps aside — you stay in control, never blocked.
+ +

How the warning shows up

+

The installer runs a stability check after your selections. Known-risky combinations are flagged before anything is written:

+
WARNING +uclibc-ng + runit: not yet proven to build and boot together +musl + systemd: not yet proven to build and boot together +this combination is unstable. Keru won't stop you — build at your own risk.
+ +

Some of the pairs Keru currently warns about:

+ + + + + + +
CombinationWhy it's flagged
uclibc-ng + anythingPre-0.1, not yet proven to build and boot end to end.
musl + systemdSystemd and musl are a known-hard pairing.
zfs as root fsNeeds kernel module + ZFS userspace; not yet proven.
reiserfsUnmaintained; no stable future.
+ +

What stability means for choices that work

+
    +
  • Reproducible. The same make.conf builds the same system.
  • +
  • Predictable. What you chose is what boots. No surprises smuggled in by defaults.
  • +
  • Kama never lies. The package manager's job is to do exactly what a recipe says — reliably, silently, and correctly.
  • +
+ +

The honest trade-off

+

"Extremely stable" and "everything is swappable" pull in opposite directions. Most famously-stable distros (Debian) gain stability by shrinking choice. Keru's stability therefore isn't "fewest things possible" — it's "whatever you chose, it builds and boots predictably, and Keru never hides a risk from you."

+ +

← Back to the philosophy

+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/web/swappables.html b/web/swappables.html new file mode 100644 index 0000000..41d57d9 --- /dev/null +++ b/web/swappables.html @@ -0,0 +1,54 @@ + + + + + +Swappables — Keru OS + + + + + + + + +
+

home / swappables

+

The Swappables

+

Every foundational component, yours to choose at install time.

+
+ +
+
+
+

Keru's differentiator is one sentence: nothing is fixed, nothing you didn't ask for is forced on you. The installer presents each foundational component as a flat, open choice, and the system that boots is assembled from exactly the ones you picked.

+ +

This is what distro arguments get settled with, resolved ahead of time by you instead of argued forever by maintainers. Runit vs systemd, glibc vs musl, ext4 vs btrfs, vanilla vs hardened kernel — all of it becomes your decision, made once, at install.

+
+ + + +
+

Beyond the big six

+

Kernel parameters, locale, clock, and keymap are all configurable too — surfaced through make.conf, the profile that your choices produce. The swappables aren't a fixed list; they're a stance. Read the make.conf reference.

+ +

Stability is scoped to these

+

Because choice multiplies the surface, Keru is stable on the combinations it offers, and warns (never blocks) beyond that. How that works.

+
+
+
+ + + + + + + + \ No newline at end of file