feat(installer): self-contained macOS SD-card setup CLI

A ratatui TUI that provisions the SD card for a pre-flashed Typoena:
Preflight → Configure → SD card → Done. Clones the notes repo onto the
card with system git (PAT in http.extraHeader, never in origin), seeds
.typoena.toml, writes typoena.conf, strips AppleDouble, ejects. An
already-provisioned card is handled by a y-confirmed wipe-and-reclone
that only ever removes repo/ + the dirty journal.

This is the target of typoena.dev's `curl … | sh`. Also records firmware
auto-update options in docs/macroplan.md (v1.x).
This commit is contained in:
Julien Calixte
2026-07-14 15:56:34 +02:00
parent 99574ef00c
commit 691319cbd1
11 changed files with 3173 additions and 1 deletions

9
installer/Cargo.toml Normal file
View File

@@ -0,0 +1,9 @@
[package]
name = "typoena-installer"
version = "0.1.0"
edition = "2024"
[dependencies]
anyhow = "1.0.103"
base64 = "0.22.1"
ratatui = "0.30.2"