Compare commits

..
177 Commits
Author SHA1 Message Date
waozixyz 9466bf02ed fix no of assets 2026-06-17 16:33:01 -03:00
waozixyz acbd43bc65 bug fixes 2026-06-17 16:30:25 -03:00
waozixyz 06d79002e1 fix appimage 2026-06-17 15:36:27 -03:00
waozixyz 2db5045efb fix merge import 2026-06-17 13:47:05 -03:00
waozixyz 0f6f40cb0a fix orientation change 2026-06-17 13:37:38 -03:00
waozixyz b9ec755e1f bug fixes 2026-06-17 13:21:00 -03:00
waozixyz fc75410dea improve weelky view and dropdowns 2026-06-17 11:46:23 -03:00
waozixyz 4083893ddc fix improt issues and add packaging for appimages 2026-06-17 11:18:21 -03:00
waozixyz 07a2315353 fix font issues mobile 2026-06-17 09:43:41 -03:00
waozixyz 195eef42a9 fix clipping 2026-06-17 09:04:07 -03:00
waozixyz e22ae0f8aa bug fixes, otf chop for 8px 2026-06-17 01:19:52 -03:00
waozixyz 460ac28e0a improve settings page 2026-06-16 23:10:41 -03:00
waozixyz 40b0121c81 improve settings page 2026-06-16 23:04:59 -03:00
waozixyz f49dbc2015 refactor code base 2026-06-16 22:46:15 -03:00
waozixyz bab61346be better tracker managemnt and practice screenr 2026-06-16 22:27:04 -03:00
waozixyz 2c9348c52a refactor tracker and themes 2026-06-16 16:18:45 -03:00
waozixyz 209be9e78b refactor to habits screen 2026-06-16 15:17:06 -03:00
waozixyz 28a5d8fa51 refactor 2026-06-16 11:01:22 -03:00
waozixyz d356cc078f cleaner icon loading 2026-06-16 00:35:29 -03:00
waozixyz e31ff91168 more cleanup 2026-06-14 14:46:27 -03:00
waozixyz 7728a6327e unify icon system 2026-06-14 14:35:54 -03:00
waozixyz 945943dceb simplify play butotn 2026-06-14 12:45:01 -03:00
waozixyz e567ba21c2 cleanup and fixes 2026-06-14 11:40:56 -03:00
waozixyz 0ddb4ddfb8 cleanup 2026-06-14 01:05:09 -03:00
waozixyz 27e1902958 cleanup theme usage 2026-06-14 00:49:25 -03:00
waozixyz 2e83575485 cleanup and add tests 2026-06-13 23:31:30 -03:00
waozixyz bf26a1056f add changelog 2026-06-13 21:47:21 -03:00
waozixyz 3b44d1bc1a improve file browser 2026-06-13 21:43:41 -03:00
waozixyz cafe058420 better data management 2026-06-13 21:11:44 -03:00
waozixyz b0a031136b merge with flint 2026-06-13 21:11:30 -03:00
waozixyz 06d403ed63 add round label 2026-06-12 23:01:59 -03:00
waozixyz 1d0009958d Update Flint web dist packaging 2026-06-12 21:49:08 -03:00
waozixyz 2c0ac20ce3 use latset flint 2026-06-12 11:33:50 -03:00
waozixyz 9181c91a3a fix workflow 2026-06-12 10:34:36 -03:00
waozixyz 63e790f96a fix make 2026-06-12 10:25:56 -03:00
waozixyz aef5f5441b update version 2026-06-12 09:58:40 -03:00
waozixyz 827d5e350b cleanup 2026-06-12 09:56:44 -03:00
waozixyz f64195ec1d clean flint version 2026-06-12 00:42:22 -03:00
waozixyz 60b699f28b flint cli fully working 2026-06-12 00:11:22 -03:00
waozixyz 85b9d3daf5 use flint for cross building 2026-06-12 00:07:56 -03:00
waozixyz 89bb5a63ca clean windows build 2026-06-11 23:45:54 -03:00
waozixyz 94c004b923 Embed runtime assets in desktop builds 2026-06-11 22:20:24 -03:00
waozixyz 9822180288 upload all versions on itch 2026-06-11 16:48:08 -03:00
waozixyz 0976fb82bc update version 2026-06-11 13:06:54 -03:00
waozixyz 8353f49f27 bug fixes and improve setting management 2026-06-11 13:03:51 -03:00
waozixyz 07b46d7bf0 fix versioning 2026-06-10 08:41:39 -03:00
waozixyz 99375c9c4b fix history page 2026-06-10 08:38:18 -03:00
waozixyz 1381311e02 simplify scripts 2026-06-10 00:22:12 -03:00
waozixyz 595f239015 bug fix 2026-06-10 00:18:25 -03:00
waozixyz d43a8de800 fix action 2026-06-09 23:57:51 -03:00
waozixyz 894f8f7da8 Fix web file dialog guard 2026-06-09 23:51:25 -03:00
waozixyz 629aa739f6 Fix font glyphs and web builds 2026-06-09 23:48:13 -03:00
waozixyz 323be33ec4 add submodule 2026-06-09 23:33:40 -03:00
waozixyz 64480683d6 bug fixes and locale fixes 2026-06-09 23:30:10 -03:00
waozixyz 2a4d93f3b6 rm icons 2026-06-09 23:14:59 -03:00
waozixyz 61f5a75634 improve icon setup 2026-06-09 23:14:41 -03:00
waozixyz 085ed5393d import working on linux 2026-06-09 21:55:06 -03:00
waozixyz 015843c4d6 wip file import 2026-06-09 21:41:29 -03:00
waozixyz 5d335ff637 update makefile 2026-06-09 13:36:16 -03:00
waozixyz 61731bd680 add new version 2026-06-09 13:05:43 -03:00
waozixyz e3f6a22d24 fine grained sound, better language support 2026-06-09 11:13:11 -03:00
waozixyz e00245e212 clean text 2026-06-09 00:13:33 -03:00
waozixyz 951309c75f add font loading and asian languages 2026-06-08 23:18:52 -03:00
waozixyz c3d36d8d28 Use Flint UI widgets directly 2026-06-08 15:21:13 -03:00
waozixyz a9b615614b Bump Flint for UI widgets 2026-06-08 15:20:42 -03:00
waozixyz 0fb8630dc9 Bump Flint for DPI cache 2026-06-08 15:09:21 -03:00
waozixyz bda1bf536d Use Flint text layout directly 2026-06-08 15:05:08 -03:00
waozixyz 7e27498379 Bump Flint for text layout 2026-06-08 15:03:28 -03:00
waozixyz 08ef56d788 Move generic UI helpers into flint 2026-06-08 14:57:13 -03:00
waozixyz a3f92aaf5c Update flint theme catalog behavior 2026-06-08 14:21:58 -03:00
waozixyz 447e2b6187 Use flint catalog for theme previews 2026-06-08 14:20:36 -03:00
waozixyz 72fd21dad0 Register themes through flint catalog 2026-06-08 11:04:19 -03:00
waozixyz f9da10204d Use vendored flint UI and themes 2026-06-08 10:54:50 -03:00
waozixyz 1549f5e3bc cleaner makefile 2026-06-08 00:40:01 -03:00
waozixyz 0c650fc94f improved settings page 2026-06-04 22:50:14 -03:00
waozixyz 52716b1edb rm sync 2026-06-04 16:02:20 -03:00
waozixyz 9e40eda25e wip sync data 2026-06-03 00:17:29 -03:00
waozixyz 92985e8a03 fixes for web and version update 2026-06-01 17:00:10 -03:00
waozixyz 5aedde8d80 add on screen keyboard 2026-06-01 16:33:26 -03:00
waozixyz eb25d437a4 improve edit filed 2026-06-01 12:42:01 -03:00
waozixyz 7690e04429 improve tutorial, results saving and statistics 2026-06-01 12:29:36 -03:00
waozixyz 07ca47ee7c add multilingual 2026-05-31 06:08:23 -03:00
waozixyz 7c3275fee3 add progressive speed up for first round 2026-05-30 23:13:41 -03:00
waozixyz 249702ca32 fix for non android plat 2026-05-30 18:59:52 -03:00
waozixyz 2797b3371d implement wakelock 2026-05-30 18:43:50 -03:00
waozixyz bc7514406b implement wakelock 2026-05-30 11:28:58 -03:00
waozixyz 79bcf2c328 rm comments 2026-05-30 00:48:04 -03:00
waozixyz b5962360c1 improve dpi settings 2026-05-30 00:28:07 -03:00
waozixyz 83ecc17423 improve website 2026-05-30 00:19:07 -03:00
waozixyz f01c4d7d81 cleanup code and improve site 2026-05-29 23:57:23 -03:00
waozixyz 03b714aa64 clean up instructions 2026-05-29 20:04:38 -03:00
waozixyz 5f116c29cb fi xscript 2026-05-29 15:07:05 -03:00
waozixyz cdbdcd20cb add copy assets script 2026-05-29 14:57:23 -03:00
waozixyz 6a3362f59e fix padding 2026-05-29 14:53:29 -03:00
waozixyz 43013c64ab massive layout improvements 2026-05-29 14:50:11 -03:00
waozixyz 3f86abb35a update cmake 2026-05-29 13:31:44 -03:00
waozixyz 3e75089266 implement text reflow 2026-05-29 13:29:54 -03:00
waozixyz d51fdea355 update workflow 2026-05-29 12:43:31 -03:00
waozixyz 5bc63e7b13 rm unsigned apk 2026-05-29 12:05:40 -03:00
waozixyz 03e1fccab3 fix gradle for github action 2026-05-29 11:38:47 -03:00
waozixyz ed2e52c13a mistake in workflow 2026-05-29 11:34:46 -03:00
waozixyz 616ef0cb09 fix workflow 2026-05-29 11:33:31 -03:00
waozixyz e7debfc68f update workflow 2026-05-29 11:31:34 -03:00
waozixyz 796f1393de udptae version 2026-05-29 11:27:47 -03:00
waozixyz 99567e68c1 add image fallback 2026-05-29 11:19:29 -03:00
waozixyz f714674e62 bug fix 2026-05-29 09:20:11 -03:00
waozixyz 3d75216483 release fix 2026-05-29 09:14:19 -03:00
waozixyz ac485ea355 fix inset 2026-05-29 09:11:47 -03:00
waozixyz ad59bb0c51 increase inset 2026-05-29 07:50:08 -03:00
waozixyz efbeec104d move scripts 2026-05-29 07:26:04 -03:00
waozixyz f9d109182d fix data issue 2026-05-29 07:23:00 -03:00
waozixyz ccb8c2f2b5 bug fix 2026-05-28 23:58:22 -03:00
waozixyz 2405fb2fcf improve website 2026-05-28 18:48:19 -03:00
waozixyz 8c25a6630b add itch script 2026-05-28 18:14:25 -03:00
waozixyz 97dd375822 rm dependency tracker 2026-05-28 16:31:51 -03:00
waozixyz 93103cc0ea fix bug 2026-05-28 14:44:10 -03:00
waozixyz a0ded8e537 fix script 2026-05-28 14:38:41 -03:00
waozixyz 1f8ada56f9 fastlane changelog 2026-05-28 14:37:35 -03:00
waozixyz e80097fb83 fix versioning 2026-05-28 14:35:31 -03:00
waozixyz 4e0dedf97d add descriptions 2026-05-28 12:37:07 -03:00
waozixyz 675b2c260a fix dropdown passthrough 2026-05-28 10:48:38 -03:00
waozixyz 463c858565 update version 2026-05-28 10:20:02 -03:00
waozixyz 8b739fcbd4 make file sharing work 2026-05-28 10:19:50 -03:00
waozixyz 7b23749f7d implemnet clean zip export 2026-05-28 04:14:31 -03:00
waozixyz 3c3eb9e0f2 wip data management 2026-05-28 02:55:45 -03:00
waozixyz a896ad4f55 refactor code 2026-05-28 02:34:07 -03:00
waozixyz 19ad586e0c add return button func on android 2026-05-28 01:12:11 -03:00
waozixyz bdb1e92a51 new test 2026-05-27 18:38:48 -03:00
waozixyz 8d1cf2b8f9 improve build for fdroid 2026-05-27 18:23:09 -03:00
waozixyz 6547bd9636 cleaner relesae 2026-05-27 15:41:55 -03:00
waozixyz 8d9117bd16 use correct tag 2026-05-27 15:33:30 -03:00
waozixyz 695aafa231 auto tag 2026-05-27 15:29:11 -03:00
waozixyz 88598d830f bug fix 2026-05-27 15:18:55 -03:00
waozixyz 0be5f925a7 enable signing 2026-05-27 15:14:02 -03:00
waozixyz 39096d0dd4 add fastlane metadata 2026-05-27 15:04:40 -03:00
waozixyz 2242553194 prepare for f-droid 2026-05-27 14:24:11 -03:00
waozixyz 5d6985b2b5 finish migration 2026-05-27 14:17:17 -03:00
waozixyz ba216da8e6 bug fixes 2026-05-27 14:01:19 -03:00
waozixyz 13c469166a bug fixes 2026-05-27 13:51:21 -03:00
waozixyz e1298bd262 track drodi stuff correctyl 2026-05-27 13:49:12 -03:00
waozixyz 6c1eb327e3 add waozi icons 2026-05-27 13:12:46 -03:00
waozixyz 3ff05eac4e add flake 2026-05-27 13:03:39 -03:00
waozixyz 93f1bae5b7 add cherry theme andbug fixes 2026-05-27 11:45:27 -03:00
waozixyz 896f0b1c22 implement theming 2026-05-27 00:48:45 -03:00
waozixyz 615e32b0c6 add version upgrade script 2026-05-26 16:15:15 -03:00
waozixyz 77093f27a0 update version 2026-05-26 10:52:06 -03:00
waozixyz c13b7e743d bug fixes 2026-05-26 10:45:01 -03:00
waozixyz 5e61ef5351 improve scaling 2026-05-26 10:18:06 -03:00
waozixyz 79f44d353b add sounds 2026-05-25 21:52:20 -03:00
waozixyz e22e3f98ef fix androdi scaling 2026-05-25 20:24:16 -03:00
waozixyz 14d4594d71 improve mobile view 2026-05-25 14:24:07 -03:00
waozixyz 899500307c finish inbe basic 2026-05-25 12:44:40 -03:00
waozixyz 50527f15b8 cascading windows 2026-05-24 20:57:08 -03:00
waozixyz 94218efc5e fix web shell 2026-05-24 20:27:27 -03:00
waozixyz cf9ff9fb1f improve android inbe 2026-05-24 16:08:10 -03:00
waozixyz 81410ea4ae cleanup 2026-05-23 23:58:31 -03:00
waozixyz 2add9f0f30 unify flake 2026-05-23 23:41:11 -03:00
waozixyz 8bbc5625b7 add lotus 2026-05-23 23:18:56 -03:00
waozixyz ccc2032c50 wip lotus 2026-05-23 18:39:06 -03:00
waozixyz df3d04fa26 cross compile to windows 2026-05-23 13:19:31 -03:00
waozixyz 4c5c76e51e reorg 2026-05-23 10:10:56 -03:00
waozixyz a3db764783 clean and replace with ray 2026-05-23 09:34:33 -03:00
waozixyz 80b2214af3 testray 2026-05-23 08:42:59 -03:00
waozixyz 96ef714ca8 simplify linux version 2026-05-23 00:35:12 -03:00
waozixyz d808bdf985 improve icons 2026-05-22 22:32:32 -03:00
waozixyz c448e5d429 clean bulid and native linux 2026-05-22 22:09:12 -03:00
waozixyz d592c943f0 add banner image for inbe 2026-05-22 10:40:47 -03:00
waozixyz d90336d710 complete basic inner breeze breathing cycle 2026-05-22 09:40:52 -03:00
waozixyz c135464530 drawing primitives, buttons 2026-05-21 23:36:02 -03:00
waozixyz 45a360f498 use liblotus 2026-05-21 22:33:06 -03:00
waozixyz 0fad496a0e stared liblotus 2026-05-21 22:01:57 -03:00
waozixyz 7642a146cc simple android fb manipulation 2026-05-21 16:47:37 -03:00
waozixyz d1633381f4 add results to wasm4 inbe 2026-05-21 14:25:06 -03:00
waozixyz 2825a41d02 cleanup 2026-05-21 10:14:45 -03:00
waozixyz c86d2da631 bug fixes 2026-05-21 02:58:48 -03:00
waozixyz 99d2433283 add subdomains 2026-05-21 02:46:23 -03:00
waozixyz 1650d50c72 rename and refactor 2026-05-21 02:35:11 -03:00
2695 changed files with 37923 additions and 148495 deletions

No files matched your search

-12
View File
@@ -1,12 +0,0 @@
# Copy to .env.play when you want to upload screenshots.
# Do not commit .env.play or the service-account JSON.
PLAY_PACKAGE_NAME=xyz.waozi.inbe
PLAY_SERVICE_ACCOUNT_JSON=/absolute/path/to/google-play-service-account.json
PLAY_LANGUAGE=en-US
PLAY_METADATA_IMAGES_DIR=fastlane/metadata/android/en-US/images
PLAY_IMAGE_TYPES=phoneScreenshots,sevenInchScreenshots,tenInchScreenshots
PLAY_DELETE_EXISTING=1
# Default is validate-only and discards the draft edit.
# Set to 1 only when you want the uploaded screenshots committed to Play.
PLAY_COMMIT=0
-2
View File
@@ -1,3 +1 @@
unpackaged_assets/**/*.ogg filter=lfs diff=lfs merge=lfs -text
test-fixtures/audio/*.mp3 filter=lfs diff=lfs merge=lfs -text
themes/catalog_*.kss whitespace=-blank-at-eof
-4
View File
@@ -1,4 +0,0 @@
#!/bin/sh
set -eu
scripts/check-secrets.py --staged
-17
View File
@@ -1,17 +0,0 @@
#!/bin/sh
set -eu
tmp=$(mktemp "${TMPDIR:-/tmp}/inbe-pre-push.XXXXXX")
trap 'rm -f "$tmp"' EXIT
cat > "$tmp"
if command -v git-lfs >/dev/null 2>&1; then
git lfs pre-push "$@" < "$tmp"
elif git lfs version >/dev/null 2>&1; then
git lfs pre-push "$@" < "$tmp"
else
printf '%s\n' "This repository uses Git LFS, but git-lfs is not available." >&2
exit 2
fi
scripts/check-secrets.py --pre-push "$@" < "$tmp"
-42
View File
@@ -1,42 +0,0 @@
name: Set up Emscripten
description: >
Install the Emscripten SDK version named in .github/emscripten-version and
put it on PATH. The SDK, including the system libraries and ports it builds
on first use, is cached per version, so a job only downloads it when the
pinned version changes.
runs:
using: composite
steps:
- name: Read the pinned Emscripten version
id: version
shell: bash
run: echo "version=$(tr -d '[:space:]' < .github/emscripten-version)" >> "$GITHUB_OUTPUT"
- name: Restore the Emscripten SDK
uses: actions/cache@v4
with:
path: ~/emsdk
key: emsdk-${{ runner.os }}-${{ runner.arch }}-${{ steps.version.outputs.version }}-${{ hashFiles('scripts/ensure-emscripten-zlib.sh') }}
restore-keys: |
emsdk-${{ runner.os }}-${{ runner.arch }}-${{ steps.version.outputs.version }}-
- name: Install and activate Emscripten
shell: bash
env:
EMSCRIPTEN_VERSION: ${{ steps.version.outputs.version }}
run: |
set -euo pipefail
if [ ! -x "$HOME/emsdk/emsdk" ]; then
rm -rf "$HOME/emsdk"
git clone --depth 1 https://github.com/emscripten-core/emsdk.git "$HOME/emsdk"
fi
if [ ! -x "$HOME/emsdk/upstream/emscripten/emcc" ]; then
"$HOME/emsdk/emsdk" install "$EMSCRIPTEN_VERSION"
fi
"$HOME/emsdk/emsdk" activate "$EMSCRIPTEN_VERSION"
echo "EMSDK=$HOME/emsdk" >> "$GITHUB_ENV"
echo "EM_CONFIG=$HOME/emsdk/.emscripten" >> "$GITHUB_ENV"
echo "INBE_NODE_BIN=$(dirname "$(command -v node)")" >> "$GITHUB_ENV"
echo "$HOME/emsdk/upstream/emscripten" >> "$GITHUB_PATH"
bash scripts/ensure-emscripten-zlib.sh "$HOME/emsdk/upstream/emscripten/embuilder"
-61
View File
@@ -1,61 +0,0 @@
name: Fetch Ziran packages
description: >
Fetch the packages pinned in ziran.lock. The built Ziran compiler is cached
by the runner image and the toolchain commit, so bumping another package
such as Kryon keeps it; the package checkouts are cached by the whole lock and fall back
to the previous checkouts, so a bump fetches only what changed.
inputs:
save-toolchain:
description: >
Save the built compiler to the cache. A job that only fetches packages
must not, or it would store a toolchain cache without the compiler.
default: 'true'
runs:
using: composite
steps:
- name: Read the Ziran toolchain commit
id: toolchain
shell: sh
run: |
commit=$(python3 -c 'import json; print(json.load(open("ziran.lock"))["toolchain"]["commit"])')
echo "commit=$commit" >> "$GITHUB_OUTPUT"
# A compiler built on a newer image needs its newer C library, so
# images do not share one: ubuntu-22.04 cannot run a glibc 2.39 build.
libc=$(getconf GNU_LIBC_VERSION 2>/dev/null | tr ' ' '-' || true)
echo "system=${ImageOS:-local}-${libc:-nolibc}" >> "$GITHUB_OUTPUT"
- name: Restore the Ziran toolchain
if: inputs.save-toolchain == 'true'
uses: actions/cache@v4
with:
path: |
build/ziran-bootstrap
build/ziran-toolchain
key: ziran-toolchain-${{ runner.os }}-${{ runner.arch }}-${{ steps.toolchain.outputs.system }}-${{ steps.toolchain.outputs.commit }}
restore-keys: |
ziran-toolchain-${{ runner.os }}-${{ runner.arch }}-${{ steps.toolchain.outputs.system }}-
- name: Restore the Ziran toolchain without saving it
if: inputs.save-toolchain != 'true'
uses: actions/cache/restore@v4
with:
path: |
build/ziran-bootstrap
build/ziran-toolchain
key: ziran-toolchain-${{ runner.os }}-${{ runner.arch }}-${{ steps.toolchain.outputs.system }}-${{ steps.toolchain.outputs.commit }}
restore-keys: |
ziran-toolchain-${{ runner.os }}-${{ runner.arch }}-${{ steps.toolchain.outputs.system }}-
- name: Restore the package sources
uses: actions/cache@v4
with:
path: ~/.cache/ziran/sources
key: ziran-sources-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('ziran.lock') }}
restore-keys: |
ziran-sources-${{ runner.os }}-${{ runner.arch }}-
- name: Fetch Ziran packages
shell: sh
run: sh scripts/packages.sh --locked
-1
View File
@@ -1 +0,0 @@
-28
View File
@@ -1,28 +0,0 @@
build-essential
ca-certificates
curl
dpkg
libcurl4-openssl-dev
libdrm-dev
libdrm2
libegl1-mesa-dev
libegl1
libgbm-dev
libgbm1
libgles2-mesa-dev
libgl1
libgl1-mesa-dri
libglvnd0
libgtk-3-dev
libx11-6
libx11-dev
libxext6
libsdl2-2.0-0
libsdl2-dev
patchelf
pkg-config
podman
rpm
x11-utils
xvfb
zip
-10
View File
@@ -1,10 +0,0 @@
build-essential
ripgrep
zlib1g-dev
libdrm-dev
libegl1-mesa-dev
libgbm-dev
libgles2-mesa-dev
libsdl2-dev
pkg-config
python3-fonttools
-4
View File
@@ -1,4 +0,0 @@
build-essential
zlib1g-dev
zip
tcl
-6
View File
@@ -1,6 +0,0 @@
build-essential
gcc-mingw-w64-x86-64-win32
zlib1g-dev
libz-mingw-w64-dev
zip
nsis
-1
View File
@@ -1 +0,0 @@
6.0.10
-79
View File
@@ -1,79 +0,0 @@
#!/usr/bin/env bash
set -euo pipefail
if [ "$#" -lt 1 ]; then
echo "usage: $0 PACKAGE_FILE [EXTRA_PACKAGE ...]" >&2
exit 2
fi
package_file="$1"
shift
if [ ! -f "$package_file" ]; then
echo "package file not found: $package_file" >&2
exit 2
fi
APT_CACHE_DIR="${APT_CACHE_DIR:-/tmp/apt-cache}"
apt_arch="$(dpkg --print-architecture)"
ubuntu_archive="https://archive.ubuntu.com/ubuntu"
if [ "$apt_arch" = "arm64" ]; then
ubuntu_archive="http://ports.ubuntu.com/ubuntu-ports"
fi
codename="$(
. /etc/os-release
printf '%s' "${VERSION_CODENAME:-jammy}"
)"
# GitHub-hosted Ubuntu runners sometimes use an Azure mirrorlist that stalls.
# Pin Ubuntu packages to the canonical archive before running apt. arm64
# packages live on ports.ubuntu.com, not archive.ubuntu.com.
if [ -f /etc/apt/apt-mirrors.txt ]; then
printf '%s\n' "$ubuntu_archive" | sudo tee /etc/apt/apt-mirrors.txt >/dev/null
fi
while IFS= read -r -d '' source_file; do
sudo sed -i \
-e "s|mirror+file:/etc/apt/apt-mirrors.txt|$ubuntu_archive|g" \
-e "s|http://azure.archive.ubuntu.com/ubuntu|$ubuntu_archive|g" \
-e "s|https://azure.archive.ubuntu.com/ubuntu|$ubuntu_archive|g" \
-e "s|http://archive.ubuntu.com/ubuntu|$ubuntu_archive|g" \
-e "s|https://archive.ubuntu.com/ubuntu|$ubuntu_archive|g" \
-e "s|http://ports.ubuntu.com/ubuntu-ports|$ubuntu_archive|g" \
-e "s|https://ports.ubuntu.com/ubuntu-ports|$ubuntu_archive|g" \
"$source_file"
done < <(find /etc/apt -type f \( -name '*.list' -o -name '*.sources' \) -print0)
sudo tee /etc/apt/sources.list.d/ubuntu.sources >/dev/null <<EOF
Types: deb
URIs: $ubuntu_archive
Suites: $codename ${codename}-updates ${codename}-backports ${codename}-security
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
EOF
mapfile -t raw_packages < "$package_file"
packages=()
for package in "${raw_packages[@]}" "$@"; do
if [ -z "$package" ] || [[ "$package" == \#* ]]; then
continue
fi
packages+=("$package")
done
mkdir -p "$APT_CACHE_DIR/partial"
sudo rm -rf /var/lib/apt/lists/*
sudo apt-get \
-o Acquire::Retries=3 \
-o Acquire::http::Timeout=20 \
-o Acquire::https::Timeout=20 \
update
if [ "${#packages[@]}" -gt 0 ]; then
sudo apt-get \
-o Acquire::Retries=3 \
-o Acquire::http::Timeout=20 \
-o Acquire::https::Timeout=20 \
-o Dir::Cache::archives="$APT_CACHE_DIR" \
install -y "${packages[@]}"
fi
sudo chown -R "$USER:$USER" "$APT_CACHE_DIR"
+106
View File
@@ -0,0 +1,106 @@
name: Android Build
on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:
permissions:
contents: write
jobs:
release:
name: Build Release APK
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Grant execute permission for gradlew
run: chmod +x droid/gradlew
- name: Create keystore directory
run: mkdir -p ~/.android
- name: Decode Keystore
env:
KEYSTORE_BASE64: ${{ secrets.KEYSTORE_BASE64 }}
run: |
echo "$KEYSTORE_BASE64" | base64 -d > ~/.android/inbe-release.keystore
echo "Keystore decoded successfully"
- name: Copy Assets to Android Project
run: ./scripts/copy-android-assets.sh
- name: Run Tests
run: make test
- name: Build Release APK
working-directory: ./droid
env:
KEYSTORE_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }}
KEY_ALIAS: ${{ secrets.KEY_ALIAS }}
KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }}
run: |
./gradlew assembleRelease \
-Pkeystore.password="$KEYSTORE_PASSWORD" \
-Pkeystore.path="/home/runner/.android/inbe-release.keystore" \
--stacktrace
- name: Rename APK
run: |
VERSION=$(grep "versionName" droid/app/build.gradle | awk '{print $2}' | tr -d '"')
find droid/app/build/outputs/apk/release -name "*-universal-release.apk" -exec cp {} inbe-$VERSION.apk \; 2>/dev/null || true
- name: Upload APK to Artifacts
uses: actions/upload-artifact@v4
with:
name: release-apk
path: inbe-*.apk
if-no-files-found: warn
- name: Create and Push Tag (if new version)
id: tag_version
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
run: |
VERSION=$(grep "versionName" droid/app/build.gradle | awk '{print $2}' | tr -d '"')
TAG="v$VERSION"
if git rev-parse "$TAG" >/dev/null 2>&1; then
echo "Tag $TAG exists, skipping"
echo "tag_pushed=false" >> $GITHUB_OUTPUT
else
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git tag -a "$TAG" -m "Release $VERSION"
git push origin "$TAG"
echo "tag_pushed=true" >> $GITHUB_OUTPUT
echo "tag_name=$TAG" >> $GITHUB_OUTPUT
fi
- name: Create GitHub Release
if: steps.tag_version.outputs.tag_pushed == 'true'
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ steps.tag_version.outputs.tag_name }}
files: inbe-*.apk
generate_release_notes: true
draft: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-221
View File
@@ -1,221 +0,0 @@
name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
secret-scan:
name: Secret Scan
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Fetch Ziran packages
uses: ./.github/actions/ziran-packages
with:
save-toolchain: 'false'
- name: Check Version Consistency
run: |
python3 scripts/check-version.py
python3 tests/version_test.py
- name: Scan Tracked Files and History
run: |
set -euo pipefail
python3 scripts/check-secrets.py --working-tree
python3 scripts/check-secrets.py --history
guard-package-urls:
name: Package URLs are public HTTPS
runs-on: ubuntu-latest
steps:
# Plain checkout on purpose: the guard must not depend on fetching
# the packages it validates (an SSH URL would break that fetch).
- name: Checkout Repository
uses: actions/checkout@v4
- name: Reject submodules and non-HTTPS package URLs
run: |
set -eu
if [ -f .gitmodules ]; then
echo "::error::Dependencies are Ziran packages in ziran.toml, not submodules"
exit 1
fi
bad=$(grep -nE '^[[:space:]]*git[[:space:]]*=' ziran.toml \
| grep -vE '^[0-9]+:[[:space:]]*git[[:space:]]*=[[:space:]]*"https://' || true)
if [ -n "$bad" ]; then
echo "::error::Non-HTTPS package URL(s) break fresh clones and CI:$bad"
exit 1
fi
echo "all package URLs HTTPS - ok"
test:
# make test split across runners; each shard is a third of its targets.
name: Test (${{ matrix.shard }}/3)
runs-on: ubuntu-latest
# Secret Scan runs beside the tests; nothing here publishes, so it need not gate them.
needs:
- guard-package-urls
timeout-minutes: 60
strategy:
fail-fast: false
matrix:
shard: [0, 1, 2]
env:
APT_CACHE_DIR: /tmp/apt-cache
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: 1
lfs: true
- name: Fetch Ziran packages
uses: ./.github/actions/ziran-packages
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 22
- name: Cache Test apt packages
uses: actions/cache@v4
with:
path: ${{ env.APT_CACHE_DIR }}
key: test-apt-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('.github/apt/test-packages.txt') }}
restore-keys: |
test-apt-${{ runner.os }}-${{ runner.arch }}-
- name: Install Test Dependencies
timeout-minutes: 15
run: .github/scripts/install-apt-packages.sh .github/apt/test-packages.txt
- name: Run Tests
run: sh scripts/test-shard.sh ${{ matrix.shard }} 3
- name: Check out sync test server
if: matrix.shard == 0
uses: actions/checkout@v4
with:
repository: kryonlabs/daochi
ref: 902230435fba6f64f5067afab551410456fb57d0
path: .test-server
submodules: recursive
- name: Set up Go for sync test server
if: matrix.shard == 0
uses: actions/setup-go@v5
with:
go-version-file: .test-server/go.mod
cache-dependency-path: .test-server/go.sum
- name: Verify sync and recovery
if: matrix.shard == 0
run: |
make -C .test-server build
make sync-server-test DAOCHI_BIN="$GITHUB_WORKSPACE/.test-server/daochi"
browser-addons:
# Builds the web app once, packages it for Chrome and Firefox, and runs
# the smoke test in both browsers. It runs beside the tests; a failure in
# either still fails the run.
name: Build Browser Add-ons
runs-on: ubuntu-latest
timeout-minutes: 60
needs:
- guard-package-urls
env:
APT_CACHE_DIR: /tmp/apt-cache
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: 1
lfs: true
- name: Fetch Ziran packages
uses: ./.github/actions/ziran-packages
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 22
- name: Cache Web apt packages
uses: actions/cache@v4
with:
path: ${{ env.APT_CACHE_DIR }}
key: web-apt-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('.github/apt/web-packages.txt') }}
restore-keys: |
web-apt-${{ runner.os }}-${{ runner.arch }}-
- name: Install Web Dependencies
timeout-minutes: 15
run: .github/scripts/install-apt-packages.sh .github/apt/web-packages.txt
- name: Set up Emscripten
uses: ./.github/actions/emscripten
- name: Build Chrome and Firefox ZIPs
run: |
set -euo pipefail
export PATH="$INBE_NODE_BIN:$PATH"
node --version
make package-unpackaged-assets
make chrome-web-store
test -f build/dist/inbe-chrome-web-store.zip
make firefox-addons
test -f build/dist/inbe-firefox-addons.zip
make firefox-addons-lint
# The web build renders on canvas, so this is also the canvas smoke
# test.
- name: Run Web Smoke Test (Chrome)
run: |
set -euo pipefail
export PATH="$INBE_NODE_BIN:$PATH"
make web-smoke-test
- name: Install Firefox (Mozilla build)
timeout-minutes: 15
run: |
set -euo pipefail
.github/scripts/install-apt-packages.sh .github/apt/empty-packages.txt \
xvfb libgl1-mesa-dri libgl1 libegl1 mesa-utils || true
.github/scripts/install-apt-packages.sh .github/apt/empty-packages.txt \
libgtk-3-0t64 libx11-xcb1 libxcb-shm0 libasound2t64 libdbus-glib-1-2 \
libxt6t64 libxtst6 libpci3 || \
.github/scripts/install-apt-packages.sh .github/apt/empty-packages.txt \
libgtk-3-0 libx11-xcb1 libxcb-shm0 libasound2 libdbus-glib-1-2 libxt6 libxtst6 libpci3
curl -sL "https://download.mozilla.org/?product=firefox-latest&os=linux64&lang=en-US" \
-o "$HOME/firefox.tar.xz"
tar -xJf "$HOME/firefox.tar.xz" -C "$HOME"
test -x "$HOME/firefox/firefox"
echo "$HOME/firefox" >> "$GITHUB_PATH"
- name: Run Web Smoke Test (Firefox)
env:
LIBGL_ALWAYS_SOFTWARE: '1'
run: |
set -euo pipefail
export PATH="$INBE_NODE_BIN:$PATH"
xvfb-run -a --server-args="-screen 0 1280x1024x24" make web-smoke-test-firefox
-151
View File
@@ -1,151 +0,0 @@
name: Cloudflare Pages
on:
push:
branches:
- master
# Refresh available downloads after a release; pushes deploy independently.
workflow_run:
workflows: [Release]
types: [completed]
branches: [master]
pull_request:
workflow_dispatch:
inputs:
released_web:
description: Use the published web app for a website-only update
type: boolean
default: false
permissions:
contents: read
concurrency:
# A failed Release produces a skipped refresh, which must not cancel a push.
group: pages-${{ github.ref }}-${{ github.event_name == 'workflow_run' && github.event.workflow_run.conclusion != 'success' && 'skipped' || 'deploy' }}
cancel-in-progress: true
jobs:
build:
name: Build Site
runs-on: ubuntu-latest
timeout-minutes: 60
if: github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success'
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
lfs: true
- name: Fetch Ziran packages
uses: ./.github/actions/ziran-packages
- name: Set up Node.js for the web build
uses: actions/setup-node@v4
with:
node-version: 22
- name: Resolve published downloads
env:
GH_TOKEN: ${{ github.token }}
run: |
set -euo pipefail
tag=$(gh api repos/waozixyz/inbe/releases/latest --jq .tag_name)
version=${tag#v}
python3 -c 'import re, sys; assert re.fullmatch(r"(?:0|[1-9][0-9]*)\.(?:0|[1-9][0-9]*)\.(?:0|[1-9][0-9]*)", sys.argv[1]), "Invalid published release version"' "$version"
echo "SITE_RELEASE_VERSION=$version" >> "$GITHUB_ENV"
- name: Install Packages
if: ${{ !inputs.released_web }}
timeout-minutes: 15
run: .github/scripts/install-apt-packages.sh .github/apt/web-packages.txt
- name: Set Up Emscripten
if: ${{ !inputs.released_web }}
uses: ./.github/actions/emscripten
- name: Download Released Web App
if: ${{ inputs.released_web }}
env:
GH_TOKEN: ${{ github.token }}
run: |
set -euo pipefail
version="$SITE_RELEASE_VERSION"
test -n "$version"
mkdir -p build/released-web build/dist/web
gh release download "v$version" --pattern inbe-web.zip --dir build/released-web
unzip -q build/released-web/inbe-web.zip -d build/dist/web
test -s build/dist/web/index.wasm
- name: Build Site
run: |
set -euo pipefail
if [ "$RELEASED_WEB" = "true" ]; then
make package-unpackaged-assets
sh site/build.sh
else
export PATH="$INBE_NODE_BIN:$PATH"
node --version
make build-laws
make site
fi
test -f build/site/index.html
test -f build/site/build/web/index.html
test -f build/site/build/web/index.js
test -f build/site/build/web/index.wasm
if [ "$GITHUB_EVENT_NAME" != "pull_request" ]; then
make site-release-assets-check
else
echo "Skipping release asset availability check for pull request build"
fi
env:
GH_TOKEN: ${{ github.token }}
RELEASED_WEB: ${{ inputs.released_web }}
- name: Upload Site Artifact
uses: actions/upload-artifact@v4
with:
name: inbe-site
path: build/site
if-no-files-found: error
deploy-preview:
name: Deploy Preview
runs-on: ubuntu-latest
needs: build
if: github.event_name == 'pull_request'
steps:
- name: Download Site Artifact
uses: actions/download-artifact@v4
with:
name: inbe-site
path: build/site
- name: Deploy Preview To Cloudflare Pages
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: pages deploy build/site --project-name=inbe --branch=${{ github.head_ref || github.ref_name }} --commit-hash=${{ github.sha }}
deploy-production:
name: Deploy Production
runs-on: ubuntu-latest
needs: build
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/master'
steps:
- name: Download Site Artifact
uses: actions/download-artifact@v4
with:
name: inbe-site
path: build/site
- name: Deploy Production To Cloudflare Pages
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: pages deploy build/site --project-name=inbe --branch=master --commit-hash=${{ github.sha }}
-117
View File
@@ -1,117 +0,0 @@
name: Publish OpenStore
on:
workflow_dispatch:
inputs:
changelog:
description: Changelog text for the OpenStore revision
required: false
default: ""
channel:
description: OpenStore channel
required: false
default: focal
release:
types: [published]
push:
tags:
- "v*"
permissions:
contents: read
jobs:
publish:
runs-on: ubuntu-latest
timeout-minutes: 90
env:
OPENSTORE_API_KEY: ${{ secrets.OPENSTORE_API_KEY }}
OPENSTORE_APP_ID: inbe
OPENSTORE_CHANNEL: ${{ github.event.inputs.channel || 'focal' }}
CHANGELOG: ${{ github.event.inputs.changelog || github.event.release.name || github.event.release.tag_name || '' }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
lfs: true
- name: Fetch Ziran packages
uses: ./.github/actions/ziran-packages
- name: Scan Tracked Files and History
run: |
set -euo pipefail
python3 scripts/check-secrets.py --working-tree
python3 scripts/check-secrets.py --history
- name: Install build dependencies
run: |
sudo dpkg --add-architecture arm64
# Ubuntu's archive/security mirrors only carry amd64/i386; arm64
# lives on ports.ubuntu.com. Pin the stock deb822 sources to amd64
# and add a ports source, otherwise apt-get update 404s on
# binary-arm64 and the install step fails.
sudo sed -i 's/^Types: deb$/Types: deb\nArchitectures: amd64 i386/' /etc/apt/sources.list.d/ubuntu.sources
printf 'Types: deb\nURIs: http://ports.ubuntu.com/ubuntu-ports\nSuites: noble noble-updates noble-backports noble-security\nComponents: main universe restricted multiverse\nArchitectures: arm64\nSigned-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg\n' | sudo tee /etc/apt/sources.list.d/ports-arm64.sources >/dev/null
sudo apt-get update
sudo apt-get install -y --no-install-recommends \
build-essential \
binutils-aarch64-linux-gnu \
ccache \
click \
cmake \
curl \
gcc-aarch64-linux-gnu \
jq \
make \
patchelf \
pkg-config \
tcl \
zlib1g-dev \
libcurl4-openssl-dev:arm64 \
libdrm-dev:arm64 \
libegl-dev:arm64 \
libgbm-dev:arm64 \
libgles-dev:arm64 \
libsdl2-dev:arm64 \
libssl-dev:arm64 \
zlib1g-dev:arm64
- name: Build Click package
run: |
set -euo pipefail
# Absolute paths: CMake cross builds do not resolve bare tool names
# (CMAKE_AR=aarch64-linux-gnu-ar ends up NOTFOUND and the liboqs
# archive step fails with "No such file or directory").
export AARCH64_CC="$(command -v aarch64-linux-gnu-gcc)"
export AARCH64_AR="$(command -v aarch64-linux-gnu-ar)"
export AARCH64_RANLIB="$(command -v aarch64-linux-gnu-ranlib)"
export AARCH64_PKG_CONFIG_PATH=/usr/lib/aarch64-linux-gnu/pkgconfig:/usr/share/pkgconfig
export PKG_CONFIG_LIBDIR="$AARCH64_PKG_CONFIG_PATH"
export AARCH64_RAY_SDL_CFLAGS="$(pkg-config --cflags sdl2)"
export AARCH64_RAY_SDL_LDLIBS="$(pkg-config --libs sdl2)"
export AARCH64_RAY_GL_CFLAGS="$(pkg-config --cflags libdrm gbm egl glesv2)"
export AARCH64_RAY_GL_LDLIBS="$(pkg-config --libs libdrm gbm egl glesv2)"
export AARCH64_RAY_CFLAGS="$AARCH64_RAY_SDL_CFLAGS $AARCH64_RAY_GL_CFLAGS"
export AARCH64_RAY_LDLIBS="$AARCH64_RAY_SDL_LDLIBS $AARCH64_RAY_GL_LDLIBS"
export AARCH64_RAY_SDL_INCLUDE_DIR=/usr/include/SDL2
export AARCH64_KRYON_CURL_CFLAGS="$(pkg-config --cflags libcurl)"
export AARCH64_KRYON_CURL_LDLIBS="$(pkg-config --libs libcurl)"
export AARCH64_CLICK_RUNTIME_LIBS="/usr/lib/aarch64-linux-gnu/libSDL2-2.0.so.0 /usr/lib/aarch64-linux-gnu/libcurl.so.4 /usr/lib/aarch64-linux-gnu/libssl.so.3 /usr/lib/aarch64-linux-gnu/libcrypto.so.3 /usr/lib/aarch64-linux-gnu/libdrm.so.2 /usr/lib/aarch64-linux-gnu/libgbm.so.1 /usr/lib/aarch64-linux-gnu/libEGL.so.1 /usr/lib/aarch64-linux-gnu/libGLESv2.so.2 /usr/lib/aarch64-linux-gnu/libz.so.1"
make CLICK_ARCH=arm64 click
- name: Show package contents
run: |
set -euo pipefail
click_file="$(ls -t build/dist/click/*.click | head -1)"
echo "Built $click_file"
dpkg-deb --contents "$click_file" | grep -E 'manifest.json|inbe.png|metainfo|inbe.desktop'
- name: Publish to OpenStore
run: |
set -euo pipefail
click_file="$(ls -t build/dist/click/*.click | head -1)"
scripts/publish-openstore.sh "$click_file"
File diff suppressed because it is too large. Load diff
-24
View File
@@ -8,27 +8,16 @@
.claude/
.local/
.codex/
.zcode
.agents/
.kryon-ide-state
.cache/
.ccache
*.wasm
build/
/output/
tmp/
vendor-builds/
node_modules
*.nix-defexpr
*.npm
*.nix-profile
.claude.json
.bash_history
.env
.env.play
.secrets/
social-posts.local.json
/inbe.log
*.exe
@@ -37,7 +26,6 @@ social-posts.local.json
/main
!droid/app/src/main
droid/app/src/main/assets
droid/app/src/gplay/google-services.json
droid/*.apk
droid/*.aab
@@ -59,23 +47,11 @@ Captures/
Thumbs.db
*.bak
*.swp
*.core
local.properties
*.o
*.9
*.8
*.a
__pycache__/
*.py[cod]
/pro/
.kotlin/
ziran.local.toml
# Sun salutation reference videos and frames, and check images; the
# renderers write their videos and frames under build/.
design/sun-salutation/*/reference.mp4
design/sun-salutation/*/reference-*.png
design/sun-salutation/generated-video-cut/source.mp4
design/sun-salutation/girl-parts/head-layers-check.png
+12
View File
@@ -0,0 +1,12 @@
[submodule "vendor/raylib"]
path = vendor/raylib
url = https://github.com/raysan5/raylib.git
[submodule "vendor/rini"]
path = vendor/rini
url = https://github.com/raysan5/rini.git
[submodule "vendor/otfchop"]
path = vendor/otfchop
url = https://github.com/waozixyz/otfchop
[submodule "vendor/sqlite"]
path = vendor/sqlite
url = https://github.com/sqlite/sqlite
-69
View File
@@ -1,69 +0,0 @@
# Inbe repository rules
## Ownership and releases
- Dependencies are Ziran packages pinned in `ziran.toml`/`ziran.lock` and
linked under `build/packages/`; there is no `vendor/`. Never edit a package
checkout. Change Kryon (or any dependency) in its own repository on `master`,
commit and push there, then run `ziran update NAME` here and commit
`ziran.lock`. Run `make package-check` after dependency changes. For local
debugging, map a package to a working repository in the ignored
`ziran.local.toml`; release builds use `PACKAGE_FLAGS=--locked`.
- Add the numeric release to `CHANGELOG.md`, then run `./update_version.sh`.
The canonical macros are `APP_VERSION_STRING`, `APP_VERSION_MAJOR`,
`APP_VERSION_MINOR`, and `APP_VERSION_PATCH`; do not create aliases.
Only the GitHub Actions release workflow creates or pushes release tags.
- Translate changed strings in every affected locale; no English placeholders.
- `make locale-translated-test` fails on any locale string that still equals
its English text. Translate it; add it to `tests/locale_same_as_english.txt`
only when it is a real brand name, loanword, or format string.
## Machine-checked contracts
- `make build-laws` is mandatory for native, web, and Windows artifacts;
Gradle and CMake enforce the same version and proof checks independently.
Never bypass a failed gate.
- Laws are Ziran `#law` obligations checked by `ziran check`. Retry behavior
lives in `src/app/sync_retry.zi` with its laws in `sync_retry_laws.zi`;
private-data names live in `src/storage/storage_layout.zi` with laws in
`storage_layout_laws.zi`. Change the implementation freely, but do not
weaken laws to make an implementation pass. Contract changes require
explicit product intent and separate review from implementation changes.
- Run `make proof-test sync-recovery-test version-test` for these contracts.
Coverage, trust boundaries, and the next proof migrations are described in
[docs/build-laws-plan.md](docs/build-laws-plan.md).
## Public UI and sync boundaries
- Use current Kryon calls `Text(session, TextProps)`,
`Image(session, ImageProps)`, and `Button(session, ButtonProps)` directly.
Semantic images use the same `Image` surface. No positional Text, legacy
drawing calls, alternate widgets, or thin local forwarding wrappers.
Keep meaningful compositions and gestures; use standard Checkbox and Toggle.
Run `make clean-text-api-check button-api-check` for UI changes.
- If a required widget capability is missing, implement the reusable primitive
upstream first. Do not work around it in Inbe or generated code.
- Use sync protocol v6 and the clean Kryon API; no new `Ksync` names or wrappers.
Remove old wire projections and format fallbacks as the storage and sync
modules are converted to current Ziran. Keep the current protocol and data
model in Inbe rather than adding compatibility adapters.
- Keep on-disk schema and user-data upgrade paths. Convert their implementation
to checked Ziran; do not delete a migration merely because it handles an old
database. An upgrade must preserve existing data, and its replacement needs
a test using an older database fixture before the prior path is removed.
- A `.zi` filename is not a completed migration. All owned application
behavior, including storage upgrades, must compile as current Ziran. Prefer
direct Ziran foreign imports for native libraries; migrate owned C adapters
as Ziran gains the required ABI support. Never keep application policy in C.
## Product behavior and readability
- Desktop focus loss must not pause practices, freeze animation, suppress
updates, or enter the mobile background-timer path. Preserve mobile/web
lifecycle handling and explicit user pause as separate behavior.
- Preserve hover, press, and focus transitions. Session audio controls have
44-unit targets (24-unit icons plus 10-unit padding), scaled and spaced.
- Lists starts with list tabs, without a separate title bar or dropdown.
- Use descriptive names, explicit control flow, and focused helpers. Never
compress multiple statements, branches, declarations, or checks onto one line.
Format changed source, inspect the final diff, and run `git diff --check`.
-756
View File
@@ -1,764 +1,8 @@
# Changelog
## [2.0.8] - 2026-10-02
### Fixed
- Fixed an Android startup crash after upgrading from older versions, while preserving saved preferences and practice history.
- Keep drawing the app when a device cannot allocate the graphics buffers used for screen transitions.
## [2.0.7] - 2026-10-01
### Added
- Mini mode provides a compact practice window without changing your saved window or navigation settings.
- Habits now have separate overview, statistics, and edit pages, with a dialog for recording daily counts and clearer week and month calendars.
### Changed
- Prebuilt FreeBSD packages are temporarily unavailable.
- Sun Salutation now uses a painted character with smooth movement through all twelve poses, consistent proportions, and clean transitions without crossfading.
- Practice customization and guides use the full screen, and Sun Salutation shows a simple seconds counter without the distracting progress bar.
- Improved phone performance, touch responsiveness, text sizing, and Japanese and Chinese text wrapping.
- Refined Settings, Profile, Lists, habit cards, session controls, and mood check-in buttons. Desktop users can zoom with Ctrl and the mouse wheel.
### Fixed
- Music keeps playing when you switch tabs inside the app or leave practice customization.
- Restored sound and music playback in the web app.
- Appearance dropdown menus stay above the Layout card and other settings, keeping every option visible and selectable.
- Practice Customize and How-to actions now open the correct pages, and carousel swipes reliably change practices.
- Animated screens keep their controls visible, and navigation transitions finish before accepting the next action.
- Habit statistics no longer crash, and saved habit counts and imported records are retained correctly.
- Opening a habit card keeps your place in the list instead of scrolling back to the top.
- Habit day counts sit centered inside each circle, in a color that stays readable on every habit color.
- Deleted sync records stay deleted across devices, and restoring an account preserves local changes waiting to sync.
- Web and browser add-on text stays sharp at different text sizes, display scales, and zoom levels with the Canvas renderer.
- Cancel reliably closes the exit-session dialog without interrupting the practice.
## [2.0.6] - 2026-09-22
### Fixed
- Selected app color themes now keep their backgrounds, cards, and text visible. Theme catalogs are included in every build, and an unavailable palette falls back to readable built-in colors.
## [2.0.5] - 2026-09-21
### Changed
- Session details now show the practice name, time, and round count above clearly separated round rows with larger hold times and easier-to-tap edit and delete actions. Editing a round highlights its value and provides a labeled number pad with separate Cancel and Save actions.
## [2.0.4] - 2026-09-21
### Changed
- The account screen shows the connected alias, automatic sync progress, and counts for habits, history days, sessions, friends, lists, and list items.
- Habits show a distinct mark for days completed through a practice session.
- Importing an account key offers Merge or Replace before changing local data, with clear details about each choice.
- Profile offers Connect Account, and the sync screen offers Import .key when no account is connected.
### Fixed
- Restoring an existing account now retrieves its username, friends, habits, history, and sessions from the complete account data.
- Lists and their items now sync across devices, including completed items and changes made on another device.
- Sync status shows the current upload or restore step instead of staying on a generic syncing message.
- Connecting an account starts automatic sync without leaving a stale status message behind.
## [2.0.3] - 2026-09-20
### Fixed
- Web and browser builds can connect to compatible custom sync servers when you choose one.
- Browser extensions no longer request access to the Inner Breeze website.
- Chrome break reminders now follow the app's settings and Rest Now action.
## [2.0.2] - 2026-09-20
### Fixed
- Habit editor section headings and reminder details now align with their rows.
## [2.0.1] - 2026-09-20
### Fixed
- Existing installations reset navigation once to show Lists, Habits, Practice, and Settings in that order. Changes made afterward are kept.
## [2.0.0] - 2026-09-19
### Changed
- Added cat, sea turtle, and crescent moon profile pictures in place of three similar tree choices.
- Added the new peaceful meditation logo and made it the default app icon, with app icon selection available from Appearance.
- Updated Kryon controls, navigation, styling, and text editing throughout the app.
- Material is now the default style. Choose Material, TK, or Lightfield in Appearance, with color themes available within each style.
- Navigation customization has cleaner spacing and smoother reorder handles.
- Desktop development runs keep their settings and sync account separate from the installed app.
- Completed list items now move behind a Show Completed toggle instead of staying mixed into the active list.
- Practice controls sit closer to the bottom navigation while preserving the image fade.
- Session results now show a clearer round chart and a compact summary for single-round practices.
- About now uses proper Discord, Telegram, and GitHub icons, and the support dialog has cleaner donation address previews.
- Removed the Vanilla style and the startup style-selection screen.
### Fixed
- Existing Android installations now move their private data to the consistent Inner Breeze location while preserving habits, sessions, settings, and sync details.
- Desktop, web, and Windows installations now use the same Inner Breeze data location, moving existing data there on first launch instead of leaving it behind.
- Backups exported by earlier releases import again, including archives named after the previous app identity.
- Restored profile pictures in Settings and Profile. The picture picker now displays its full grid and uses standard scrolling and selection.
- Settings row labels and icons now share the same vertical alignment.
- Settings now uses one consistent modern screen instead of switching between duplicate layouts.
- Sidebar switching is stable at responsive breakpoints instead of jittering between navigation modes.
- Guide and modal panels remain visible with Material styling instead of showing text over the underlying screen.
- Guide screens and practice previews are placed correctly across phone and desktop sizes.
- Guide cards now have a clear heading, and tapping outside a focused control dismisses its focus.
- Scrollable Settings pages leave comfortable space above the bottom navigation at larger text scales.
- An unnamed local profile now has a neutral label in the navigation card.
- Settings navigation opens the Settings overview, with improved bottom navigation and click handling.
- Older navigation layouts now place Lists before Habits, Practice, and Settings.
- Lightfield buttons and glow settings now update with the selected style, and glow is scoped to styles that support it.
- Material sliders keep labels and values readable instead of floating too high or drawing white text on pale slider fills.
- Android masked app icons use a gentle blue background instead of black.
- Web loading screens and browser icons now show the current meditation logo.
- Emptying a list no longer restores the initial sample data.
- Improved text selection, keyboard focus, and composition handling when editing text.
- Connecting to sync runs in the background so network requests do not block the interface.
- Sync retries temporary connection failures automatically without losing queued changes.
- Automatic friend-list retries stop when account details need attention, and retry delays recover safely from invalid saved counts.
- Profile shows actionable sync status instead of internal repair messages.
- Restoring an account key now starts synchronization and retrieves the account alias and existing friendships. Friend lists remain available when leaderboard loading fails.
- Restoring a profile now reliably recovers habit history and session data alongside the alias and friends, including on Android.
- Sync no longer asks you to upgrade just because the server supports a newer sync protocol.
- Sync connection and account errors now display readable, translated messages.
- Desktop update links now use the current Inner Breeze release location.
## [1.9.19] - 2026-09-04
### Added
- Replaced the legacy pixel UI icons with a cohesive MingCute-based icon set, packed into efficient embedded spritesheets with separate full-color assets for profiles, platforms, payments, languages, and logos.
### Changed
- Navigation and practice controls now use larger, clearer icons.
- Volume controls now show distinct muted, low, medium, and maximum-volume states.
- Updated the bundled Kryon runtime with smoother antialiasing, tear-free presentation, improved text editing, and more reliable desktop menus.
### Fixed
- Pressing Escape now closes stack/sidebar navigation before applying the normal screen-level Escape action.
- Fixed a Windows build collision between Kryon and the Win32 `DrawIcon` API.
## [1.9.18] - 2026-09-04
### Added
- Every practice now includes a guided How-to with clear steps, swipe navigation, and labeled controls.
### Changed
- The Wim Hof guide now uses four focused pages with a prominent safety warning, breathing previews, progress indicators, and direct access to practice settings.
- How-to controls now provide consistent hover, focus, keyboard, and touch feedback across supported devices.
### Fixed
- Exiting a practice started from How-to now returns to the normal Practice screen instead of reopening the guide.
- On Windows, the title-bar close button and Alt+F4 now honor the selected close behavior, including showing the Keep running or Quit prompt.
## [1.9.17] - 2026-08-30
### Changed
- Web habit check-ins now update more smoothly, reducing the visible flash when changing a habit.
### Fixed
- Web screen navigation now keeps stable browser routes, so opening or returning to a screen uses the expected address.
- Language selection and onboarding settings now persist reliably before returning to the main screen.
- Stack sidebar navigation no longer shows a stray black line or overflows at the bottom.
## [1.9.16] - 2026-08-29
### Changed
- Sync remains compatible with existing secure account keys and synced data.
### Fixed
- Fixed web sync key import stability in Firefox.
## [1.9.15] - 2026-08-29
### Fixed
- Fixed a web startup stability issue that could affect browser smoke checks after reload.
## [1.9.14] - 2026-08-29
### Changed
- Updated the bundled Kryon runtime to the latest release for improved web runtime compatibility.
## [1.9.13] - 2026-08-29
### Changed
- Sync now uses the protocol v4 secure data format when the account has been migrated, while keeping the transition path compatible with existing synced data.
### Fixed
- Secure data migration now appears only for connected accounts that still need migration, and shows progress while the update is running.
- Sync migration no longer leaves stale queued changes after all local data has been uploaded in the secure format.
- Profile and sync account text can be selected by double-clicking.
- Desktop startup no longer fails when the single-instance lock is unavailable.
- Android landscape layouts now respect system bars and display cutouts.
- Android releases now include the expected per-ABI APK downloads alongside the universal APK.
## [1.9.12] - 2026-08-28
### Changed
- Web builds now use the Canvas renderer directly, so browsers without WebGL no longer need a fallback path.
- Sync account IDs now display in a compact first-four/last-four format in profile and sync settings.
### Fixed
- Importing a sync key now connects the account automatically once the key is accepted.
- Background sync no longer blocks or interrupts starting a practice.
- Start Practice now remains responsive while sync is running in the background.
- Profile and sync account text can be selected reliably with double-click and drag selection.
- Web console output is quieter during normal startup and sync.
- Android UI scaling now uses the best detected device scale, fixing undersized menu text on tall phones.
## [1.9.11] - 2026-08-28
### Changed
- Practice screens now show only the practices that are currently available.
- Desktop tray status now shows the active practice and phase in the tooltip where supported, and in the tray menu as a reliable fallback.
### Fixed
- Sync now runs only after an account is connected to a saved sync server.
- Existing synced accounts keep their connected state after upgrading, while disconnected accounts no longer start background sync, social refreshes or websocket listeners.
- Profile Data now distinguishes disconnected sync accounts from missing accounts.
- Android practice notifications now keep showing the current phase and timer while a practice is running.
## [1.9.10] - 2026-08-25
### Added
- Completed practices now show a results screen with session details and a mood check-in before returning home.
- Statistics now include mood-after-practice trends for saved sessions.
### Fixed
- Android bottom navigation icons now render correctly on affected devices instead of disappearing or being clipped.
- Android no longer opens the soft keyboard when the app starts.
## [1.9.9] - 2026-08-22
### Fixed
- The practice screen now always shows all four practices: Wim Hof, Pattern Breathing, Meditation and Sun Salutation.
- Android installs now fail with clear device, ABI and signing diagnostics instead of stalling or choosing the wrong target silently.
- Pattern Breathing now plays the inhale and exhale cues in the correct direction.
- Pattern Breathing keeps the phase text readable against bright breathing circles and shows the cycle and session timer at the top of the session screen.
## [1.9.8] - 2026-08-21
### Added
- Desktop break reminders now include a Habits action beside the practice launch buttons, so habits can be managed directly from a break window.
### Changed
- Store screenshots now focus on Android-relevant practice and habit screens, including Pattern Breathing, Meditation, Sun Salutation and multiple Material color themes.
- Fastlane screenshot exports now use compressed PNG files consistently for Google Play and F-Droid metadata.
- Regenerated Google Play and F-Droid screenshots with the corrected practice artwork, Pattern Breathing, Habits, Wim Hof how-to and Cobalt dark screens.
### Fixed
- Screenshot scene setup now opens the intended Habits overview, Habits statistics, Meditation and Sun Salutation screens.
- Native screenshot capture now exits cleanly and writes valid PNG rows for downstream image tooling.
- Practice banner images now resolve from the embedded asset table on Android/native builds, preventing missing or faded-looking artwork in packaged releases.
- Donation wallet buttons now open Bitcoin and Monero URI intents through Kryon and show a clear toast when no wallet app is installed.
- Monero and Bitcoin donation links now use minimal address-plus-amount wallet URIs for better compatibility with Cake Wallet and other wallet apps.
- Web and browser-extension builds are available again after fixing secure donation-link handling.
## [1.9.7] - 2026-08-20
### Added
- Pattern Breathing is now available wherever practice-specific options are shown, including the leaderboard, habits and music assignment.
- Every practice can now have background music assigned directly from its practice settings.
### Changed
- Audio settings now use one music import action and show the practices that already have music assigned.
- Practices are ordered consistently as Wim Hof, Pattern Breathing, Meditation and Sun Salutation.
- Practice banners now follow the active visual style, sit cleanly inside their rounded borders and keep a small bottom gap from the controls below.
### Fixed
- Leaderboard filtering keeps showing the last loaded rows while fresh data loads, instead of replacing the table with a loading placeholder.
- Breathing-pattern leaderboards now keep the full friends list visible instead of collapsing to only the current user.
- Leaderboard streak ties now use the secondary stat when one exists, such as average hold for Wim Hof.
- Music download, install and playback-test status messages are now translated.
## [1.9.6] - 2026-08-19
### Changed
- Donation reminders now wait until 30 completed practices, repeat only after another 30 practices, and offer Donate, Skip, or Dismiss forever without a separate remind-later option.
### Fixed
- Web builds now fall back to the Canvas renderer automatically when WebGL is unavailable, instead of stopping on a WebGL-disabled message.
- Canvas hover cursors now update consistently while using the Canvas renderer.
- Break reminders and break settings stay desktop-only and no longer appear in the Web settings sidebar.
- Desktop break timer windows now stay visible when switching workspaces.
## [1.9.5] - 2026-08-19
### Added
- Desktop update notifications: the app checks once a day for a new release and shows a toast plus a row in Settings → About. AppImage and Windows users can download and install the update from there — the download is checksum-verified and, with one click on "Restart to update", replaces the app in place. Linux package, Snap and Flatpak installs are left to the system's own updater, and AppImage builds now also carry AppImageUpdate delta-update information.
- Windows releases now also ship a classic installer (inbe-windows-setup) beside the portable zip, and a winget manifest is submitted on each release, so Windows 10/11 users can install and auto-update Inner Breeze through winget.
- A gentle monthly donation reminder can now be postponed, skipped for the month, dismissed forever, or opened directly in a wallet on native builds.
## [1.9.4] - 2026-08-17
### Fixed
- Desktop break, timer and other auxiliary windows now render upright and stay visually in sync when more than one window is open.
## [1.9.3] - 2026-08-17
### Added
- Custom MP3 music can be imported and selected independently for Wim Hof, Meditation and Sun Salutation practices.
### Changed
- Running sessions now provide separate top-left controls for sound effects and background-music volume.
### Fixed
- Custom MP3 tracks now decode and play during Wim Hof sessions, including after restarting the app; previewing music no longer starts a practice.
- Music download failures now offer clear Cancel and Retry actions instead of ambiguous buttons.
- Daily break progress and skipped state persist across app restarts and reset only at the configured daily boundary.
## [1.9.2] - 2026-08-17
### Added
- Breathing Patterns with Box, 4-7-8, coherent, extended-exhale and custom timed breathing sessions.
- Android Health Connect export for meditation, breathwork and sun-salutation sessions.
- Android home-screen widget, quick-settings tile and launcher shortcuts for starting practices.
- Interval bells for meditation: chime every 1/2/5/10/15/30 minutes (off by default).
- Weekday schedules and reminder times for habits, with support for up to 32 habits.
- CSV export of session history from Data & export settings.
- Practices can be started directly from a break and count as taking that break.
### Changed
- Profile now uses clear top-level tabs for profile details, sync, data, friends and leaderboard.
- Leaderboard shows all useful statistics together in one sortable table; average hold appears only for Wim Hof sessions.
- The default Meditation habit now tracks sessions from Wim Hof, Meditation and Breathing Patterns.
- Breathing Patterns has a cleaner layout, smoother animation and keeps running when the app loses focus.
- Refreshed the Breathing Patterns and Meditation artwork while retaining the original Wim Hof banner.
- Simplified the Meditation screen and removed the redundant how-to section.
### Fixed
- Profile and leaderboard loading states no longer display misleading zero values while data is loading.
- Fixed delayed or stale leaderboard results, duplicate Wim Hof entries and unreadable selected-button text.
- Fixed profile name display, text-field focus styling and profile picture icon colors.
- Fixed a corrupted notification-icon context menu and removed redundant tray and Practice-screen Show controls.
## [1.9.1] - 2026-08-16
### Added
- Breaks render in their own centered always-on-top OS window (desktop): the main window - even hidden to tray - is no longer taken over; Postpone/Skip/Rest-now are clickable in it and right-click opens Break settings.
- The timer HUD is drag-and-drop movable anywhere on screen, remembers its position across restarts, hides disabled timers entirely, and right-clicking it opens Break settings; it stays visible during a break showing the remaining rest time.
- Desktop Device settings: startup mode (show window / start minimized to tray) and on-close behavior (ask / always keep running / always quit).
- Single-instance: launching replaces an existing instance by default (graceful SIGTERM handover via a PID lock; screenshot mode is exempt).
### Changed
- Micro breaks open their window the moment they are due - the invisible toast-prompt phase is gone (rest/daily keep their prompts).
- Breaks are just the countdown, controls and practice launch actions; the old Exercises settings row and tray entry are gone.
- Idle memory: source fonts now rasterize once each at the DPI-scaled base size (plus one lazily built tier for large text) instead of caching up to eight per-size rasterizations, and a burst of new glyphs re-rasterizes at most once per frame per font; language-picker fallback fonts seed ASCII only and grow on demand (kryon `ui_text` change).
- The process no longer links GTK: the system theme reads the desktop's real palette from the theme's gtk.css (kryon `system_theme`), file dialogs shell out to zenity/kdialog/yad (kryon's default backend order), and the GTK tray backend resolves libgtk-3 through kryon's runtime loader only when the tray actually starts. `INBE_NO_TRAY=1` skips the tray entirely (idle RSS drops from ~132 MB to ~103 MB; with the tray it is ~126 MB).
- glibc malloc arenas are capped at four (the app runs ~19 threads; the default ceiling let per-thread arenas inflate idle RSS).
- `KRYON_MEM_DEBUG=1` prints RSS/arena snapshots at startup and steady state (`KryonMemReport`), plus per-font rasterization stats (`UIFontMemoryReport`).
- Vendored Kryon bumped to master (ui_window center/drag/right-click/click-position, per-window XImage buffers, X11 `Time` layout fix; system_theme gtk.css palette).
### Fixed
- Android updates can once again be delivered through F-Droid.
- Restored 32-bit Windows downloads.
- Clicks on extra OS windows (HUD, break window) register correctly: the X11 `Time` field in the event stand-in had the wrong width, shifting button/position reads (right-click and buttons appeared dead).
- Extra OS windows no longer corrupt the heap when two windows of different sizes alternate (per-window XImage buffers).
- The Breaks entry shows in the settings sidebar on desktop again (`#if DESKTOP` resolved against an undefined constant, compiling the mobile branch everywhere).
## [1.9.0] - 2026-08-15
### Added
- Break reminders, Workrave-style: micro, rest and daily break timers with statistics and a desktop timer HUD that lives as a real OS window next to the app (desktop only, off by default, with its own settings tab).
- A dedicated Notifications settings tab. Push delivery uses UnifiedPush (no Google services): "Set up push" opens an in-app picker that lists installed distributor apps with their name and icon and registers with the one you pick; the status line reports the real registration state.
- Reminders are an editable list: add as many as you want, each with a practice dropdown (Wim Hof, Meditation, Sun Salutation), a [-] time [+] stepper, an on/off toggle and delete. Ships with one enabled Wim-Hof 08:00 reminder.
- A notification when new friend requests arrive over social sync (toggleable, on by default).
- Screenshot scenes for the first-run guide and the notifications settings, for regression coverage.
### Changed
- The app is built through the Kir-only k2c pipeline end to end; the legacy kc path and the orphaned wasm4/uxn experimental backends are gone.
- The 2,400-line app.c is split into focused modules (app_audio, app_fonts, app_web_bridge) and the simple screen dispatch is table-driven.
- Material theme is the default everywhere.
- The mobile nav sidebar no longer lists the desktop-only Breaks entry, and its scroll area is sized to the real content height so every entry is reachable on small screens.
- In-practice completion notifications are always on; the redundant "session complete" setting was removed.
- Vendored Kryon bumped through the notification, UIWindow and guide fixes.
### Fixed
- Settings silently stopped persisting across reloads on web (and could drop settings on any platform once enough keys existed): the settings load cache was a fixed 192-entry array that silently discarded entries past the cap, and the notification-era keys pushed the setting count over it. The cache now grows dynamically and logs if its allocation ever fails.
- First-run guide misalignment on small screens: the highlight anchors now come from the rectangles the draw code actually renders, the practice home reserves the exact space below its card (so it no longer flips into scroll mode when everything fits), the guide never starts on the welcome screen, the Android back key closes it, and its progress persists so it does not return after quitting mid-tour.
- "Set up push" did nothing: the UnifiedPush configuration ran via JNI on the native render thread, which has no Looper, and the resulting exception aborted registration before it started. It now runs on the UI thread.
- The reminder time is exactly centered between the - and + buttons and vertically aligned with them.
- Fresh installs now load the default reminder list (the "no saved list" sentinel was being clamped to an empty list).
- Android, web and CI build breaks from the Kryon bumps (ui_window NULL on Android, physics exclusion for web, Firefox smoke test under software GL).
## [1.8.23] - 2026-08-13
### Fixed
- Properly fixed accented characters (ä ö ü ß é ñ č etc.) typed into text fields rendering in a different, broken font. The active UI font is now dynamic in kryon and renders every glyph its file contains in its own typeface, instead of the brittle per-locale codepoint set that missed any character not present in the current locale's file. (1.8.20 only regenerated the font subset; this is the root-cause fix in kryon.)
### Changed
- Bumped the vendored Kryon pointer, and excluded Kryon's 2D physics (Box2D) sources from the Android build (inbe is UI-only) so the APK builds cleanly after the bump.
## [1.8.22] - 2026-08-12
### Fixed
- Fixed a ghost-click bug when closing the sidebar by swiping left on mobile: the pointer release bled through to the newly-shown screen, triggering a stray click on whatever nav item or button was under the release point (e.g. opening About). The release is now consumed before the screen switch.
- Fixed sidebar navigation returning to the wrong screen: closing the sidebar now remembers and returns to the screen it was opened from, and the return-on-back flag is properly cleared on re-open so it can't loop.
## [1.8.21] - 2026-08-12
### Fixed
- Fixed text corruption and overflow at high UI scale: font-shrink loops in the habits weekly view and WHM progressive-speed editor stepped or compared against scaled pixel values instead of logical font sizes, causing text to shrink too fast or never shrink. Title bars, toasts, and empty text fields now use the scaled line height for vertical centering and container sizing.
## [1.8.20] - 2026-08-12
### Fixed
- Fixed Android default scaling being too small by using the best available DPI estimate (maximum of viewport ratio, device density, and window scale) instead of device density alone, which under-scaled on tall screens.
- Regenerated the Latin font subset to include accented characters (ä ö ü ß é ñ č etc.) so German, French, Spanish, Czech and other Latin-script languages no longer fall back to a visually different system font.
- Removed per-frame DPI scale log spam from the embed draw path.
- Fixed the CI release build by upstreaming the SetUIDeviceDensity hook and other kryon fixes that were only present as uncommitted vendor working-tree edits.
## [1.8.19] - 2026-08-11
### Added
- Added a user-facing Scale factor control in Appearance settings, with a slider plus minus/plus steppers, that rescales the whole UI live on top of the device DPI. Shows the effective scale (e.g. 2.0x) and supports shrinking below the default.
### Changed
- Bumped practice screen metadata/subtitle, statistics metric labels, and About version text to the regular font tier so they stay readable at high scale.
- Made the per-practice music track setting keys data-driven so future practices persist automatically, and derived the practice music enable mask from the track selection to prevent drift.
- Updated Kryon Slider widget to allow a caller-supplied value text (e.g. "1.8x") and bumped the vendored Kryon pointer.
## [1.8.18] - 2026-08-10
### Changed
- Fixed Android audio/music import failing with "unsupported audio format": the file picker now preserves the original filename and a correct extension derived from the picked file's MIME type, instead of copying to an extension-less cache path.
- Fixed long custom music titles overlapping the play/pause and remove buttons in Audio settings by fitting them with an ellipsis.
- Moved background music selection out of per-practice customization and into Audio settings, with one track dropdown per practice (Wim Hof, Meditation, Sun Salutation), each defaulting to "None" except Meditation.
- Added a download/redownload button and progress indicator for the bundled meditation music pack directly in Audio settings.
- Showed the "Music by Elijah_K." attribution under a practice's track dropdown only when a bundled track requiring attribution is selected.
## [1.8.17] - 2026-08-10
### Changed
- Updated the WHM tutorial hold preview to use the same progress circle rendering as practice sessions.
- Fixed manual tutorial navigation arrows to use the centered left and right icons.
- Fixed habit edit Save so it returns directly to the habits overview, with a smaller Delete action for existing habits.
- Updated Kryon to allow apps to disable automatic default font loading during UI initialization.
## [1.8.16] - 2026-08-10
### Changed
- Fixed first-run guide overlay alignment under the Material theme by using style-aware tab and bottom navigation measurements.
- Fixed Audio settings scroll height calculation so the page sizes to the actual custom sound, music, output, and import controls.
- Restored Android 6/API 23 native launch compatibility by extracting packaged JNI libraries for older devices.
- Updated Kryon to the canonical widget API and refreshed the vendored Kryon pointer.
## [1.8.15] - 2026-08-09
### Changed
- Updated Kryon to the clean Kryon-owned app API and Material toggle rendering.
- Improved Material spacing in settings toggle rows.
- Updated Habits overview, calendar day cells, and weekly rows to use Material-friendly rounded controls.
- Disabled app audio initialization while running inside Kryon preview.
## [1.8.14] - 2026-08-06
### Changed
- Updated Kryon to the retro-only widget runtime while style selection is paused.
- Fixed deferred dropdown overlays so Inbe dropdown menus open above later controls.
- Restored practice carousel left/right navigation and kept session title bars using close buttons.
- Removed the app-level Animations setting and transition preference storage.
## [1.8.13] - 2026-08-05
### Changed
- Split cue and music volume controls so short practice cues stay on `sound_volume` while streamed meditation music uses the new persisted `music_volume` setting.
- Added an optional WHM retention 30-second marker, defaulting off, with controls in the WHM practice session settings.
- Moved background playback into Device settings and removed the standalone global Session settings tab.
- Updated practice music/settings UI and importable settings to include the new audio preferences, including a cue-volume test button.
## [1.8.12] - 2026-07-29
### Changed
- Fixed the Wim Hof between-round countdown: round 0 always counts down from 3 (the intentional 3-2-1), and rounds 1+ now honor the user's configured "Pause after round" setting. The breath engine now owns the full session state machine, so auto-play and manual round-advance share one path and final-round results are always persisted.
- Added desktop keyboard shortcuts for quitting the app: `Ctrl+Q` quits from any screen, and `Esc` quits when idle on the home screen (deeper screens keep their existing Esc behavior). On tray-enabled builds these go through the keep-running/quit prompt; without a tray they exit immediately, matching the window close button.
- Enabled WAL mode for app storage to improve database concurrency and read/write throughput.
## [1.8.11] - 2026-07-27
### Changed
- Reduced bundled font size by switching shipped UI fonts to Kryon-generated Noto subsets.
- Added Android system font fallback for arbitrary user-entered text while keeping embedded subsets for app UI and non-Android builds.
- Updated Kryon to provide shared font subsetting tooling and dynamic font fallback loading for downstream apps.
## [1.8.10] - 2026-07-26
### Changed
- Migrated `src/storage/import.c` to Kry (`import.kry`, transpiled to `import_impl.c`), following the established `db.kry` pattern; the hand-written `import.h` remains the public contract.
- Bumped the Kryon vendor to `22afa31` plus a one-line fix (`c26b7ec` on the `fix/platform-thread-stddef` branch) adding `#include <stddef.h>` to `platform_thread.c` so the web build can resolve `NULL`. The bump brings persistent text-input focus, a minimal Kry language (sugar verbs removed), and the new `WidgetButton` UI widget used by the practice screen.
- Fixed the web/emscripten build: `src/storage/sync_account.kry` now imports `<emscripten.h>` for its `#intrinsic "web"` declaration (which expands to `EM_ASM_INT`), matching the other two files using that intrinsic. This had broken the web build since the original Kry migration.
- Reworked the desktop close behavior: raylib's built-in ESC-to-exit is now disabled on native/desktop (ESC is handled per-screen, and close goes through our own keep-running/quit prompt when a tray is present); without a tray the window close button quits immediately.
- Habits editor: added description scroll state so long descriptions scroll correctly.
- Renamed a shadowed `text` parameter in `copy_text_checked` to `input` for clarity (meditation music path).
- Various screen and settings UI refinements across habits edit, pet, practice, profile, language, manual, and settings screens.
- Added `.zcode` to `.gitignore`.
### Note
- Meditation audio asset refresh is held back from this release (requires `git-lfs` to be installed locally before committing); will ship in a follow-up.
## [1.8.9] - 2026-07-17
### Changed
- Fixed Android native builds by embedding the current Noto font sources instead of stale generated `assets/fonts/ui.*` files.
- Fixed Android UI font loading by enabling TTF/OTF support in the Android raylib build.
- Updated sun-salutation assets to use pose sheets while keeping the figure setting focused on the man sequence for now.
- Improved release packaging automation, Linux package targets, and store metadata.
## [1.8.8] - 2026-07-13
### Changed
- Updated Flint icon integration to use categorized sprite sheets for app UI, language, payments, platforms, tiles, and profile pictures.
- Updated Inbe to use the new Flint icon categories and removed legacy eye icon usage.
- Fixed profile picture picker selection so it closes the picker, keeps the sidebar open, and does not click through to sidebar links.
## [1.8.7] - 2026-07-12
### Changed
- Fixed Firefox web persistence, mobile habit deletion, and customizable nav tap handling.
- Added a blank-home easter egg screen and updated embedded asset lists.
- Updated release and store packaging automation.
## [1.8.6] - 2026-07-11
### Changed
- Added Firefox add-on packaging, release metadata updates, and CI/release automation.
- Improved web audio asset validation and Firefox/LibreWolf smoke testing.
- Fixed stale screen-local modal state so hidden modals cannot keep input captured after navigation.
## [1.8.5] - 2026-07-11
### Changed
- Updated Flint to improve file dialogs, cursor behavior, focus reset, icon slider popups, and shared raylib build locking.
- Smoothed WHM breath and recovery countdown progress so the ring advances steadily during each breath and countdown.
- Improved session controls, release-store publishing files, and build packaging metadata.
## [1.8.4] - 2026-07-11
### Changed
- Reworked Profile configuration navigation to use a full-width dropdown instead of the tab bar.
- Updated sidebar return behavior for Profile and Settings flows.
- Updated Flint profile widgets and profile picture assets, including sidebar profile image sizing and picker scrolling.
## [1.8.3] - 2026-07-10
### Changed
- Improved ui in practice screen
## [1.8.2] - 2026-07-09
### Changed
- improved desktop experience
- add system themes
## [1.8.1] - 2026-07-03
### Fixed
- storage settings for android 17+
## [1.8.0] - 2026-07-02
### Changed
- upgrade to sync protocol v3
- ui fixes
## [1.7.12] - 2026-07-01
### Changed
- fix web
- deduplicate code
## [1.7.11] - 2026-07-01
### Addded
- add more banners
## [1.7.10] - 2026-07-01
### Changed
- updated whm banner
## [1.7.9] - 2026-07-01
### Fixed
- improve sync review
## [1.7.8] - 2026-07-01
### Changed
- Redesign the Practice home screen around carousel-style practice cards with explicit start, manual, configure, and music actions.
- Move meditation music configuration into a shared practice music panel with per-practice enablement and track selection.
## [1.7.7] - 2026-07-01
### Changed
- Move habit tracking overview out of Profile and into the Habits tab with direct day toggles, reorder controls, and local view persistence.
- Rework Settings into an overview page with section title bars and shared return/title bar UI.
## [1.7.6] - 2026-06-30
### Added
- habit overview
## [1.7.5] - 2026-06-29
### Fixed
- Fix Android 15 relaunch freeze.
- Code cleanup
## [1.7.4] - 2026-06-29
### Fixed
- Clean up practice stats, friend removal, sync review, and Android inset handling.
## [1.7.3] - 2026-06-29
### Fixed
- bottom inset in practice
### Changed
- Improve habit management
## [1.7.2] - 2026-06-29
### Added
- Add local `make install` target.
- Add Profile controls for habit ordering and practice visibility.
### Changed
- Move sync status into the Data view and simplify the habits add option.
- Clean up the README.
## [1.7.1] - 2026-06-28
### Changed
- Move shared Lyra sync protocol code into Flint and simplify Inbe sync client wiring.
## [1.7.0] - 2026-06-28
### Changed
- Rework Android safe-area handling to use one native inset path with stable bottom navigation spacing.
- Move leaderboard stats to synced source data, with local current-user rows shown immediately.
### Fixed
- Fix profile/friend sync freshness, leaderboard empty states, modal input capture, pet asset embedding, and wrapped text previews.
## [1.6.6] - 2026-06-28
### Changed
- updated the practice screen ui/ux
## [1.6.5] - 2026-06-28
### Fixed
- Repair habit-day sync for zero-count completions.
- Require liboqs at build time for every sync-enabled target.
## [1.6.4] - 2026-06-27
### Changed
- Move meditation duration selection into practice configuration with custom time support.
- Add centered in-session meditation add-time controls.
- Use Flint-managed liboqs, LibreSSL, and curl build paths.
### Fixed
- Fix Android native build to use Flint's liboqs submodule.
## [1.6.3] - 2026-06-27
### Changed
- Improve theme, habit, and localization UI polish
## [1.6.2] - 2026-06-27
### Changed
- Improve sun salutation
## [1.6.1] - 2026-06-27
### Changed
- Improved notification in session
- Standardized settings screen1
## [1.6.0] - 2026-06-26
### Added
- Sun Salutation practice with Yoga habit sync support.
### Changed
- Improve sync reliability and review handling.
## [1.5.9] - 2026-06-26
### Fixed
- Android session notification and wakelock for screen-locked playback
## [1.5.8] - 2026-06-25
### Fixed
- Background play for meditation practice
## [1.5.7] - 2026-06-25
- Fix test music
## [1.5.6] - 2026-06-24
### Fixed
- Modal button issue
## [1.5.5] - 2026-06-24
### Fixed
- modal capture bug
- fix sync diff
## [1.5.4] - 2026-06-24
### Changed
- Use Flint-managed modal handling so modal dialogs block background input consistently.
- Add optional sync account aliases, with compact public ID display and full ID reveal modal.
- Make sync state tracking more robust with snapshot hash checks and review flow for unresolved differences.
- Use Flint's built-in font chopping pipeline and verify multilingual locale glyph coverage.
## [1.5.3] - 2026-06-23
### Fixed
- modal issues
## [1.5.2] - 2026-06-23
### Changed
- let you disable screen transitions
- added theme modal
## [1.5.1] - 2026-06-22
### Fixed
- icon scaling
- fix inset bug
### Added
- toggle background music
## [1.5.0] - 2026-06-22
### Changed
- New logo
- improve tabbar ui
### Fixed
- sync issues
## [1.4.11] - 2026-06-21
### Added
- tab bar mode for habits and exercises
### Changed
- fix ut click file
## [1.4.10] - 2026-06-21
### Added
- Added guide to habits page
### Changed
- fix orientation issues
## [1.4.9] - 2026-06-21
### Fixed
- Fix Practice startup, manual navigation, configuration scrolling, and sync backfill issues.
- Add skip feature to on screen guide
## [1.4.8] - 2026-06-21
### Changed
- Fixed start screen
- Fixed schema on first sync
## [1.4.7] - 2026-06-21
### Changed
- Rework Practice into Manual, start, and configuration tabs with a new localized first-run guide.
- Simplify Meditation's manual to one page and make bottom navigation more compact.
## [1.4.6] - 2026-06-20
### Changed
- Move habit weekly, monthly, statistics, and edit views into icon tabs under the habit selector.
- Improve Flint form, modal, tab, and scrollbar widgets for measured layouts and cleaner scrolling.
### Fixed
- Prevent habit info modal text from overlapping the OK button.
## [1.4.5] - 2026-06-20
### Changed
- Fix spacing issues and translations
## [1.4.4] - 2026-06-20
### Added
- Add Russian localization.
- Add a habit stats view with streak, recent activity, weekday, and linked-practice diagrams.
- Add optional in-session volume controls, hidden by default.
- Add Mint and Cobalt themes.
### Changed
- Use one canonical pixel font atlas with Flint-managed DPI scaling and cleaner title sizing.
- Simplify habit counting so multiple counts are opt-in and independent of linked practices.
- Improve habit weekly/calendar spacing, mobile calendar touch feedback, and theme picker ordering.
- Reorganize repeated screen UI into reusable Flint helpers.
### Fixed
- Build the Ubuntu Touch Click package with the OpenStore package id
- Refactor code base
- Sync habit multiple-count settings correctly across clients and preserve queued local habit edits.
- Preserve linked session day behavior while hiding redundant count badges.
## [1.4.3] - 2026-06-20
### Fixed
- Refresh expired native sync auth tokens before sending queued changes.
- Require first-time meditation users to continue through the tutorial before starting.
## [1.4.2] - 2026-06-20
### Fixed
- Improve sync auth, websocket reconnects, and queued habit/session updates.
- Reduce SQLite-related UI flicker and speed up bulk import sync queueing.
- Fixed dropdown menus so temporary option lists cannot crash theme/device selection.
- Fixed Linux test and release builds to link against the vendored curl library path.
## [1.4.1] - 2026-06-19
### Changed
- Improve account management
## [1.4.0] - 2026-06-19
### Added
- optional sync client, offline account creation
- simplify tutorial
## [1.3.6] - 2026-06-18
### Fixed
- Fixed Tickmate `.db` imports so zero-based months map correctly and long habit histories load without dropping later dates.
## [1.3.5] - 2026-06-18
### Fixed
- Improved Android data import for `.db` backups, weekly habit rows, and import conflict handling.
## [1.3.4] - 2026-06-18
### Changed
- Reorganized WHM and Meditation into practice-owned modules for cleaner code boundaries.
- Split the meditation manual into an image intro page and a shorter music/gong setup page.
- Expanded release automation to build Web, Linux AppImage, Windows, APK, and AAB artifacts after tests pass.
## [1.3.3] - 2026-06-17
### Fixed
- Import now restores habits, habit sync settings, and optionally app settings from Inbe SQLite exports.
## [1.3.2] - 2026-06-17
### Fixed
- Unified scroll containers so content stays out of scrollbar tracks and scroll positions clamp cleanly at the bottom.
- Android meditation audio downloads now show a localized network-permission/connectivity modal when the host cannot be resolved.
- Windows builds now support runtime meditation audio downloads.
## [1.3.1] - 2026-06-17
### Fixed
-1
View File
@@ -1 +0,0 @@
include Makefile
+17 -24
View File
@@ -1,28 +1,21 @@
BSD 3-Clause License
MIT License
Copyright (c) 2026, waozi
Copyright (c) 2026 waozi
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors
may be used to endorse or promote products derived from this software without
specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
+296 -2527
View File
File diff suppressed because it is too large. Load diff
+54 -105
View File
@@ -1,139 +1,88 @@
<p align="center">
<img src="assets/app/readme-banner.png" alt="Inner Breeze" width="100%">
</p>
<p align="center">
<a href="https://play.google.com/store/apps/details?id=xyz.waozi.inbe">
<img src="assets/app/badge-google-play.png" alt="Get it on Google Play" height="56">
</a>
<a href="https://f-droid.org/packages/xyz.waozi.inbe/">
<img src="assets/app/badge-f-droid.png" alt="Get it on F-Droid" height="56">
</a>
</p>
# Inner Breeze
Inner Breeze is a free, open-source practice app for breathing, meditation, and
habit tracking. It works offline, stores data locally in SQLite, and can
optionally sync user-owned data through a Daochi-compatible sync server.
Inner Breeze is a free, open-source practice app for breathing, meditation, and habit tracking.
## Features
- Guided practice sessions with visual and audio cues
- Mind, Yoga, and Fitness organization for different practice routines
- Customizable breathing sessions, meditation timers, and habit counters
- Habit tracking with session history and linked practice counts
- Local import and export support
- Mind, Yoga, and Fitness organization for habits and practice views
- Configurable breathing sessions and meditation timers
- Habit tracking with session history
- Local SQLite storage with import/export support
- Theme customization with light and dark variants
- Repeat the last completed practice using its current settings
- Touch-optimized UI for desktop and mobile
## Build
## Building
The build checks Inbe's laws with the Ziran compiler (`ziran check`); no
separate proof tool is needed. The build host needs Python 3 and the platform's
native build dependencies. See [build laws](docs/build-laws-plan.md) for the
checked behavior.
inbe uses [raylib](https://github.com/raysan5/raylib) and requires a Nix development environment.
Initialize the submodules once:
### Prerequisites
- [Nix](https://nixos.org/download.html) with flakes enabled
- For Android builds: Java 17+ JDK
### Native Build
```bash
git submodule update --init --recursive
```
# Enter the development shell
nix develop
Build and run the desktop app:
```bash
# Build for your current platform
make native
# Run
make run
```
Run the terminal backend:
```bash
make tui
```
Build Android artifacts:
### Cross-Platform Builds
```bash
# Android debug APK
make android-debug
PASSWORD=your-keystore-password make android-release
PASSWORD=your-keystore-password make android-bundle
# Android release APK
make android-release PASSWORD=your-keystore-password
```
Build the web app:
### Android Emulator Testing
For automated testing with camera notch (cutout) support:
```bash
make web
make site
# Enter the development shell and run everything automatically
nix develop
./scripts/emulator.sh # Creates and launches the test AVD
make android-install # Builds, installs, and launches the app
```
Run the test suite:
This single script handles:
- AVD creation (if missing)
- Emulator launch
- APK build
- App installation and launch
```bash
make test
```
The AVD is configured with:
- **Device**: Pixel 6 (punch-hole camera style)
- **Display**: 1080×2400 @ 420dpi
- **RAM**: 4GB with hardware acceleration
- **Cutout**: Punch-hole camera for testing window insets
To test sync and recovery against an isolated local server:
### Platform-Specific Notes
```bash
make sync-server-test DAOCHI_BIN=/absolute/path/to/daochi
```
- **Linux**: Requires SDL2 runtime libraries
- **Windows**: Standalone executable, no dependencies
- **Android**: Requires Android NDK in the development shell
- **Web**: Requires Emscripten toolchain
This uses disposable client databases and a loopback server; see
[web and sync test coverage](WEB_RENDERER_TESTS.md) for details.
## Project Structure
Native binaries are written to `build/bin/<platform>/`. Release artifacts are
written under `build/dist/`.
Dependencies, including Kryon and the Ziran toolchain, are pinned in
`ziran.lock`. `make` fetches them into the Ziran package cache and links them
under `build/packages/`; `sh scripts/packages.sh` does the same by hand.
Builders that supply the sources themselves need no network: put Git checkouts
containing the locked commits (including Kryon's `raylib` submodule) in
`$ZIRAN_PACKAGE_SOURCES`, or declare them as F-Droid srclibs, which are found
in `../srclib` automatically.
To debug Inbe against the root Kryon checkout, map it in an ignored
`ziran.local.toml`:
```toml
[overrides]
kryon = "../../kryonlabs/kryon"
```
Use this only for local debugging. Permanent Kryon fixes should be committed in
the root Kryon repository and then brought into Inbe with `ziran update kryon`.
## Project Layout
- `src/` - app code
- `assets/` - images, fonts, and sounds
- `locales/` - translations
- `droid/` - Android project
- `site/` - website
- `ziran.toml`, `ziran.lock` - pinned Ziran toolchain and dependencies
## Support
Monero:
```text
48ms5LfFrPJ2LUvqP9Mm5BhDSnZnqu14jB8XpAukw3jDBKxRAxYvq3k4fEwXY7kCY3LrtycMUayJZR1YJuyvJHCDCcyw6pA
```
Bitcoin:
```text
bc1qxzcetg50f6epgddc09n82xqn3zswlmk44235y5
```
Lightning:
```text
[email protected]
```
- `src/` - Inbe application code
- `flint/` - first-party UI/runtime support code used directly by Inbe
- `vendor/` - external third-party dependencies
- `wasm4/` - Standalone WASM-4 version
- `assets/` - Images and sounds
- `droid/` - Android build configuration
## License
BSD 3-Clause. See [LICENSE](LICENSE).
MIT - see [LICENSE](LICENSE)
-37
View File
@@ -1,37 +0,0 @@
# Web Renderer Tests
Inbe ships the Kryon Canvas2D renderer. `web-canvas` is an alias for `web`.
| Target | Renderer | Purpose |
|---|---|---|
| `make web` | Kryon Canvas2D | Shipping Emscripten/WASM build with liboqs sync support; WebGL is not required. |
| `make web-canvas` | Kryon Canvas2D | Alias for the shipping web build. |
| `make web-compare-test` | Kryon Canvas2D | Builds the web target and runs its smoke suite. |
| `make web-side-by-side-test` | Kryon Canvas2D | Builds, tests, and serves a preview page. |
The shared smoke test is `scripts/web-smoke-test.mjs`:
- `WEB_SMOKE_RENDERER=canvas` requires a live Canvas2D context and nonblank pixels.
- It requires the app runtime-ready hook, a cycling render loop, IDBFS idle/flush behavior, and app settings persistence.
- It verifies sync-key import, practice startup, and habit navigation without reloading.
- The Chromium path also completes a one-minute meditation through pause and
background elapsed time, saves its mood, and verifies the saved check-in after reload.
Server integration:
- Run `make sync-server-test DAOCHI_BIN=/absolute/path/to/daochi` with a built
Daochi server. The runner starts a disposable loopback server and two isolated
client databases, and retains test data and logs in a printed temporary directory.
- It checks offline recovery, a lost upload response, retry without duplicates,
conflicting mood edits, backup restoration, and synced deletion. It uses Inbe's
native storage and sync code; browser transport remains covered by the web smoke suite.
For a manual preview, run:
```bash
make web-side-by-side-test
```
The script prints a local preview URL. Use
`scripts/web-side-by-side-test.sh --no-serve` for build-and-smoke validation
without starting the preview server.
Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 464 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 349 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 512 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 747 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 198 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

-14
View File
@@ -1,14 +0,0 @@
ABCDEFGHIJKLMNOPQRSTUVWXYZ
abcdefghijklmnopqrstuvwxyz
0123456789
!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~
 
ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞß
àáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ
ĀāĂ㥹ĆćĈĉĊċČčĎďĐđĒēĔĕĖėĘęĚě
ĞğĪīŁłŃńŇňŌōŘřŚśŞşŠšŤťŪūŮůŰűŹźŻżŽž
АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ
абвгдеёжзийклмнопрстуфхцчшщъыьэюя
。,、!?:;()[]「」『』ー〜・
中文简体繁體日本語한국어
·—›
Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.
Binary file not shown.

Before

Width:  |  Height:  |  Size: 98 KiB

After

Width:  |  Height:  |  Size: 75 KiB

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 163 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 149 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 136 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 136 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 125 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 109 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Loaded 100 of 2695 files, more files were not shown because too many files have changed in this diff. Show more