Compare commits

..
140 Commits
Author SHA1 Message Date
waozi 1f21d4d3af clean flint version 2026-06-12 00:42:22 -03:00
waozi d92c06a0b4 flint cli fully working 2026-06-12 00:11:22 -03:00
waozi e416d9419a use flint for cross building 2026-06-12 00:07:56 -03:00
waozi 5157746aca clean windows build 2026-06-11 23:45:54 -03:00
waozi 4993ad48e4 Embed runtime assets in desktop builds 2026-06-11 22:20:24 -03:00
waozi efd8de98cd upload all versions on itch 2026-06-11 16:48:08 -03:00
waozi a5729306ae update version 2026-06-11 13:06:54 -03:00
waozi d6373dab29 bug fixes and improve setting management 2026-06-11 13:03:51 -03:00
waozi 91a250a9be fix versioning 2026-06-10 08:41:39 -03:00
waozi 22d2b0916d fix history page 2026-06-10 08:38:18 -03:00
waozi 6a1d83f8f8 simplify scripts 2026-06-10 00:22:12 -03:00
waozi ced92152e1 bug fix 2026-06-10 00:18:25 -03:00
waozi 22c309e5e6 fix action 2026-06-09 23:57:51 -03:00
waozi b4922b5c35 Fix web file dialog guard 2026-06-09 23:51:25 -03:00
waozi e455f5c40c Fix font glyphs and web builds 2026-06-09 23:48:13 -03:00
waozi 7fbdfc5c49 add submodule 2026-06-09 23:33:40 -03:00
waozi d78af1d5b9 bug fixes and locale fixes 2026-06-09 23:30:10 -03:00
waozi 9d3844820f rm icons 2026-06-09 23:14:59 -03:00
waozi 1d01a8aa32 improve icon setup 2026-06-09 23:14:41 -03:00
waozi e5af624e3d import working on linux 2026-06-09 21:55:06 -03:00
waozi fe2f9209c6 wip file import 2026-06-09 21:41:29 -03:00
waozi 189227f3a1 update makefile 2026-06-09 13:36:16 -03:00
waozi 58c33a90d6 add new version 2026-06-09 13:05:43 -03:00
waozi 5a38c6953e fine grained sound, better language support 2026-06-09 11:13:11 -03:00
waozi fcd134a8e1 clean text 2026-06-09 00:13:33 -03:00
waozi 158c66d588 add font loading and asian languages 2026-06-08 23:18:52 -03:00
waozi 14d801fb11 Use Flint UI widgets directly 2026-06-08 15:21:13 -03:00
waozi 93941b5c6a Bump Flint for UI widgets 2026-06-08 15:20:42 -03:00
waozi 62641a2b41 Bump Flint for DPI cache 2026-06-08 15:09:21 -03:00
waozi ee94071509 Use Flint text layout directly 2026-06-08 15:05:08 -03:00
waozi 9770dd6b4c Bump Flint for text layout 2026-06-08 15:03:28 -03:00
waozi 8c82f35493 Move generic UI helpers into flint 2026-06-08 14:57:13 -03:00
waozi 71d0e24c39 Update flint theme catalog behavior 2026-06-08 14:21:58 -03:00
waozi 0ceebd055e Use flint catalog for theme previews 2026-06-08 14:20:36 -03:00
waozi 6555f85769 Register themes through flint catalog 2026-06-08 11:04:19 -03:00
waozi 6b40d00b5b Use vendored flint UI and themes 2026-06-08 10:54:50 -03:00
waozi 54cfd0e5e6 cleaner makefile 2026-06-08 00:40:01 -03:00
waozi 50674fefd6 improved settings page 2026-06-04 22:50:14 -03:00
waozi f6dbfc373a rm sync 2026-06-04 16:02:20 -03:00
waozi f5397afcd6 wip sync data 2026-06-03 00:17:29 -03:00
waozi 47ff302a0f fixes for web and version update 2026-06-01 17:00:10 -03:00
waozi dbe2e2fc6a add on screen keyboard 2026-06-01 16:33:26 -03:00
waozi ab662be647 improve edit filed 2026-06-01 12:42:01 -03:00
waozi 0341d983d1 improve tutorial, results saving and statistics 2026-06-01 12:29:36 -03:00
waozi b2a8b34df1 add multilingual 2026-05-31 06:08:23 -03:00
waozi 3b73ae0cb4 add progressive speed up for first round 2026-05-30 23:13:41 -03:00
waozi ddf4671297 fix for non android plat 2026-05-30 18:59:52 -03:00
waozi 83489725ed implement wakelock 2026-05-30 18:43:50 -03:00
waozi 7fb258f5d5 implement wakelock 2026-05-30 11:28:58 -03:00
waozi fff3469944 rm comments 2026-05-30 00:48:04 -03:00
waozi 731abd410b improve dpi settings 2026-05-30 00:28:07 -03:00
waozi 8fd4efb642 improve website 2026-05-30 00:19:07 -03:00
waozi adf8352e92 cleanup code and improve site 2026-05-29 23:57:23 -03:00
waozi 706a8a0797 clean up instructions 2026-05-29 20:04:38 -03:00
waozi d068a8b8e0 fi xscript 2026-05-29 15:07:05 -03:00
waozi 024b16e36b add copy assets script 2026-05-29 14:57:23 -03:00
waozi 16e4ec2711 fix padding 2026-05-29 14:53:29 -03:00
waozi 7ce19c045f massive layout improvements 2026-05-29 14:50:11 -03:00
waozi a2e5a594cd update cmake 2026-05-29 13:31:44 -03:00
waozi ec53dd02af implement text reflow 2026-05-29 13:29:54 -03:00
waozi 8d92924849 update workflow 2026-05-29 12:43:31 -03:00
waozi 407681fada rm unsigned apk 2026-05-29 12:05:40 -03:00
waozi 6a3d3f3559 fix gradle for github action 2026-05-29 11:38:47 -03:00
waozi ab59ab6b83 mistake in workflow 2026-05-29 11:34:46 -03:00
waozi 321afdd465 fix workflow 2026-05-29 11:33:31 -03:00
waozi c2f7d75258 update workflow 2026-05-29 11:31:34 -03:00
waozi eba69651a9 udptae version 2026-05-29 11:27:47 -03:00
waozi 8fe47c8a32 add image fallback 2026-05-29 11:19:29 -03:00
waozi 81032a9dcc bug fix 2026-05-29 09:20:11 -03:00
waozi 2be97ca801 release fix 2026-05-29 09:14:19 -03:00
waozi 324d18fdfb fix inset 2026-05-29 09:11:47 -03:00
waozi 6889777cff increase inset 2026-05-29 07:50:08 -03:00
waozi ea78b73c86 move scripts 2026-05-29 07:26:04 -03:00
waozi 1e5768f6b4 fix data issue 2026-05-29 07:23:00 -03:00
waozi 612f431376 bug fix 2026-05-28 23:58:22 -03:00
waozi f13a88b94e improve website 2026-05-28 18:48:19 -03:00
waozi e7d9843e94 add itch script 2026-05-28 18:14:25 -03:00
waozi ae438d7c14 rm dependency tracker 2026-05-28 16:31:51 -03:00
waozi 879f058d7a fix bug 2026-05-28 14:44:10 -03:00
waozi f208429e08 fix script 2026-05-28 14:38:41 -03:00
waozi 827780347b fastlane changelog 2026-05-28 14:37:35 -03:00
waozi 791ca2eba9 fix versioning 2026-05-28 14:35:31 -03:00
waozi 7d3d4d588b add descriptions 2026-05-28 12:37:07 -03:00
waozi eec36173c8 fix dropdown passthrough 2026-05-28 10:48:38 -03:00
waozi a21bc16bcd update version 2026-05-28 10:20:02 -03:00
waozi 79a9f92e35 make file sharing work 2026-05-28 10:19:50 -03:00
waozi fc77fa2aea implemnet clean zip export 2026-05-28 04:14:31 -03:00
waozi e21f49cf4d wip data management 2026-05-28 02:55:45 -03:00
waozi a9f2cbb464 refactor code 2026-05-28 02:34:07 -03:00
waozi a0b86526a2 add return button func on android 2026-05-28 01:12:11 -03:00
waozi d39f908ddb new test 2026-05-27 18:38:48 -03:00
waozi cb8cbf4ca7 improve build for fdroid 2026-05-27 18:23:09 -03:00
waozi 077e400e38 cleaner relesae 2026-05-27 15:41:55 -03:00
waozi 050eee00ae use correct tag 2026-05-27 15:33:30 -03:00
waozi 212160a48a auto tag 2026-05-27 15:29:11 -03:00
waozi 96b479b99f bug fix 2026-05-27 15:18:55 -03:00
waozi 19570e4b1c enable signing 2026-05-27 15:14:02 -03:00
waozi fc8c583eee add fastlane metadata 2026-05-27 15:04:40 -03:00
waozi 2612192889 prepare for f-droid 2026-05-27 14:24:11 -03:00
waozi ce26a3d2a3 finish migration 2026-05-27 14:17:17 -03:00
waozi b8b1bc9989 bug fixes 2026-05-27 14:01:19 -03:00
waozi 16a5a33091 bug fixes 2026-05-27 13:51:21 -03:00
waozi dac27ce0d8 track drodi stuff correctyl 2026-05-27 13:49:12 -03:00
waozi 44e70de7d1 add waozi icons 2026-05-27 13:12:46 -03:00
waozi 7c3318ff72 add flake 2026-05-27 13:03:39 -03:00
waozi 170ecc851a add cherry theme andbug fixes 2026-05-27 11:45:27 -03:00
waozi c0a9484d7e implement theming 2026-05-27 00:48:45 -03:00
waozi 310a822ea5 add version upgrade script 2026-05-26 16:15:15 -03:00
waozi f3a437a165 update version 2026-05-26 10:52:06 -03:00
waozi f2dbd32df4 bug fixes 2026-05-26 10:45:01 -03:00
waozi 66cb62b4d3 improve scaling 2026-05-26 10:18:06 -03:00
waozi e9c1945511 add sounds 2026-05-25 21:52:20 -03:00
waozi dd7d05fa28 fix androdi scaling 2026-05-25 20:24:16 -03:00
waozi ace95aa97c improve mobile view 2026-05-25 14:24:07 -03:00
waozi b2cca9395c finish inbe basic 2026-05-25 12:44:40 -03:00
waozi 548217c10d cascading windows 2026-05-24 20:57:08 -03:00
waozi d674586fe9 fix web shell 2026-05-24 20:27:27 -03:00
waozi 7f48edf8f6 improve android inbe 2026-05-24 16:08:10 -03:00
waozi 18bff54ec5 cleanup 2026-05-23 23:58:31 -03:00
waozi 764a652e1c unify flake 2026-05-23 23:41:11 -03:00
waozi d41a12503e add lotus 2026-05-23 23:18:56 -03:00
waozi 8f728d97bb wip lotus 2026-05-23 18:39:06 -03:00
waozi e43973882e cross compile to windows 2026-05-23 13:19:31 -03:00
waozi 1e8976c0d4 reorg 2026-05-23 10:10:56 -03:00
waozi 90adc96782 clean and replace with ray 2026-05-23 09:34:33 -03:00
waozi 4f1950c488 testray 2026-05-23 08:42:59 -03:00
waozi bc27c72034 simplify linux version 2026-05-23 00:35:12 -03:00
waozi 3f7054fe40 improve icons 2026-05-22 22:32:32 -03:00
waozi 48a3a78049 clean bulid and native linux 2026-05-22 22:09:12 -03:00
waozi b9ee0287f5 add banner image for inbe 2026-05-22 10:40:47 -03:00
waozi dec0a05dd0 complete basic inner breeze breathing cycle 2026-05-22 09:40:52 -03:00
waozi 6ad78bd288 drawing primitives, buttons 2026-05-21 23:36:02 -03:00
waozi bb40a2822d use liblotus 2026-05-21 22:33:06 -03:00
waozi f189300079 stared liblotus 2026-05-21 22:01:57 -03:00
waozi 77f880f3ed simple android fb manipulation 2026-05-21 16:47:37 -03:00
waozi 163bbeaa8c add results to wasm4 inbe 2026-05-21 14:25:06 -03:00
waozi 54a6016976 cleanup 2026-05-21 10:14:45 -03:00
waozi 11add452e2 bug fixes 2026-05-21 02:58:48 -03:00
waozi aaf7019067 add subdomains 2026-05-21 02:46:23 -03:00
waozi 2829f237a1 rename and refactor 2026-05-21 02:35:11 -03:00
24 changed files with 1494 additions and 150 deletions

No files matched your search

+2 -2
View File
@@ -43,7 +43,7 @@ jobs:
env:
KEYSTORE_BASE64: ${{ secrets.KEYSTORE_BASE64 }}
run: |
echo "$KEYSTORE_BASE64" | base64 -d > ~/.android/flint-release.keystore
echo "$KEYSTORE_BASE64" | base64 -d > ~/.android/inbe-release.keystore
echo "Keystore decoded successfully"
- name: Copy Assets to Android Project
@@ -58,7 +58,7 @@ jobs:
run: |
./gradlew assembleRelease \
-Pkeystore.password="$KEYSTORE_PASSWORD" \
-Pkeystore.path="/home/runner/.android/flint-release.keystore" \
-Pkeystore.path="/home/runner/.android/inbe-release.keystore" \
--stacktrace
- name: Rename APK
-5
View File
@@ -1,9 +1,4 @@
# Changelog
## [1.2.6] - 2026-06-12
### Fixed
- Import now replaces only matching session files from the ZIP and never removes local sessions missing from the import.
- Fixed web scaling behavior.
## [1.2.5] - 2026-06-12
### Added
- BTC address for donations
+72
View File
@@ -0,0 +1,72 @@
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8" />
<head>
<title>Inner Breeze - All Builds</title>
<link href="/style.css" rel="stylesheet" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Inner Breeze - All available builds and implementations.">
<link rel="icon" type="image/png" sizes="32x32" href="web-assets/icons/favicon-32x32.png">
<meta name="theme-color" content="#5566aa">
</head>
<body>
<div class="content">
<section>
<h1>All Builds</h1>
<p><a href="/">← Back to Inner Breeze</a></p>
</section>
<section>
<div class="platform-section">
<div class="platform-header">
<img src="/web-assets/icons/ray.png" alt="raylib"/>
<div>
<strong><a href="https://raylib.com">Raylib</a></strong>
<p>A C library for video game programming - the primary implementation.</p>
</div>
</div>
<div class="downloads-grid">
<a href="/build/web/index.html" class="download-item">Web (WASM)</a>
<a href="/build/linux/inbe-linux.tar.gz" class="download-item">Linux</a>
<a href="/build/windows/inbe-windows.zip" class="download-item">Windows</a>
<a href="/build/android/inbe-latest.apk" class="download-item">Android APK</a>
</div>
</div>
<div class="platform-section">
<div class="platform-header">
<img src="/web-assets/icons/wasm4.png" alt="wasm4"/>
<div>
<strong><a href="https://wasm4.org">WASM-4</a></strong>
<p>A tiny fantasy console that runs WebAssembly cartridges.</p>
</div>
</div>
<div class="downloads-grid">
<a href="/wasm4/build/index.html" class="download-item">Web</a>
<a href="/wasm4/build/cart.wasm" class="download-item">cart.wasm</a>
<a href="/wasm4/build/inbe-windows.zip" class="download-item">Windows</a>
<a href="/wasm4/build/inbe-linux.tar.gz" class="download-item">Linux</a>
</div>
</div>
<div class="platform-section">
<div class="platform-header">
<img src="/web-assets/icons/uxn.png" alt="uxn"/>
<div>
<strong><a href="https://100r.co/site/uxn.html">Uxn</a></strong>
<p>A small virtual computer; <code>.rom</code> runs in a Uxn emulator.</p>
</div>
</div>
<div class="downloads-grid">
<a href="/uxn/index.html" class="download-item">Web</a>
<a href="/uxn/inbe.rom" class="download-item">inbe.rom</a>
</div>
</div>
</section>
<footer>
<p>&copy; 2026 <a href="https://waozi.xyz">Waozi</a> | <a href="/privacy.html">Privacy Policy</a></p>
</footer>
</div>
</body>
</html>
+4 -5
View File
@@ -18,8 +18,7 @@ android {
keystoreProps.load(new FileInputStream(keystorePropsFile))
}
def getKeystorePath = { -> keystoreProps['keystore.path'] ?: System.getenv("HOME") + "/.android/flint-release.keystore" }
def getKeystoreAlias = { -> keystoreProps['keystore.alias'] ?: "inbe-key" }
def getKeystorePath = { -> keystoreProps['keystore.path'] ?: System.getenv("HOME") + "/.android/inbe-release.keystore" }
def releasePassword = project.findProperty('keystore.password') ?: ""
@@ -27,7 +26,7 @@ android {
release {
storeFile getKeystorePath() ? file(getKeystorePath()) : null
storePassword releasePassword
keyAlias getKeystoreAlias()
keyAlias "inbe-key"
keyPassword releasePassword
}
}
@@ -35,8 +34,8 @@ android {
defaultConfig {
minSdk 19
targetSdk 35
versionCode 27
versionName "1.2.6"
versionCode 26
versionName "1.2.5"
}
@@ -1,3 +0,0 @@
### Fixed
- Import now replaces only matching session files from the ZIP and never removes local sessions missing from the import.
- Fixed web scaling behavior.
+9 -2
View File
@@ -20,6 +20,7 @@ app = [
"src/theme.c",
"src/data.c",
"src/miniz.c",
"src/android/android_share.c",
"src/tabs/history_tab.c",
"src/tabs/language_tab.c",
"src/tabs/manual_tab.c",
@@ -73,5 +74,11 @@ sources = [
"src/android/android_wakelock.c",
"src/android/android_timer.c"
]
keystore = "flint-release.keystore"
key_alias = "inbe-key"
[dist.itch]
user = "waozi"
game = "inbe"
web_channel = "html5"
windows_channel = "windows"
linux_channel = "linux"
android_channel = "android"
+204
View File
@@ -0,0 +1,204 @@
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8" />
<head>
<title>Inner Breeze - Guided Breathing Meditation</title>
<link href="/style.css" rel="stylesheet" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Inner Breeze - A free, open-source guided breathing meditation app based on the Wim Hof method. Features 8 color themes, sound effects, session history, and fullscreen mode. Available for web, Android, Windows, and Linux.">
<link rel="canonical" href="https://inbe.waozi.xyz/">
<meta property="og:type" content="website">
<meta property="og:url" content="https://inbe.waozi.xyz/">
<meta property="og:title" content="Inner Breeze - Guided Breathing Meditation">
<meta property="og:description" content="A free, open-source breathing meditation app based on the Wim Hof method. Features 8 color themes, sound effects, and session history.">
<meta property="og:image" content="https://inbe.waozi.xyz/og.jpg">
<meta property="og:site_name" content="Inner Breeze">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:url" content="https://inbe.waozi.xyz/">
<meta name="twitter:title" content="Inner Breeze - Guided Breathing Meditation">
<meta name="twitter:description" content="A free, open-source breathing meditation app based on the Wim Hof method.">
<meta name="twitter:image" content="https://inbe.waozi.xyz/og.jpg">
<meta name="twitter:site" content="@waozixyz">
<meta name="twitter:creator" content="@waozixyz">
<link rel="icon" type="image/png" sizes="32x32" href="web-assets/icons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="192x192" href="web-assets/icons/icon-192x192.png">
<link rel="icon" type="image/png" sizes="512x512" href="web-assets/icons/icon-512x512.png">
<link rel="apple-touch-icon" href="web-assets/icons/apple-touch-icon.png">
<meta name="theme-color" content="#5566aa">
<!-- JSON-LD Structured Data -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "SoftwareApplication",
"name": "Inner Breeze",
"description": "A free, open-source guided breathing meditation app based on the Wim Hof method",
"applicationCategory": "HealthApplication",
"operatingSystem": "Android, Windows, Linux, Web Browser",
"offers": {
"@type": "Offer",
"price": "0",
"priceCurrency": "USD"
},
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "4.8",
"ratingCount": "150"
},
"author": {
"@type": "Person",
"name": "Waozi",
"url": "https://waozi.xyz"
},
"keywords": "breathing, meditation, wim hof, health, wellness, mindfulness",
"features": [
"8 color themes with light/dark variants",
"Audio cues and sound effects",
"Session history tracking",
"Fullscreen mode with DPI scaling",
"Touch-optimized mobile interface"
],
"downloadUrl": [
"https://inbe.waozi.xyz/build/android/inbe-latest.apk",
"https://inbe.waozi.xyz/build/windows/inbe-windows.zip",
"https://inbe.waozi.xyz/build/linux/inbe-linux.tar.gz"
]
}
</script>
</head>
<body>
<div class="content">
<main id="main-content">
<section class="hero" aria-label="App introduction and download options">
<img class="tk-img" src="/web-assets/icons/inbe.png" width="128px" alt="Inner Breeze app logo - a calming blue wind spiral icon"/>
<h1>Inner Breeze</h1>
<p>guided breathing meditation based on the Wim Hof method</p>
<p class="version">1.2.5</p>
<!-- Direct Downloads -->
<nav aria-label="Platform downloads" class="platform-buttons">
<a href="/build/web/index.html" class="platform-btn web">
<img src="/web-assets/icons/wasm.png" alt="WebAssembly icon"/>
<span>Run Web</span>
</a>
<a href="/build/android/inbe-latest.apk" class="platform-btn android">
<img src="/web-assets/icons/droid.png" alt="Android icon"/>
<span>Android</span>
</a>
<a href="/build/windows/inbe-windows.zip" class="platform-btn windows">
<img src="/web-assets/icons/win.png" alt="Windows icon"/>
<span>Windows</span>
</a>
<a href="/build/linux/inbe-linux.tar.gz" class="platform-btn linux">
<img src="/web-assets/icons/tux.png" alt="Linux icon"/>
<span>Linux</span>
</a>
</nav>
<!-- App Stores -->
<nav aria-label="App store downloads" class="platform-buttons">
<a href="https://play.google.com/store/apps/details?id=xyz.waozi.inbe" class="platform-btn android">
<img src="/web-assets/icons/playstore.png" alt="Play Store icon"/>
<span>Play Store</span>
</a>
<a href="https://f-droid.org/packages/xyz.waozi.inbe/" class="platform-btn android">
<img src="/web-assets/icons/fdroid.png" alt="F-Droid icon"/>
<span>F-Droid</span>
</a>
<a href="https://waozi.itch.io/inbe" class="platform-btn web">
<img src="/web-assets/icons/itch.png" alt="itch.io icon"/>
<span>itch.io</span>
</a>
</nav>
<p style="text-align:center; margin-top:16px; font-size:14px;"><a href="/builds.html">Other builds (WASM-4, Uxn) →</a></p>
</section>
<!-- Features Section - Clean simple styling -->
<section class="features-section">
<h2>Features</h2>
<div class="features-grid">
<div class="feature-item">
<h3>8 Color Themes</h3>
<p>Forest, Ocean, Sky, Sunset, and Lavender — each with light and dark variants</p>
</div>
<div class="feature-item">
<h3>Audio Cues</h3>
<p>Breath in/out sounds and completion bell for guided sessions</p>
</div>
<div class="feature-item">
<h3>Session History</h3>
<p>Track your breathing sessions with local storage</p>
</div>
<div class="feature-item">
<h3>Fullscreen Mode</h3>
<p>Immersive experience with proper DPI scaling</p>
</div>
<div class="feature-item">
<h3>Touch Optimized</h3>
<p>Designed for mobile devices with responsive controls</p>
</div>
<div class="feature-item">
<h3>Open Source</h3>
<p>Free and open-source under MIT license</p>
</div>
</div>
</section>
<section class="migration-section">
<h2>Migrating from inbe-legacy?</h2>
<p>Use the web converter to turn an inbe-legacy JSON export into the ZIP format used by current Inner Breeze imports.</p>
<p><a href="/legacy-converter.html">Open legacy data converter</a></p>
</section>
<!-- About Section -->
<section class="about-section">
<h2>About the Wim Hof Method</h2>
<p>The Wim Hof Method is a breathing technique that combines controlled hyperventilation and breath retention. Practitioners report benefits including:</p>
<ul class="benefits-list">
<li>Reduced stress and anxiety</li>
<li>Improved focus and mental clarity</li>
<li>Better sleep quality</li>
<li>Enhanced cold tolerance</li>
<li>Increased energy levels</li>
</ul>
<p class="safety-note"><em>Note: Always practice breathing exercises in a safe environment. Never practice while driving, swimming, or in situations where loss of consciousness could be dangerous.</em></p>
</section>
<!-- Source & Donations -->
<section class="info-section">
<nav aria-label="Source code" class="platform-buttons">
<a href="https://github.com/waozixyz/inbe" target="_blank" rel="noopener" class="platform-btn web">
<img src="/web-assets/icons/github.png" alt="GitHub icon"/>
<span>GitHub</span>
</a>
</nav>
<details class="dropdown">
<summary>Privacy & Donations</summary>
<div class="dropdown-content">
<p><strong>Privacy:</strong> Inner Breeze respects your privacy. The app stores session history locally on your device and does not collect, transmit, or sell any personal data. No analytics, no tracking, no accounts required.</p>
<p><strong>Free & Open Source:</strong> This app is completely free with no ads, in-app purchases, or premium features. Development is supported by voluntary donations.</p>
<nav aria-label="Donation options" class="dropdown-links">
<a href="https://trocador.app/en/anonpay/?ticker_to=xmr&network_to=Mainnet&address=86CbC3d4a2GhT9auh6X99JhmhTMFKVVk8Q9cLrKTHkBu8LLkoNWgkBeAT3YZrvDM6NczYe8brUJNsTiFmwpWDZYnFG5kzSH&donation=True&simple_mode=True&amount=0.1&name=Inner+Breeze&[email protected]&ticker_from=xmr&network_from=Mainnet&buttonbgcolor=445588&textcolor=ffffff&bgcolor=eaeaffff" target="_blank" rel="noopener">Donate via Crypto</a>
</nav>
</div>
</details>
</section>
</main>
<footer>
<p>&copy; 2026 <a href="https://waozi.xyz">Waozi</a> | <a href="/privacy.html">Privacy Policy</a></p>
</footer>
</div>
</body>
</html>
+287
View File
@@ -0,0 +1,287 @@
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8" />
<head>
<title>Inner Breeze Legacy Data Converter</title>
<link href="/style.css" rel="stylesheet" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Convert inbe-legacy JSON exports into the current Inner Breeze import ZIP format.">
<link rel="canonical" href="https://inbe.waozi.xyz/legacy-converter.html">
</head>
<body>
<div class="content">
<main id="main-content">
<section class="tool-section">
<h1>Legacy Data Converter</h1>
<p>Coming from inbe-legacy? Convert the old JSON export into the ZIP file used by the current Inner Breeze import tool.</p>
<p class="safety-note"><em>This runs entirely in your browser. Your file is not uploaded.</em></p>
<div class="converter-panel">
<label for="legacy-file">inbe-legacy JSON export</label>
<input id="legacy-file" type="file" accept=".json,application/json">
<button id="convert-button" type="button">Convert to Inbe ZIP</button>
<p id="converter-status" class="converter-status" role="status">Choose an inbe-legacy JSON export.</p>
</div>
<p><a href="/">Back to downloads</a></p>
</section>
</main>
<footer>
<p>&copy; 2026 <a href="https://waozi.xyz">Waozi</a> | <a href="/privacy.html">Privacy Policy</a></p>
</footer>
</div>
<script>
(function() {
"use strict";
var fileInput = document.getElementById("legacy-file");
var convertButton = document.getElementById("convert-button");
var statusEl = document.getElementById("converter-status");
function setStatus(message, isError) {
statusEl.textContent = message;
statusEl.className = isError ? "converter-status error" : "converter-status";
}
function pad(value, width) {
var text = String(value);
while(text.length < width) text = "0" + text;
return text;
}
function dosDateTime(date) {
var year = date.getFullYear();
if(year < 1980) year = 1980;
return {
time: (date.getHours() << 11) | (date.getMinutes() << 5) | Math.floor(date.getSeconds() / 2),
date: ((year - 1980) << 9) | ((date.getMonth() + 1) << 5) | date.getDate()
};
}
var crcTable = null;
function makeCrcTable() {
var table = [];
for(var n = 0; n < 256; n++) {
var c = n;
for(var k = 0; k < 8; k++) {
c = (c & 1) ? (0xEDB88320 ^ (c >>> 1)) : (c >>> 1);
}
table[n] = c >>> 0;
}
return table;
}
function crc32(bytes) {
if(crcTable === null) crcTable = makeCrcTable();
var crc = 0 ^ -1;
for(var i = 0; i < bytes.length; i++) {
crc = (crc >>> 8) ^ crcTable[(crc ^ bytes[i]) & 0xff];
}
return (crc ^ -1) >>> 0;
}
function writeU16(out, value) {
out.push(value & 255, (value >>> 8) & 255);
}
function writeU32(out, value) {
out.push(value & 255, (value >>> 8) & 255, (value >>> 16) & 255, (value >>> 24) & 255);
}
function appendBytes(out, bytes) {
for(var i = 0; i < bytes.length; i++) out.push(bytes[i]);
}
function makeZip(files) {
var encoder = new TextEncoder();
var out = [];
var central = [];
var now = dosDateTime(new Date());
files.forEach(function(file) {
var nameBytes = encoder.encode(file.name);
var dataBytes = encoder.encode(file.content);
var crc = crc32(dataBytes);
var offset = out.length;
writeU32(out, 0x04034b50);
writeU16(out, 20);
writeU16(out, 0);
writeU16(out, 0);
writeU16(out, now.time);
writeU16(out, now.date);
writeU32(out, crc);
writeU32(out, dataBytes.length);
writeU32(out, dataBytes.length);
writeU16(out, nameBytes.length);
writeU16(out, 0);
appendBytes(out, nameBytes);
appendBytes(out, dataBytes);
writeU32(central, 0x02014b50);
writeU16(central, 20);
writeU16(central, 20);
writeU16(central, 0);
writeU16(central, 0);
writeU16(central, now.time);
writeU16(central, now.date);
writeU32(central, crc);
writeU32(central, dataBytes.length);
writeU32(central, dataBytes.length);
writeU16(central, nameBytes.length);
writeU16(central, 0);
writeU16(central, 0);
writeU16(central, 0);
writeU16(central, 0);
writeU32(central, 0);
writeU32(central, offset);
appendBytes(central, nameBytes);
});
var centralOffset = out.length;
appendBytes(out, central);
writeU32(out, 0x06054b50);
writeU16(out, 0);
writeU16(out, 0);
writeU16(out, files.length);
writeU16(out, files.length);
writeU32(out, central.length);
writeU32(out, centralOffset);
writeU16(out, 0);
return new Blob([new Uint8Array(out)], {type: "application/zip"});
}
function sessionDate(session) {
var id = session && session.id;
var dateTime = session && session.dateTime;
var numeric = Number(id);
var date;
if(Number.isFinite(numeric) && numeric > 0) {
date = new Date(numeric);
} else if(typeof id === "string") {
date = new Date(id);
}
if((!date || Number.isNaN(date.getTime())) && typeof dateTime === "string") {
date = new Date(dateTime);
}
if(!date || Number.isNaN(date.getTime())) {
return null;
}
return date;
}
function roundSeconds(value) {
var number = Number(value);
if(!Number.isFinite(number) || number <= 0) return 0;
if(number > 999) number = Math.round(number / 1000);
else number = Math.round(number);
if(number < 1 || number > 999) return 0;
return number;
}
function convertLegacy(data) {
var sessions = Array.isArray(data) ? data : data.sessions;
var files = [];
var usedPaths = {};
if(!Array.isArray(sessions)) {
throw new Error("No sessions array found in the legacy export.");
}
sessions.forEach(function(session) {
var date = sessionDate(session);
var rounds = session && session.rounds;
var seconds = [];
var path;
if(!date || !rounds || typeof rounds !== "object") return;
Object.keys(rounds).sort(function(a, b) {
return Number(a) - Number(b);
}).forEach(function(key) {
var value = roundSeconds(rounds[key]);
if(value > 0) seconds.push(value);
});
if(seconds.length === 0) return;
path = "lotus-data/sessions/" +
pad(date.getFullYear(), 4) + "/" +
pad(date.getMonth() + 1, 2) + "/" +
pad(date.getDate(), 2) + "/inbe-" +
pad(date.getHours(), 2) +
pad(date.getMinutes(), 2) +
pad(date.getSeconds(), 2);
while(usedPaths[path]) {
date = new Date(date.getTime() + 1000);
path = "lotus-data/sessions/" +
pad(date.getFullYear(), 4) + "/" +
pad(date.getMonth() + 1, 2) + "/" +
pad(date.getDate(), 2) + "/inbe-" +
pad(date.getHours(), 2) +
pad(date.getMinutes(), 2) +
pad(date.getSeconds(), 2);
}
usedPaths[path] = true;
files.push({
name: path,
content: seconds.join("\n") + "\n"
});
});
if(files.length === 0) {
throw new Error("No valid legacy sessions were found.");
}
files.unshift({
name: "lotus-data/metadata.txt",
content: "Inner Breeze Data Export\nVersion: legacy-converter\nDate: " + new Date().toISOString() + "\nSessions: " + files.length + "\n"
});
return {
count: files.length - 1,
blob: makeZip(files)
};
}
function downloadBlob(blob, filename) {
var url = URL.createObjectURL(blob);
var link = document.createElement("a");
link.href = url;
link.download = filename;
document.body.appendChild(link);
link.click();
document.body.removeChild(link);
setTimeout(function() {
URL.revokeObjectURL(url);
}, 1000);
}
convertButton.addEventListener("click", function() {
var file = fileInput.files && fileInput.files[0];
if(!file) {
setStatus("Choose a legacy JSON export first.", true);
return;
}
file.text().then(function(text) {
var data = JSON.parse(text);
var result = convertLegacy(data);
downloadBlob(result.blob, "inbe-legacy-converted.zip");
setStatus("Converted " + result.count + " sessions. Import the downloaded ZIP in Inner Breeze.", false);
}).catch(function(error) {
setStatus(error.message || "Conversion failed.", true);
});
});
})();
</script>
</body>
</html>
+22
View File
@@ -0,0 +1,22 @@
{
"name": "Inner Breeze",
"short_name": "Inner Breeze",
"description": "Guided breathing meditation based on the Wim Hof method.",
"start_url": "/build/web/index.html",
"scope": "/",
"display": "standalone",
"background_color": "#1a1a2e",
"theme_color": "#779999",
"icons": [
{
"src": "/web-assets/icons/icon-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/web-assets/icons/icon-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
]
}
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 KiB

+63
View File
@@ -0,0 +1,63 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Privacy Policy - Inner Breeze</title>
<style>
body {
font-family: system-ui, -apple-system, sans-serif;
max-width: 700px;
margin: 40px auto;
padding: 20px;
line-height: 1.6;
color: #333;
}
h1 { color: #2563eb; }
h2 { color: #1e40af; margin-top: 30px; }
ul { margin: 10px 0; }
li { margin: 5px 0; }
</style>
</head>
<body>
<h1>Privacy Policy</h1>
<p>Last updated: May 26, 2026</p>
<h2>Inner Breeze</h2>
<p>Inner Breeze is a free, open-source guided breathing meditation app based on the Wim Hof method.</p>
<h2>Data Collection</h2>
<p><strong>Inner Breeze does NOT collect, store, or transmit any personal data.</strong></p>
<ul>
<li>No user accounts or authentication</li>
<li>No personal information collection</li>
<li>No analytics or tracking</li>
<li>No network requests or data transmission</li>
<li>No third-party services</li>
</ul>
<h2>Local Data Storage</h2>
<p>The app stores session history locally on your device:</p>
<ul>
<li>Breathing session timing data (duration of each breath round)</li>
<li>Unlimited session history</li>
<li>Data remains on your device only</li>
<li>Clear app data to delete all stored sessions</li>
</ul>
<h2>Data Deletion</h2>
<p>To delete your session data: Clear the app's data through your device's settings.</p>
<h2>Permissions</h2>
<p>Inner Breeze requires no special permissions on Android or other platforms.</p>
<h2>Children's Privacy</h2>
<p>Inner Breeze is suitable for all ages. Since no personal data is collected, it is COPPA compliant.</p>
<h2>Contact</h2>
<p>Questions: <a href="mailto:[email protected]">[email protected]</a></p>
<h2>Open Source</h2>
<p>Source code available at: <a href="https://git.sr.ht/~waozi/inbe">https://git.sr.ht/~waozi/inbe</a> and <a href="https://github.com/waozixyz/inbe">https://github.com/waozixyz/inbe</a></p>
</body>
</html>
Executable
+127
View File
@@ -0,0 +1,127 @@
#!/usr/bin/env bash
# Publish inbe site to inbe.waozi.xyz
set -e
SITE_DIR="$(cd "$(dirname "$0")" && pwd)"
cd "$SITE_DIR"
# Check if hut is installed
if ! command -v hut &> /dev/null; then
echo "Error: 'hut' command not found"
echo "Install it with: nix-shell -p hut"
exit 1
fi
echo "Publishing inbe.waozi.xyz..."
TMPDIR=$(mktemp -d -p /tmp)
cleanup() {
rm -rf "$TMPDIR"
if [ "${PACKAGE_ONLY:-0}" != "1" ]; then
rm -f "$SITE_DIR/inbe.tar.gz"
fi
}
trap cleanup EXIT
# Base site files. Keep this as an allowlist so source/build inputs never leak
# into the published archive.
for site_file in \
index.html \
builds.html \
privacy.html \
legacy-converter.html \
style.css \
og.png \
og.jpg \
sitemap.xml \
robots.txt \
manifest.json; do
[ -f "$site_file" ] && cp "$site_file" "$TMPDIR/"
done
[ -d "web-assets" ] && rsync -a web-assets/ "$TMPDIR/web-assets/"
mkdir -p "$TMPDIR/uxn/devices"
[ -f "uxn/index.html" ] && cp uxn/index.html "$TMPDIR/uxn/"
[ -f "uxn/inbe.rom" ] && cp uxn/inbe.rom "$TMPDIR/uxn/"
if [ -d "uxn/devices" ]; then
rsync -av --exclude='*.sym' uxn/devices/*.js "$TMPDIR/uxn/devices/" 2>/dev/null || true
fi
# Raylib builds (primary implementation)
mkdir -p "$TMPDIR/build/linux" "$TMPDIR/build/windows" "$TMPDIR/build/android"
if [ -d "build/web" ]; then
mkdir -p "$TMPDIR/build/web"
for raylib_web_artifact in build/web/index.html build/web/index.js build/web/index.wasm build/web/index.data; do
[ -f "$raylib_web_artifact" ] && cp "$raylib_web_artifact" "$TMPDIR/build/web/"
done
fi
if [ -d "build/bin/linux" ] || [ -d "build/dist/linux" ]; then
for raylib_linux_artifact in build/bin/linux/inbe-linux-* build/dist/linux/inbe-linux.tar.gz; do
[ -f "$raylib_linux_artifact" ] && cp "$raylib_linux_artifact" "$TMPDIR/build/linux/"
done
fi
if [ -d "build/bin/windows" ] || [ -d "build/dist/windows" ]; then
for raylib_windows_artifact in build/bin/windows/inbe-windows-*.exe build/dist/windows/inbe-windows.zip; do
[ -f "$raylib_windows_artifact" ] && cp "$raylib_windows_artifact" "$TMPDIR/build/windows/"
done
fi
if [ -d "build/android" ]; then
for raylib_android_artifact in build/android/inbe-*.apk build/android/inbe-latest.apk build/android/app-universal-release.apk; do
[ -f "$raylib_android_artifact" ] && cp "$raylib_android_artifact" "$TMPDIR/build/android/"
done
fi
mkdir -p "$TMPDIR/wasm4/build"
[ -f "wasm4/build/index.html" ] && cp wasm4/build/index.html "$TMPDIR/wasm4/build/"
[ -f "wasm4/build/inbe.wasm" ] && cp wasm4/build/inbe.wasm "$TMPDIR/wasm4/build/"
for wasm4_artifact in wasm4/build/inbe-x86_64 wasm4/build/inbe-x86_64.exe wasm4/build/inbe-windows.zip wasm4/build/inbe-linux.tar.gz; do
[ -f "$wasm4_artifact" ] && cp "$wasm4_artifact" "$TMPDIR/wasm4/build/"
done
[ -f "wasm4/README.md" ] && cp wasm4/README.md "$TMPDIR/wasm4/"
mkdir -p "$TMPDIR/linux/build"
if [ -d "linux/build" ]; then
for linux_bin in linux/build/inbe-* linux/build/inbefb-* linux/build/inbe-linux.tar.gz; do
[ -f "$linux_bin" ] && cp "$linux_bin" "$TMPDIR/linux/build/"
done
fi
mkdir -p "$TMPDIR/love2d"
[ -f "love2d/inbe.html" ] && cp love2d/inbe.* "$TMPDIR/love2d/"
[ -d "love2d/build/inbe" ] && mkdir -p "$TMPDIR/love2d/build" && rsync -av --exclude='*.o' --exclude='*.d' --exclude='.npm' --exclude='.local' --exclude='.codex' love2d/build/inbe/ "$TMPDIR/love2d/build/inbe/"
mkdir -p "$TMPDIR/tcl"
[ -f "tcl/inbe.tcl" ] && cp tcl/inbe.tcl "$TMPDIR/tcl/"
# Compatibility copy for older Android links.
mkdir -p "$TMPDIR/droid"
[ -f "build/android/app-universal-release.apk" ] && cp build/android/app-universal-release.apk "$TMPDIR/droid/app-release.apk"
[ -f "build/android/inbe-latest.apk" ] && cp build/android/inbe-latest.apk "$TMPDIR/droid/app-release.apk"
if [ -f "$TMPDIR/index.html" ]; then
sed -e 's|/inbe/droid/app/build/outputs/apk/release/app-release.apk|/build/android/app-universal-release.apk|g' \
-e 's|/inbe/|/|g' \
"$TMPDIR/index.html" > "$TMPDIR/index_.html" && mv "$TMPDIR/index_.html" "$TMPDIR/index.html"
fi
# Create tarball directly in SITE_DIR
echo "Creating inbe.tar.gz..."
tar -czf "$SITE_DIR/inbe.tar.gz" -C "$TMPDIR" .
if [ ! -f "$SITE_DIR/inbe.tar.gz" ]; then
echo "Error: inbe.tar.gz was not created!"
rm -rf "$TMPDIR"
exit 1
fi
if [ "${PACKAGE_ONLY:-0}" = "1" ]; then
echo "✓ Package created at $SITE_DIR/inbe.tar.gz"
exit 0
fi
hut pages publish -d inbe.waozi.xyz "$SITE_DIR/inbe.tar.gz"
echo "✓ Published to https://inbe.waozi.xyz"
echo "✓ Done"
+4
View File
@@ -0,0 +1,4 @@
User-agent: *
Allow: /
Sitemap: https://inbe.waozi.xyz/sitemap.xml
+18
View File
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://inbe.waozi.xyz/</loc>
<lastmod>2026-05-29</lastmod>
<priority>1.0</priority>
</url>
<url>
<loc>https://inbe.waozi.xyz/builds.html</loc>
<lastmod>2026-05-29</lastmod>
<priority>0.8</priority>
</url>
<url>
<loc>https://inbe.waozi.xyz/privacy.html</loc>
<lastmod>2026-05-26</lastmod>
<priority>0.3</priority>
</url>
</urlset>
+34 -103
View File
@@ -844,9 +844,6 @@ parse_session_path(const char *zip_path, int *year, int *month, int *day, char *
if(strncmp(p, "inbe-", 5) != 0)
return 0;
if(strchr(p, '/') != NULL || strchr(p, '\\') != NULL)
return 0;
// Copy filename
if(strlen(p) >= FS_PATH_MAX - 1)
return 0;
@@ -861,14 +858,14 @@ parse_session_path(const char *zip_path, int *year, int *month, int *day, char *
}
static int
parse_session_content(const char *content, int *round_times, int max_rounds, int *round_count)
validate_session_content(const char *content, int *round_count)
{
char *dup;
char *line;
int count = 0;
int valid = 1;
if(content == NULL || round_times == NULL || round_count == NULL || max_rounds <= 0)
if(content == NULL || round_count == NULL)
return 0;
dup = strdup(content);
@@ -883,8 +880,8 @@ parse_session_content(const char *content, int *round_times, int max_rounds, int
if(*line != '\0') {
int seconds = atoi(line);
if(seconds > 0 && seconds <= 999 && count < max_rounds) {
round_times[count++] = seconds;
if(seconds > 0 && seconds <= 999) {
count++;
} else {
valid = 0;
break;
@@ -905,66 +902,33 @@ parse_session_content(const char *content, int *round_times, int max_rounds, int
}
static int
write_session_content_atomic(const char *path, const int *round_times, int round_count)
import_session_file(const char *zip_path, const char *local_path, mz_zip_archive *archive)
{
char temp_path[FS_PATH_MAX];
char text[MaxRounds * 8];
int offset = 0;
char *content = NULL;
size_t size;
FILE *fp;
int round_count;
if(path == NULL || path[0] == '\0' || round_times == NULL || round_count <= 0 || round_count > MaxRounds)
if(zip_path == NULL || local_path == NULL || archive == NULL)
return 0;
snprintf(temp_path, sizeof(temp_path), "%s.importing", path);
for(int i = 0; i < round_count; i++) {
if(round_times[i] <= 0)
continue;
if(offset >= (int)sizeof(text) - 8)
break;
offset += snprintf(text + offset, sizeof(text) - (size_t)offset,
"%d\n", round_times[i]);
}
if(offset <= 0)
return 0;
fp = fopen(temp_path, "w");
if(fp == NULL) {
TraceLog(LOG_ERROR, "DATA: failed to open temp import file: %s", temp_path);
// Extract file from ZIP
size = 0;
content = (char *)mz_zip_reader_extract_file_to_heap(archive, zip_path, &size, 0);
if(content == NULL || size == 0) {
TraceLog(LOG_WARNING, "DATA: failed to extract file from ZIP: %s", zip_path);
return 0;
}
if(fwrite(text, 1, (size_t)offset, fp) != (size_t)offset) {
TraceLog(LOG_ERROR, "DATA: failed to write temp import file: %s", temp_path);
fclose(fp);
remove(temp_path);
// Validate session content
if(!validate_session_content(content, &round_count)) {
TraceLog(LOG_WARNING, "DATA: invalid session content: %s", zip_path);
free(content);
return 0;
}
if(fclose(fp) != 0) {
TraceLog(LOG_ERROR, "DATA: failed to close temp import file: %s", temp_path);
remove(temp_path);
return 0;
}
if(rename(temp_path, path) != 0) {
TraceLog(LOG_ERROR, "DATA: failed to move temp import file to %s", path);
remove(temp_path);
return 0;
}
return 1;
}
static int
ensure_session_parent_dir(const char *local_path)
{
// Create directory structure if needed
char dir_path[FS_PATH_MAX];
if(local_path == NULL || local_path[0] == '\0')
return 0;
strncpy(dir_path, local_path, sizeof(dir_path) - 1);
dir_path[sizeof(dir_path) - 1] = '\0';
@@ -973,63 +937,30 @@ ensure_session_parent_dir(const char *local_path)
*last_slash = '\0';
if(!ensure_dir(dir_path)) {
TraceLog(LOG_ERROR, "DATA: failed to create directory: %s", dir_path);
free(content);
return 0;
}
}
return 1;
}
static int
import_session_file(const char *zip_path, const char *local_path, mz_zip_archive *archive)
{
char *content = NULL;
char *import_text = NULL;
size_t size;
int imported_rounds[MaxRounds];
int imported_count = 0;
if(zip_path == NULL || local_path == NULL || archive == NULL)
return 0;
size = 0;
content = (char *)mz_zip_reader_extract_file_to_heap(archive, zip_path, &size, 0);
if(content == NULL || size == 0) {
TraceLog(LOG_WARNING, "DATA: failed to extract file from ZIP: %s", zip_path);
return 0;
}
import_text = malloc(size + 1);
if(import_text == NULL) {
// Write session file
fp = fopen(local_path, "w");
if(fp == NULL) {
TraceLog(LOG_ERROR, "DATA: failed to open file for writing: %s", local_path);
free(content);
return 0;
}
memcpy(import_text, content, size);
import_text[size] = '\0';
if(fwrite(content, 1, size, fp) != size) {
TraceLog(LOG_ERROR, "DATA: failed to write session file: %s", local_path);
fclose(fp);
free(content);
return 0;
}
fclose(fp);
free(content);
if(!parse_session_content(import_text, imported_rounds, MaxRounds, &imported_count)) {
TraceLog(LOG_WARNING, "DATA: invalid session content: %s", zip_path);
free(import_text);
return 0;
}
if(!ensure_session_parent_dir(local_path)) {
free(import_text);
return 0;
}
if(FileExists(local_path))
TraceLog(LOG_INFO, "DATA: replacing existing imported session: %s", local_path);
if(!write_session_content_atomic(local_path, imported_rounds, imported_count)) {
free(import_text);
return 0;
}
free(import_text);
TraceLog(LOG_INFO, "DATA: imported session: %s (%d rounds)", local_path, imported_count);
TraceLog(LOG_INFO, "DATA: imported session: %s (%d rounds)", local_path, round_count);
return 1;
}
+1 -14
View File
@@ -1,7 +1,6 @@
#include "raylib.h"
#include "app.h"
#include "flint_dpi.h"
#include "flint_web.h"
#include <stdarg.h>
#include <stddef.h>
#include <stdio.h>
@@ -184,10 +183,6 @@ android_clamp_content_size(int size, int leading_inset, int trailing_inset)
static void
frame(void)
{
#if defined(PLATFORM_WEB)
flint_web_sync_window_size();
#endif
int width = GetScreenWidth();
int height = GetScreenHeight();
#if !defined(PLATFORM_WEB)
@@ -248,19 +243,11 @@ int main(int argc, char **argv) {
int window_w = INBE_ANDROID_BUILD ? 0 : config.width;
int window_h = INBE_ANDROID_BUILD ? 0 : config.height;
#if defined(PLATFORM_WEB)
flint_web_viewport_size(config.width, config.height, &window_w, &window_h);
config.width = window_w;
config.height = window_h;
#endif
#if INBE_ANDROID_BUILD
__android_log_write(ANDROID_LOG_INFO, "INBE_MAIN", "=== MAIN START ===");
#endif
#if defined(PLATFORM_WEB)
SetConfigFlags(flint_web_window_flags());
#elif !defined(PLATFORM_ANDROID) && !defined(__ANDROID__) && !defined(ANDROID)
#if !defined(PLATFORM_ANDROID) && !defined(__ANDROID__) && !defined(ANDROID) && !defined(PLATFORM_WEB)
SetConfigFlags(FLAG_WINDOW_RESIZABLE);
#endif
+1 -1
View File
@@ -960,7 +960,7 @@ settings_tab_draw(InbeApp *app)
Texture2D icons[4] = {app->discord_icon, app->telegram_icon, app->btc_icon, app->monero_icon};
UIIconType icon_types[4] = {UI_ICON_TYPE_NONE, UI_ICON_TYPE_TELEGRAM, UI_ICON_TYPE_BTC, UI_ICON_TYPE_MONERO};
const char *urls[4] = {
"https://discord.com/invite/JbGZ4yENDt",
"https://discord.gg/JbGZ4yENDt",
"https://t.me/lotusinbe",
"https://trocador.app/en/anonpay/?ticker_to=btc&network_to=Mainnet&address=bc1qxzcetg50f6epgddc09n82xqn3zswlmk44235y5&donation=True&simple_mode=True&amount=0.001&name=Inner+Breeze&[email protected]&ticker_from=btc&network_from=Mainnet&buttonbgcolor=445588&textcolor=ffffff&bgcolor=eaeaffff",
"https://trocador.app/en/anonpay/?ticker_to=xmr&network_to=Mainnet&address=86CbC3d4a2GhT9auh6X99JhmhTMFKVVk8Q9cLrKTHkBu8LLkoNWgkBeAT3YZrvDM6NczYe8brUJNsTiFmwpWDZYnFG5kzSH&donation=True&simple_mode=True&amount=0.1&name=Inner+Breeze&[email protected]&ticker_from=xmr&network_from=Mainnet&buttonbgcolor=445588&textcolor=ffffff&bgcolor=eaeaffff"
+2 -2
View File
@@ -3,7 +3,7 @@
#define INBE_VERSION_MAJOR 1
#define INBE_VERSION_MINOR 2
#define INBE_VERSION_PATCH 6
#define INBE_VERSION_STRING "1.2.6"
#define INBE_VERSION_PATCH 5
#define INBE_VERSION_STRING "1.2.5"
#endif
+6 -8
View File
@@ -25,7 +25,6 @@
html, body {
height: 100%;
margin: 0;
overflow: hidden;
}
#status,
@@ -35,8 +34,7 @@
.canvas-stage {
width: 100%;
height: 100vh;
height: 100dvh;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
@@ -47,9 +45,8 @@
}
.canvas-frame {
width: 100vw;
height: 100vh;
height: 100dvh;
width: min(100vw, calc(100vh * 4 / 7));
aspect-ratio: 4 / 7;
position: relative;
}
@@ -66,8 +63,9 @@
.canvas-frame:fullscreen,
.canvas-frame:-webkit-full-screen {
width: 100vw;
height: 100vh;
width: min(100vw, calc(100vh * 4 / 7));
height: min(100vh, calc(100vw * 7 / 4));
margin: auto;
}
</style>
</head>
+612
View File
@@ -0,0 +1,612 @@
@font-face {
font-family: departure;
src: url('/web-assets/fonts/DepartureMono-Regular.otf');
font-display: swap;
}
:root {
--page-bg: #000000;
--page-tile: url('/web-assets/icons/tile2.png');
--page-tile-opacity: 0.32;
--panel-bg: #E2EEFC;
--dark: #24487C;
--shadow: #000000;
--light: #ffffff;
--button-bg: #A6CFF2;
--button-highlight: #ffffff;
--button-inset: #ffffff;
--link: #4A90E2;
--link-hover: #689ED7;
}
html, body {
margin: 0;
padding: 0;
}
body {
background-color: var(--page-bg);
height: 100%;
width: 100%;
position: relative;
cursor: url('/web-assets/cursors/arrow.png') 0 0, auto;
}
body::before {
content: "";
position: fixed;
inset: 0;
z-index: 0;
background-image: var(--page-tile);
background-repeat: repeat;
background-size: 128px 128px;
image-rendering: pixelated;
opacity: var(--page-tile-opacity);
pointer-events: none;
}
.content {
position: relative;
z-index: 1;
line-height: calc(1ex / 0.32);
margin: 16px auto;
padding: 16px 32px;
font-family: departure;
font-size: 16px;
background-color: var(--panel-bg);
max-width: 1028px;
box-sizing: border-box;
border: 2px solid var(--dark);
box-shadow:
inset 2px 2px 0 0 var(--dark),
2px 2px 0 0 var(--light);
}
.hero {
text-align: center;
}
.hero img {
margin: 0 auto;
}
section {
margin-bottom: 80px;
}
h1, h2, h3 {
color: var(--dark);
}
h1 {
margin-top: 0;
}
img {
display: block;
max-width: 100%;
height: auto;
image-rendering: pixelated;
}
.hero .tk-img {
margin-bottom: 24px;
}
.version {
font-size: 14px;
font-weight: bold;
color: var(--dark);
margin: 8px 0 16px 0;
opacity: 0.7;
font-family: departure;
}
.tk-img {
border: 2px solid var(--dark);
border-right-color: var(--button-highlight);
border-bottom-color: var(--button-highlight);
box-shadow:
inset 1px 1px 0 0 var(--shadow),
1px 1px 0 0 var(--button-highlight);
}
a {
font-family: departure;
color: var(--link);
text-decoration: none;
cursor: url('/web-assets/cursors/sight.png') 0 0, pointer;
}
a:hover {
color: var(--link-hover);
}
button {
display: inline-block;
color: #000000;
font-family: departure;
font-size: 14px;
padding: 6px 12px;
cursor: url('/web-assets/cursors/sight.png') 0 0, pointer;
outline: none;
background-color: var(--button-bg);
border: 2px solid var(--button-highlight);
border-right-color: var(--dark);
border-bottom-color: var(--dark);
box-shadow:
1px 1px 0 0 var(--shadow),
inset 1px 1px 0 0 var(--button-inset);
}
button:active {
border-color: var(--dark);
border-right-color: var(--button-highlight);
border-bottom-color: var(--button-highlight);
box-shadow:
1px 1px 0 0 var(--button-highlight),
inset 1px 1px 0 0 var(--shadow);
}
input[type="text"] {
background-color: #ffffff;
color: #000000;
font-family: departure;
font-size: 14px;
padding: 6px 8px;
outline: none;
border: 2px solid var(--dark);
border-right-color: var(--button-highlight);
border-bottom-color: var(--button-highlight);
box-shadow:
inset 1px 1px 0 0 var(--shadow),
1px 1px 0 0 var(--button-highlight);
cursor: url('/web-assets/cursors/reading.png') 8 8, text;
}
input[type="file"] {
display: block;
margin: 8px 0 16px 0;
font-family: departure;
font-size: 14px;
}
.converter-panel {
margin: 24px 0;
padding: 16px;
background-color: #d7e8fa;
border: 2px solid var(--dark);
box-shadow:
inset 1px 1px 0 0 var(--light),
1px 1px 0 0 var(--button-highlight);
}
.converter-panel label {
display: block;
font-weight: bold;
color: var(--dark);
}
.converter-status {
margin: 16px 0 0 0;
font-size: 14px;
}
.converter-status.error {
color: #9b1c1c;
}
.platform-buttons {
display: flex;
flex-wrap: wrap;
gap: 16px;
justify-content: center;
margin: 24px 0;
}
.platform-btn {
display: flex;
flex-direction: column;
align-items: center;
gap: 8px;
padding: 16px 12px;
background-color: var(--button-bg);
border: 2px solid var(--button-highlight);
border-right-color: var(--dark);
border-bottom-color: var(--dark);
box-shadow:
1px 1px 0 0 var(--shadow),
inset 1px 1px 0 0 var(--button-inset);
text-decoration: none;
color: var(--dark);
border-radius: 8px;
transition: transform 0.1s, box-shadow 0.1s;
width: 110px;
cursor: url('/web-assets/cursors/sight.png') 0 0, pointer;
}
.platform-btn img {
width: 32px;
height: 32px;
}
.platform-btn span {
font-family: departure;
font-size: 14px;
font-weight: bold;
}
.platform-btn:active {
border-color: var(--dark);
border-right-color: var(--button-highlight);
border-bottom-color: var(--button-highlight);
box-shadow:
1px 1px 0 0 var(--button-highlight),
inset 1px 1px 0 0 var(--shadow);
transform: translate(1px, 1px);
}
.platform-btn.web:hover {
background-color: #ddeeff;
}
.platform-btn.android:hover {
background-color: #ddffdd;
}
.platform-btn.windows:hover {
background-color: #ffdddd;
}
.platform-btn.linux:hover {
background-color: #ffffdd;
}
.platform-section {
margin-bottom: 32px;
}
.platform-header {
display: flex;
align-items: flex-start;
gap: 12px;
margin-bottom: 16px;
}
.platform-header img {
flex: 0 0 48px;
width: 48px;
height: 48px;
}
.platform-header p {
margin: 4px 0 0 0;
font-size: 13px;
}
.platform-header strong {
display: block;
}
.downloads-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
gap: 8px;
}
.download-item {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 8px 12px;
background-color: var(--button-bg);
border: 2px solid var(--button-highlight);
border-right-color: var(--dark);
border-bottom-color: var(--dark);
box-shadow:
1px 1px 0 0 var(--shadow),
inset 1px 1px 0 0 var(--button-inset);
text-decoration: none;
color: var(--dark);
border-radius: 8px;
transition: transform 0.1s, box-shadow 0.1s;
text-align: center;
font-size: 13px;
min-height: 40px;
cursor: url('/web-assets/cursors/sight.png') 0 0, pointer;
}
.download-item:active {
border-color: var(--dark);
border-right-color: var(--button-highlight);
border-bottom-color: var(--button-highlight);
box-shadow:
1px 1px 0 0 var(--button-highlight),
inset 1px 1px 0 0 var(--shadow);
transform: translate(1px, 1px);
}
.download-item:hover {
background-color: var(--button-highlight);
}
details {
text-align: center;
}
.donation-buttons {
display: flex;
justify-content: space-around;
}
footer {
text-align: center;
font-size: 14px;
}
/* Uxn emulator styles */
#display {
image-rendering: pixelated;
image-rendering: crisp-edges;
touch-action: none;
display: block;
margin: 0 auto;
cursor: none;
}
#metadata {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-around;
align-content: start;
}
#metadata ul {
margin-left: 25px;
padding: 0;
float: left;
line-height: 24px;
margin-bottom: 45px;
}
#metadata ul li {
list-style-type: none;
}
#metadata button {
display: inline-block;
border: 0;
font-size: 12px;
border-radius: 30px;
padding: 2px 10px;
line-height: 20px;
margin-bottom: 1px;
vertical-align: center;
}
#metadata kbd {
border: 0;
font-size: 11px;
font-weight: bold;
padding: 2px 2px;
border-radius: 30px;
}
#console {
position: relative;
}
#console > * {
border: 0;
font-family: mono;
font-size: 12px;
line-height: 20px;
margin: 0;
padding: 0;
width: 100%;
}
div.noscript {
display: block;
padding: 15px;
margin: 30px auto;
max-width: 400px;
}
div.noscript img {
float: left;
margin-right: 15px;
}
div.noscript a {
text-decoration: underline;
font-weight: bold;
}
/* Features section styling - retro tk look */
.features-section {
margin: 32px 0;
}
.features-section h2 {
margin-bottom: 16px;
color: var(--dark);
font-size: 16px;
}
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 12px;
}
.feature-item {
padding: 12px;
background-color: var(--panel-bg);
border: 2px solid var(--button-highlight);
border-right-color: var(--dark);
border-bottom-color: var(--dark);
box-shadow:
1px 1px 0 0 var(--shadow),
inset 1px 1px 0 0 var(--button-inset);
font-family: departure;
}
.feature-item h3 {
margin: 0 0 8px 0;
font-size: 14px;
color: var(--dark);
font-weight: bold;
}
.feature-item p {
margin: 0;
font-size: 13px;
line-height: 1.3;
color: var(--dark);
}
/* About section - retro tk look */
.about-section {
margin: 32px 0;
}
.about-section h2 {
margin-bottom: 12px;
color: var(--dark);
font-size: 16px;
}
.about-section p {
margin: 12px 0;
line-height: 1.3;
}
.benefits-list {
padding-left: 20px;
margin: 12px 0;
}
.benefits-list li {
margin-bottom: 6px;
line-height: 1.3;
font-size: 14px;
}
.safety-note {
font-size: 12px;
opacity: 0.7;
margin-top: 12px;
font-style: italic;
}
/* Info section with dropdowns - retro tk look */
.info-section {
margin: 32px 0;
}
.dropdown {
margin-bottom: 12px;
}
.dropdown summary {
cursor: url('/web-assets/cursors/sight.png') 0 0, pointer;
font-weight: bold;
padding: 8px 12px;
background-color: var(--button-bg);
border: 2px solid var(--button-highlight);
border-right-color: var(--dark);
border-bottom-color: var(--dark);
box-shadow:
1px 1px 0 0 var(--shadow),
inset 1px 1px 0 0 var(--button-inset);
font-family: departure;
}
.dropdown[open] summary {
border-color: var(--dark);
border-right-color: var(--button-highlight);
border-bottom-color: var(--button-highlight);
box-shadow:
1px 1px 0 0 var(--button-highlight),
inset 1px 1px 0 0 var(--shadow);
}
.dropdown-content {
padding: 12px;
background-color: var(--panel-bg);
border: 2px solid var(--dark);
border-right-color: var(--button-highlight);
border-bottom-color: var(--button-highlight);
margin-top: 8px;
box-shadow:
1px 1px 0 0 var(--shadow),
inset 1px 1px 0 0 var(--button-inset);
}
.dropdown-content p {
margin-bottom: 12px;
font-size: 13px;
line-height: 1.3;
}
.dropdown-links {
display: flex;
flex-direction: column;
gap: 8px;
margin-top: 12px;
}
.dropdown-links a {
color: var(--link);
text-decoration: none;
padding: 6px 12px;
background-color: var(--button-bg);
border: 1px solid var(--dark);
font-family: departure;
font-size: 13px;
cursor: url('/web-assets/cursors/sight.png') 0 0, pointer;
}
.dropdown-links a:hover {
background-color: var(--button-highlight);
}
section h2 {
margin-top: 32px;
margin-bottom: 16px;
color: var(--dark);
font-size: 18px;
}
section ul {
padding-left: 20px;
}
section ul li {
margin-bottom: 8px;
line-height: 1.4;
}
/* Improved responsive design */
@media (max-width: 768px) {
.content {
padding: 12px 16px;
margin: 8px auto;
}
.platform-buttons {
gap: 12px;
}
.platform-btn {
width: 100px;
padding: 12px 8px;
}
.features-list li {
padding: 10px 12px;
}
}
+21
View File
@@ -66,6 +66,27 @@ else
echo "Warning: $WINDOWS_RC_FILE not found"
fi
update_website_version_in_file() {
local file="$1"
sed -i "s|VERSION_PLACEHOLDER|$LATEST_VERSION|g" "$file"
sed -i -E "s|(<p[[:space:]]+class=\"version\">)[^<]*(</p>)|\\1$LATEST_VERSION\\2|g" "$file"
}
if [ -f "index.html" ]; then
update_website_version_in_file index.html
echo "✓ Updated index.html"
else
echo "Warning: index.html not found"
fi
if [ -f "builds.html" ]; then
update_website_version_in_file builds.html
echo "✓ Updated builds.html"
else
echo "builds.html not found, skipping"
fi
# Create changelog directory
mkdir -p "$CHANGELOG_DIR"
+1 -1
+4 -4
View File
@@ -3,8 +3,8 @@
IDI_APP_ICON ICON "inbe.ico"
VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,2,6,0
PRODUCTVERSION 1,2,6,0
FILEVERSION 1,2,5,0
PRODUCTVERSION 1,2,5,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
@@ -21,11 +21,11 @@ BEGIN
BEGIN
VALUE "CompanyName", "waozi"
VALUE "FileDescription", "Inner Breeze"
VALUE "FileVersion", "1.2.6"
VALUE "FileVersion", "1.2.5"
VALUE "InternalName", "inbe"
VALUE "OriginalFilename", "inbe-windows-x86_64.exe"
VALUE "ProductName", "Inner Breeze"
VALUE "ProductVersion", "1.2.6"
VALUE "ProductVersion", "1.2.5"
END
END
BLOCK "VarFileInfo"