3.9 KiB
Inner Breeze
Inner Breeze is a free, open-source app for breathing, meditation, and habit tracking.
Support
Monero:
48ms5LfFrPJ2LUvqP9Mm5BhDSnZnqu14jB8XpAukw3jDBKxRAxYvq3k4fEwXY7kCY3LrtycMUayJZR1YJuyvJHCDCcyw6pA
Bitcoin:
bc1qxzcetg50f6epgddc09n82xqn3zswlmk44235y5
Lightning:
Build
Build with the system toolchain and project Makefile:
make native
make run
On FreeBSD, use GNU Make:
gmake native
gmake run
To debug Inbe against the root Flint checkout instead of the vendored
submodule, override FLINT_DIR:
make run FLINT_DIR=../flint
On FreeBSD:
gmake run FLINT_DIR=../flint
Use this only for local debugging; permanent Flint fixes should be committed in
the root Flint repository and then brought into Inbe by updating
vendor/flint.
Native binaries are written to build/bin/<platform>/, for example
build/bin/freebsd/inbe-freebsd-x86_64 on FreeBSD.
Install into the system prefix:
make install
By default this installs the binary, desktop entry, icon, and AppStream
metadata under /usr/local. Use DESTDIR for staged/package installs, or
PREFIX to choose another install root.
Install for only the current user:
make install-user
This installs under ~/.local, including the desktop entry and icon.
FreeBSD Package
Build a native FreeBSD package from inside the repo:
gmake package-freebsd
The package is written to build/dist/freebsd/, for example:
build/dist/freebsd/inbe-1.8.3-freebsd-x86_64.pkg
Install it with FreeBSD pkg:
sudo pkg install -y ./build/dist/freebsd/inbe-1.8.3-freebsd-x86_64.pkg
The package installs the inbe command plus desktop integration for menus such
as Xfce: Inner Breeze appears from the .desktop file, uses the bundled icon,
and includes AppStream metadata.
Other Targets
General:
make test
make dist
make clean
Native desktop:
make native
make run
make install-user
make uninstall
FreeBSD:
gmake package-freebsd
Android:
make android-debug
make android-release
make android-bundle
Web:
make web
make site
make chrome-web-store
make firefox-addons
Linux:
make appimage
Ubuntu Touch:
make click
Windows:
make windows
Common outputs:
make nativebuildsbuild/bin/<platform>/inbe-<platform>-<arch>.make appimagebuilds a Linux AppImage underbuild/dist/linux/.make webbuilds and smoke-tests the web app, then writesbuild/dist/inbe-web.zip.make windowsbuilds 64-bit and 32-bit Windows binaries and writes a zip underbuild/dist/windows/.make clickbuilds the Ubuntu Touch Click package underbuild/dist/click/.make distbuilds release artifacts; Android release targets requirePASSWORD.
Android
Build a debug APK:
make android-debug
Create and launch an Android 17/API 37.1 AVD for Pixel storage testing:
ANDROID_API=37.1 bash scripts/create-avd.sh inbe-android-37-1
AVD_NAME=inbe-android-37-1 bash scripts/emulator.sh
Android 17 system images are listed by Google as android-37.0,
android-37.1, and android-CinnamonBun. The repo AVD script supports the
16 KB page-size image types such as google_apis_playstore_ps16k.
Native Android storage must use the app's private internal data directory from
ANativeActivity->internalDataPath, not the process working directory. Inbe's
SQLite database lives under that app-private root and is removed when the app is
uninstalled.
Project Layout
src/- app codeassets/- images, fonts, and soundslocales/- translationsdroid/- Android projectsite/- websitevendor/flint/- Flint UI/runtime submodule
Notes
Inbe stores app data locally in SQLite. Optional sync can mirror user-owned data through a Lyra-compatible sync server.
License
BSD 3-Clause. See LICENSE.