add banner image for inbe

This commit is contained in:
waozi committed 2026-05-22 10:40:47 -03:00
1 parent dec0a05dd0
commit b9ee0287f5
11 files changed
+220 -24

No files matched your search

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

+51
View File
@@ -0,0 +1,51 @@
.PHONY: help init-signing release debug install install-debug clean uninstall
GRADLEW := ./gradlew
help:
@echo "Targets:"
@echo " make init-signing - Generate signing keystore (one-time setup)"
@echo " make release - Build release APK"
@echo " make debug - Build debug APK"
@echo " make install - Install release APK to connected device"
@echo " make install-debug - Install debug APK to connected device"
@echo " make clean - Clean build outputs"
@echo " make uninstall - Uninstall app from connected device"
init-signing:
@echo "Generating release keystore..."
@mkdir -p ~/.android
keytool -genkeypair -v -storetype PKCS12 \
-keystore ~/.android/inbe-release.keystore \
-alias inbe-key \
-keyalg RSA \
-keysize 4096 \
-validity 10000
@echo ""
@echo "Keystore created at ~/.android/inbe-release.keystore"
@echo ""
@echo "Add this line to local.properties:"
@echo " keystore.path=$$HOME/.android/inbe-release.keystore"
release:
@if [ -n "$(PASSWORD)" ]; then \
$(GRADLEW) assembleRelease -Pkeystore.password=$(PASSWORD); \
else \
echo "Usage: make release PASSWORD=your-password"; \
exit 1; \
fi
debug:
$(GRADLEW) assembleDebug
install: release
adb install -r app/build/outputs/apk/release/app-release.apk
install-debug: debug
adb install -r app/build/outputs/apk/debug/app-debug.apk
clean:
$(GRADLEW) clean
uninstall:
adb uninstall xyz.waozi.inbe
+40 -2
View File
@@ -5,14 +5,52 @@ plugins {
android {
namespace 'xyz.waozi.inbe'
compileSdk 34
def keystorePropsFile = rootProject.file("local.properties")
def keystoreProps = new Properties()
if (keystorePropsFile.exists()) {
keystoreProps.load(new FileInputStream(keystorePropsFile))
}
def getKeystorePath = { -> keystoreProps['keystore.path'] }
def getPassword = { ->
def password = project.findProperty('keystore.password')
if (password != null) return password
def console = System.console()
if (console != null) {
return new String(console.readPassword("\n> Enter keystore password: "))
}
throw new GradleException("No console available. Use: make release PASSWORD=your-password")
}
signingConfigs {
release {
storeFile file(getKeystorePath())
storePassword getPassword()
keyAlias "inbe-key"
keyPassword getPassword()
}
}
defaultConfig {
minSdk 19
targetSdk 34
versionCode 1
versionName "1.0"
}
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled false
}
debug {
signingConfig signingConfigs.debug
}
}
externalNativeBuild {
cmake {
path "src/main/cpp/CMakeLists.txt"
+23
View File
@@ -0,0 +1,23 @@
# Icon sizes for Inner Breeze
# Run 'make' to regenerate from ../assets/inbe.png
SOURCE_PNG := ../assets/inbe.png
.PHONY: all clean
all: favicon-32x32.png apple-touch-icon.png icon-192x192.png icon-512x512.png
favicon-32x32.png: $(SOURCE_PNG)
magick $(SOURCE_PNG) -resize 32x32 $@
apple-touch-icon.png: $(SOURCE_PNG)
magick $(SOURCE_PNG) -resize 180x180 $@
icon-192x192.png: $(SOURCE_PNG)
magick $(SOURCE_PNG) -resize 192x192 $@
icon-512x512.png: $(SOURCE_PNG)
magick $(SOURCE_PNG) -resize 512x512 $@
clean:
rm -f favicon-32x32.png apple-touch-icon.png icon-192x192.png icon-512x512.png
Binary file not shown.

After

Width:  |  Height:  |  Size: 983 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 636 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 839 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

+65
View File
@@ -54,3 +54,68 @@ h1, h2, h3 {
.implementation-legend code {
white-space: nowrap;
}
.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 24px;
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;
min-width: 100px;
}
.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;
}
+41 -22
View File
@@ -2,24 +2,29 @@
<html lang="en">
<meta charset="utf-8" />
<head>
<title>Inner Breeze</title>
<title>Inner Breeze - Guided Breathing Meditation</title>
<link href="/style.css" rel="stylesheet" />
<link href="inbe.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. Available for web, Android, Windows, and Linux.">
<meta property="og:type" content="website">
<meta property="og:url" content="https://waozi.xyz/">
<meta property="og:title" content="Waozi - Personal Portfolio">
<meta property="og:description" content="Inner Breeze - Guided breathing meditation based on the Wim Hof method">
<meta property="og:image" content="https://waozi.xyz/og.png">
<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. Available for web, Android, Windows, and Linux.">
<meta property="og:image" content="https://inbe.waozi.xyz/og.png">
<meta property="og:site_name" content="Inner Breeze">
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="https://waozi.xyz/">
<meta property="twitter:title" content="Waozi - Personal Portfolio">
<meta property="twitter:description" content="Inner Breeze - Guided breathing meditation based on the Wim Hof method">
<meta property="twitter:image" content="https://waozi.xyz/og.png">
<link rel="icon" type="image/png" sizes="32x32" href="/icons/favicon-32x32.png">
<link rel="apple-touch-icon" sizes="180x180" href="/icons/apple-icon-180x180.png">
<link rel="manifest" href="/manifest.json">
<meta property="twitter:url" content="https://inbe.waozi.xyz/">
<meta property="twitter:title" content="Inner Breeze - Guided Breathing Meditation">
<meta property="twitter:description" content="A free, open-source breathing meditation app based on the Wim Hof method.">
<meta property="twitter:image" content="https://inbe.waozi.xyz/og.png">
<link rel="icon" type="image/png" sizes="32x32" href="icons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="192x192" href="icons/icon-192x192.png">
<link rel="icon" type="image/png" sizes="512x512" href="icons/icon-512x512.png">
<link rel="apple-touch-icon" href="icons/apple-touch-icon.png">
<meta name="theme-color" content="#5566aa">
</head>
@@ -32,7 +37,24 @@
<h1>Inner Breeze</h1>
<p>guided breathing meditation based on the Wim Hof method</p>
<a href="/inbe/wasm4/build/index.html" class="start-btn">Start Now</a>
<div class="platform-buttons">
<a href="/inbe/wasm4/build/index.html" class="platform-btn web">
<img src="/assets/wasm4.png" alt="web"/>
<span>Run Web</span>
</a>
<a href="/inbe/droid/app/build/outputs/apk/release/app-release.apk" class="platform-btn android">
<img src="/assets/droid.png" alt="android"/>
<span>Download APK</span>
</a>
<a href="/inbe/wasm4/build/inbe_x86_64.exe" class="platform-btn windows">
<img src="/assets/wasm4.png" alt="windows"/>
<span>Windows</span>
</a>
<a href="/inbe/wasm4/build/inbe_x86_64" class="platform-btn linux">
<img src="/assets/wasm4.png" alt="linux"/>
<span>Linux</span>
</a>
</div>
</section>
<section>
<details>
@@ -61,6 +83,12 @@
<img class="file-icon" src="/assets/wasm4.png" alt="wasm4"/> <a href="/inbe/wasm4/build/inbe_x86_64.exe">inbe_x86_64.exe</a> <small>(240K)</small>
</div>
</div>
<div class="app-platform">
<strong>Android</strong>
<div class="row">
<img class="file-icon" src="/assets/droid.png" alt="android"/> <a href="/inbe/droid/app/build/outputs/apk/release/app-release.apk">app-release.apk</a> <small>(28K)</small>
</div>
</div>
<div class="app-platform">
<strong>Linux</strong>
<div class="row">
@@ -73,15 +101,6 @@
<img class="file-icon" src="/assets/cli.png" alt="cli"/> <a href="/inbe/rc/inbe.rc">.rc</a> <small>(1.8K)</small>
</div>
</div>
<div class="app-platform">
<strong>Source</strong>
<div class="row">
<img class="file-icon" src="/assets/uxn.png" alt="uxn"/> <a href="/inbe/uxn/inbe.tal">.tal</a> <small>(20K)</small>
</div>
<div class="row">
<img class="file-icon" src="/assets/wasm4.png" alt="wasm4"/> <a href="/inbe/wasm4/inbe/src/main.c">main.c</a> <small>(4.2K)</small>
</div>
</div>
</div>
<div class="implementation-legend">
<strong>Legend</strong>
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 KiB