tawasuyu

tawasuyu/khipu

Sovereign local-first P2P notes, content-addressed, in Rust.

Rust 31Markdown 18TOML 8YAML 1517 Definiciones

⎇ 8d107fd2c11290217f1ac439fccab4ebf1a2871f 00_unanchay/khipu/khipu-android/README.md Markdown · 30 líneas · 1.2 KB Historia crudo

chore: refresco desde el monorepo (pin tawasuyu.git v0.3.0) 8d107fd2c · Sergio ·

1# khipu-android
2
3> khipu in your pocket — the Android chassis (Llimphi) of the P2P resonance notebook.
4
5The brain is `khipu-app`, untouched. This crate only solves the three things the
6phone does not give for free: a **logger** that reaches logcat, a **panic hook**
7(without it a panic dies in silence — Android kills the process before anything
8flushes), and a **writable `HOME`**, which on Android is the app's private dir.
9
10Hard rule #2 in its most literal form: the app does not know who paints it or
11where it runs, and this crate does **not** reimplement a single widget.
12
13⚠️ Permissions and label come from `manifest.yaml`, **not** from
14`[package.metadata.android]` in `Cargo.toml` — xbuild ignores that block.
15
16## Gates, in order
17
18```bash
19cargo check -p khipu-app                                    # 1. the desktop app still works
20. scripts/andenv.sh                                       # 2. NDK + linker + CC
21cargo check --target aarch64-linux-android -p khipu-android
22./02_ruway/llimphi/android/scripts/build-android.sh 00_unanchay/khipu/khipu-android arm64 release
23```
24
25See [`RECETA-PORTE.md`](../../../02_ruway/llimphi/android/RECETA-PORTE.md) for the
26whole porting procedure.
27
28---
29
30Part of **khipu** — see [khipu](../README.md).

README.md

khipu-android

khipu in your pocket — the Android chassis (Llimphi) of the P2P resonance notebook.

The brain is khipu-app, untouched. This crate only solves the three things the phone does not give for free: a logger that reaches logcat, a panic hook (without it a panic dies in silence — Android kills the process before anything flushes), and a writable HOME, which on Android is the app's private dir.

Hard rule #2 in its most literal form: the app does not know who paints it or where it runs, and this crate does not reimplement a single widget.

⚠️ Permissions and label come from manifest.yaml, not from [package.metadata.android] in Cargo.toml — xbuild ignores that block.

Gates, in order

cargo check -p khipu-app                                    # 1. the desktop app still works
. scripts/andenv.sh                                       # 2. NDK + linker + CC
cargo check --target aarch64-linux-android -p khipu-android
./02_ruway/llimphi/android/scripts/build-android.sh 00_unanchay/khipu/khipu-android arm64 release

See RECETA-PORTE.md for the whole porting procedure.


Part of khipu — see khipu.