diff --git a/TODO.md b/TODO.md new file mode 100644 index 000000000..a10a1446d --- /dev/null +++ b/TODO.md @@ -0,0 +1,78 @@ +# Inner Breeze TODO + +Marketing plan from 2026-10-02. Tick items off as they land and add a date or +link where it helps. Inner Breeze's edge: free, no ads, no account, offline, +open source, against breathing apps that charge $60–100 a year. It is also +visual (painted practice art, the Sun Salutation characters), so put effort +where those two things matter. + +## Store listing + +- [x] Rewrite the Play/F-Droid short and full descriptions around what people + search for (Wim Hof breathing, box and 4-7-8 breathing, Sun Salutation, + meditation timer, habit tracker, no ads, no account) in en-US, de-DE, + es-ES, fr-FR and pt-BR. (2026-10-02) +- [x] Regenerate the store screenshots from the current app at real phone and + tablet scale: painted practice cards, a Sun Salutation pose and showcase + habits (`make screenshot`). (2026-10-02) +- [ ] Publish the new text and screenshots on Google Play. F-Droid reads them + from this repo at the next release. `scripts/upload-play-screenshots.py` + uploads images only; the text goes in through Play Console. +- [ ] Make a new 1024x500 feature graphic in the painted style. The current + one is the old pixel art. +- [ ] Add a one-line caption to each store screenshot ("Wim Hof-style + rounds", "Follow the Sun Salutation"). +- [ ] Keep "Wim Hof" out of the app title and icon. Wim Hof Method is a + registered trademark; a description that says "based on the Wim Hof + Method" is fine. +- [ ] Fix the Portuguese app string "Saudacao ao sol" to "Saudação ao sol". +- [ ] Give each channel its own tagged Play link, for example + `https://play.google.com/store/apps/details?id=xyz.waozi.inbe&referrer=utm_source%3Dreddit`, + and check Play Console's acquisition report every month. + +## Short vertical video (best reach for new users) + +- [ ] Record 30–60 second "breathe with me" sessions: a Wim Hof round, box + breathing, a Sun Salutation sequence. +- [ ] Post them on YouTube Shorts, TikTok and Instagram Reels. Reels can be + posted by hand from the phone; the Meta API hold only blocks automation. +- [ ] Finish Social's YouTube path: approval in Telegram and a background + upload worker (yuebot `plugins/social`). +- [ ] Optional: Pinterest pins for Sun Salutation and breathing technique + guides, which keep bringing traffic for a long time. + +## Reddit + +Read each subreddit's self-promotion rules first. Post as the developer, show +the app, and stay to answer comments. + +- [ ] For users: r/WimHofMethod, r/breathwork, r/Meditation, r/yoga +- [ ] For the free/open-source angle: r/androidapps, r/fossdroid, + r/opensource, r/degoogle, r/linux + +## Website (inbe.waozi.xyz) + +- [ ] One page per technique with the `?mini` embed, so visitors practise on + the page: box breathing timer, 4-7-8 breathing, Wim Hof-style breathing, + Sun Salutation steps, meditation timer. +- [ ] Put the Play and F-Droid links under each embed. + +## Directories and launches (one-time) + +- [ ] AlternativeTo: list Inner Breeze as an alternative to Calm, Headspace, + Breathwrk and Prana Breath. +- [ ] Flathub: check whether `packaging/flatpak/xyz.waozi.inbe.yml` is + published, and submit it if not. +- [ ] Open-source app lists (awesome lists, F-Droid collections). +- [ ] Product Hunt launch. +- [ ] One Show HN about how it is built: the whole app in Ziran and Kryon, + running on Android, web, Linux and Windows. This brings developers and + GitHub stars, not meditators, so do it once. + +## Channels to keep small + +- Facebook and Threads Pages: the Meta API is on hold (no business + verification). Social is moving Facebook to the ThinkPad's signed-in + Chromium instead. +- X: the audience is mostly developers; keep it for Ziran and Kryon. +- Telegram @lotusinbe: keeps current users engaged but does not find new ones. diff --git a/fastlane/metadata/android/de-DE/full_description.txt b/fastlane/metadata/android/de-DE/full_description.txt index 15161d7a6..180f7f105 100644 --- a/fastlane/metadata/android/de-DE/full_description.txt +++ b/fastlane/metadata/android/de-DE/full_description.txt @@ -1,10 +1,27 @@ -Eine freie, quelloffene App für Atmung, Meditation und Gewohnheiten. +Inner Breeze ist eine kostenlose, quelloffene App für Atmung, Meditation, Yoga und tägliche Gewohnheiten. Ohne Werbung und ohne Konto. Sie funktioniert offline und speichert deine Daten auf deinem Gerät. -Funktionen: -- Geführte Übungen mit visuellen und akustischen Hinweisen -- Mind, Yoga und Fitness für verschiedene Übungsroutinen -- Anpassbare Atemsitzungen, Meditationstimer und Zähler -- Gewohnheitstracking mit Verlauf und verknüpften Übungszahlen -- Optionale Synchronisierung von Gewohnheiten, Sitzungen und Fortschritt -- Lokale Speicherung mit Import und Export -- Anpassbare Designs mit hellen und dunklen Varianten +ÜBUNGEN +- Wim-Hof-Atmung: geführte Runden mit tiefen Atemzügen und Atempausen mit Timer, basierend auf der Wim-Hof-Methode, mit einem Diagramm deiner Haltezeiten. +- Atemmuster: Box, 4-7-8, Kohärent und Verlängertes Ausatmen, oder dein eigener Rhythmus. +- Meditationstimer mit Intervallglocke und optionaler Hintergrundmusik. Du kannst auch eigene Musik importieren. +- Sonnengruß: Folge einer gemalten Figur durch alle zwölf Haltungen. Wähle eine von vier Figuren und stelle Tempo und Rundenzahl ein. + +GEWOHNHEITEN +- Verfolge tägliche Gewohnheiten mit einfachem Abhaken oder Zählern. +- Wochen- und Monatskalender, Serien und Statistiken. +- Verknüpfe eine Gewohnheit mit einer Übung, dann zählen abgeschlossene Sitzungen automatisch mit. +- Eine kurze Stimmungsabfrage nach jeder Übung. + +DEINE DATEN +- Alles wird auf deinem Gerät gespeichert. +- Importiere und exportiere deine Daten, oder exportiere Sitzungen als CSV oder zu Health Connect. +- Optionale Synchronisierung zwischen deinen Geräten mit einem Konto. + +GANZ NACH DEINEM GESCHMACK +- Helle und dunkle Designs in vielen Farben. +- In 12 Sprachen verfügbar. +- Läuft auch im Browser sowie unter Windows und Linux: inbe.waozi.xyz + +Mache Atemübungen niemals beim Autofahren, im Stehen oder im Wasser. + +Inner Breeze ist quelloffen unter der BSD-3-Clause-Lizenz: github.com/waozixyz/inbe diff --git a/fastlane/metadata/android/de-DE/short_description.txt b/fastlane/metadata/android/de-DE/short_description.txt index daad9fcf4..65fe2e233 100644 --- a/fastlane/metadata/android/de-DE/short_description.txt +++ b/fastlane/metadata/android/de-DE/short_description.txt @@ -1 +1 @@ -Atmung, Meditation und Gewohnheiten mit Synchronisierung. +Kostenlos: Wim-Hof-Atmung, Meditation und Gewohnheiten. Ohne Werbung und Konto. diff --git a/fastlane/metadata/android/en-US/full_description.txt b/fastlane/metadata/android/en-US/full_description.txt index 96152cd44..63a12b60a 100644 --- a/fastlane/metadata/android/en-US/full_description.txt +++ b/fastlane/metadata/android/en-US/full_description.txt @@ -1,10 +1,27 @@ -A free, open-source practice app for breathing, meditation, and habit tracking. +Inner Breeze is a free, open-source app for breathing, meditation, yoga and daily habits. No ads and no account needed. It works offline and keeps your data on your device. -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 -- Optional sync for habits, sessions, and practice progress -- Local storage with import/export support -- Theme customization with light and dark variants +PRACTICES +- Wim Hof Breathing: guided rounds of deep breaths and timed breath holds, based on the Wim Hof Method, with a chart of your hold times. +- Breathing patterns: Box, 4-7-8, Coherent and Extended exhale, or set your own rhythm. +- Meditation timer with an interval bell and optional background music. You can import your own music. +- Sun Salutation: follow a painted guide through all twelve poses. Choose one of four characters and set the tempo and number of rounds. + +HABITS +- Track daily habits with simple check-ins or counts. +- Week and month calendars, streaks and statistics. +- Link a habit to a practice, and finished sessions count toward it. +- A quick mood check-in after each practice. + +YOUR DATA +- Everything is stored on your device. +- Import and export your data, or export sessions as CSV or to Health Connect. +- Optional account sync between your devices. + +MAKE IT YOURS +- Light and dark themes in many colors. +- Available in 12 languages. +- Also runs in your browser and on Windows and Linux: inbe.waozi.xyz + +Never do breathing exercises while driving, standing or in water. + +Inner Breeze is open source under the BSD 3-Clause license: github.com/waozixyz/inbe diff --git a/fastlane/metadata/android/en-US/images/phoneScreenshots/01-practice-home.png b/fastlane/metadata/android/en-US/images/phoneScreenshots/01-practice-home.png index 57adb8699..820c5e3fb 100644 Binary files a/fastlane/metadata/android/en-US/images/phoneScreenshots/01-practice-home.png and b/fastlane/metadata/android/en-US/images/phoneScreenshots/01-practice-home.png differ diff --git a/fastlane/metadata/android/en-US/images/phoneScreenshots/02-pattern-breathing.png b/fastlane/metadata/android/en-US/images/phoneScreenshots/02-pattern-breathing.png deleted file mode 100644 index 433b5b53d..000000000 Binary files a/fastlane/metadata/android/en-US/images/phoneScreenshots/02-pattern-breathing.png and /dev/null differ diff --git a/fastlane/metadata/android/en-US/images/phoneScreenshots/02-sun-salutation-home.png b/fastlane/metadata/android/en-US/images/phoneScreenshots/02-sun-salutation-home.png new file mode 100644 index 000000000..c419b9a5b Binary files /dev/null and b/fastlane/metadata/android/en-US/images/phoneScreenshots/02-sun-salutation-home.png differ diff --git a/fastlane/metadata/android/en-US/images/phoneScreenshots/03-habits-overview.png b/fastlane/metadata/android/en-US/images/phoneScreenshots/03-habits-overview.png deleted file mode 100644 index 3fc9fe08a..000000000 Binary files a/fastlane/metadata/android/en-US/images/phoneScreenshots/03-habits-overview.png and /dev/null differ diff --git a/fastlane/metadata/android/en-US/images/phoneScreenshots/03-sun-salutation-pose.png b/fastlane/metadata/android/en-US/images/phoneScreenshots/03-sun-salutation-pose.png new file mode 100644 index 000000000..96c941fb6 Binary files /dev/null and b/fastlane/metadata/android/en-US/images/phoneScreenshots/03-sun-salutation-pose.png differ diff --git a/fastlane/metadata/android/en-US/images/phoneScreenshots/04-habit-statistics.png b/fastlane/metadata/android/en-US/images/phoneScreenshots/04-habit-statistics.png deleted file mode 100644 index a48b154c2..000000000 Binary files a/fastlane/metadata/android/en-US/images/phoneScreenshots/04-habit-statistics.png and /dev/null differ diff --git a/fastlane/metadata/android/en-US/images/phoneScreenshots/04-meditation-home.png b/fastlane/metadata/android/en-US/images/phoneScreenshots/04-meditation-home.png new file mode 100644 index 000000000..6da6711f8 Binary files /dev/null and b/fastlane/metadata/android/en-US/images/phoneScreenshots/04-meditation-home.png differ diff --git a/fastlane/metadata/android/en-US/images/phoneScreenshots/05-habits-overview.png b/fastlane/metadata/android/en-US/images/phoneScreenshots/05-habits-overview.png new file mode 100644 index 000000000..960a4103d Binary files /dev/null and b/fastlane/metadata/android/en-US/images/phoneScreenshots/05-habits-overview.png differ diff --git a/fastlane/metadata/android/en-US/images/phoneScreenshots/05-wim-hof-session.png b/fastlane/metadata/android/en-US/images/phoneScreenshots/05-wim-hof-session.png deleted file mode 100644 index e08f53890..000000000 Binary files a/fastlane/metadata/android/en-US/images/phoneScreenshots/05-wim-hof-session.png and /dev/null differ diff --git a/fastlane/metadata/android/en-US/images/phoneScreenshots/06-habit-statistics.png b/fastlane/metadata/android/en-US/images/phoneScreenshots/06-habit-statistics.png new file mode 100644 index 000000000..334712d72 Binary files /dev/null and b/fastlane/metadata/android/en-US/images/phoneScreenshots/06-habit-statistics.png differ diff --git a/fastlane/metadata/android/en-US/images/phoneScreenshots/06-meditation-session.png b/fastlane/metadata/android/en-US/images/phoneScreenshots/06-meditation-session.png deleted file mode 100644 index 2bb2c20cd..000000000 Binary files a/fastlane/metadata/android/en-US/images/phoneScreenshots/06-meditation-session.png and /dev/null differ diff --git a/fastlane/metadata/android/en-US/images/phoneScreenshots/07-wim-hof-how-to.png b/fastlane/metadata/android/en-US/images/phoneScreenshots/07-wim-hof-how-to.png index 6ac5a637d..aa621754f 100644 Binary files a/fastlane/metadata/android/en-US/images/phoneScreenshots/07-wim-hof-how-to.png and b/fastlane/metadata/android/en-US/images/phoneScreenshots/07-wim-hof-how-to.png differ diff --git a/fastlane/metadata/android/en-US/images/phoneScreenshots/08-cobalt-dark-pattern-breathing.png b/fastlane/metadata/android/en-US/images/phoneScreenshots/08-cobalt-dark-pattern-breathing.png index 46189a332..8fb32036f 100644 Binary files a/fastlane/metadata/android/en-US/images/phoneScreenshots/08-cobalt-dark-pattern-breathing.png and b/fastlane/metadata/android/en-US/images/phoneScreenshots/08-cobalt-dark-pattern-breathing.png differ diff --git a/fastlane/metadata/android/en-US/images/sevenInchScreenshots/01-practice-home.png b/fastlane/metadata/android/en-US/images/sevenInchScreenshots/01-practice-home.png index efd171089..a13a95f98 100644 Binary files a/fastlane/metadata/android/en-US/images/sevenInchScreenshots/01-practice-home.png and b/fastlane/metadata/android/en-US/images/sevenInchScreenshots/01-practice-home.png differ diff --git a/fastlane/metadata/android/en-US/images/sevenInchScreenshots/02-pattern-breathing.png b/fastlane/metadata/android/en-US/images/sevenInchScreenshots/02-pattern-breathing.png deleted file mode 100644 index 53b4b0ac5..000000000 Binary files a/fastlane/metadata/android/en-US/images/sevenInchScreenshots/02-pattern-breathing.png and /dev/null differ diff --git a/fastlane/metadata/android/en-US/images/sevenInchScreenshots/02-sun-salutation-home.png b/fastlane/metadata/android/en-US/images/sevenInchScreenshots/02-sun-salutation-home.png new file mode 100644 index 000000000..3d96d0fcf Binary files /dev/null and b/fastlane/metadata/android/en-US/images/sevenInchScreenshots/02-sun-salutation-home.png differ diff --git a/fastlane/metadata/android/en-US/images/sevenInchScreenshots/03-habits-overview.png b/fastlane/metadata/android/en-US/images/sevenInchScreenshots/03-habits-overview.png deleted file mode 100644 index fc8ca1407..000000000 Binary files a/fastlane/metadata/android/en-US/images/sevenInchScreenshots/03-habits-overview.png and /dev/null differ diff --git a/fastlane/metadata/android/en-US/images/sevenInchScreenshots/03-sun-salutation-pose.png b/fastlane/metadata/android/en-US/images/sevenInchScreenshots/03-sun-salutation-pose.png new file mode 100644 index 000000000..e06201c9a Binary files /dev/null and b/fastlane/metadata/android/en-US/images/sevenInchScreenshots/03-sun-salutation-pose.png differ diff --git a/fastlane/metadata/android/en-US/images/sevenInchScreenshots/04-habit-statistics.png b/fastlane/metadata/android/en-US/images/sevenInchScreenshots/04-habit-statistics.png deleted file mode 100644 index d11223a5a..000000000 Binary files a/fastlane/metadata/android/en-US/images/sevenInchScreenshots/04-habit-statistics.png and /dev/null differ diff --git a/fastlane/metadata/android/en-US/images/sevenInchScreenshots/04-meditation-home.png b/fastlane/metadata/android/en-US/images/sevenInchScreenshots/04-meditation-home.png new file mode 100644 index 000000000..295ddcabb Binary files /dev/null and b/fastlane/metadata/android/en-US/images/sevenInchScreenshots/04-meditation-home.png differ diff --git a/fastlane/metadata/android/en-US/images/sevenInchScreenshots/05-habits-overview.png b/fastlane/metadata/android/en-US/images/sevenInchScreenshots/05-habits-overview.png new file mode 100644 index 000000000..1d0cc1322 Binary files /dev/null and b/fastlane/metadata/android/en-US/images/sevenInchScreenshots/05-habits-overview.png differ diff --git a/fastlane/metadata/android/en-US/images/sevenInchScreenshots/05-wim-hof-session.png b/fastlane/metadata/android/en-US/images/sevenInchScreenshots/05-wim-hof-session.png deleted file mode 100644 index 52eeccb94..000000000 Binary files a/fastlane/metadata/android/en-US/images/sevenInchScreenshots/05-wim-hof-session.png and /dev/null differ diff --git a/fastlane/metadata/android/en-US/images/sevenInchScreenshots/06-habit-statistics.png b/fastlane/metadata/android/en-US/images/sevenInchScreenshots/06-habit-statistics.png new file mode 100644 index 000000000..4ebe2adbd Binary files /dev/null and b/fastlane/metadata/android/en-US/images/sevenInchScreenshots/06-habit-statistics.png differ diff --git a/fastlane/metadata/android/en-US/images/sevenInchScreenshots/06-meditation-session.png b/fastlane/metadata/android/en-US/images/sevenInchScreenshots/06-meditation-session.png deleted file mode 100644 index 4f2b9a03a..000000000 Binary files a/fastlane/metadata/android/en-US/images/sevenInchScreenshots/06-meditation-session.png and /dev/null differ diff --git a/fastlane/metadata/android/en-US/images/sevenInchScreenshots/07-wim-hof-how-to.png b/fastlane/metadata/android/en-US/images/sevenInchScreenshots/07-wim-hof-how-to.png index 275ae2244..e6e4402c8 100644 Binary files a/fastlane/metadata/android/en-US/images/sevenInchScreenshots/07-wim-hof-how-to.png and b/fastlane/metadata/android/en-US/images/sevenInchScreenshots/07-wim-hof-how-to.png differ diff --git a/fastlane/metadata/android/en-US/images/sevenInchScreenshots/08-cobalt-dark-pattern-breathing.png b/fastlane/metadata/android/en-US/images/sevenInchScreenshots/08-cobalt-dark-pattern-breathing.png index e789d6539..ec12ba8bf 100644 Binary files a/fastlane/metadata/android/en-US/images/sevenInchScreenshots/08-cobalt-dark-pattern-breathing.png and b/fastlane/metadata/android/en-US/images/sevenInchScreenshots/08-cobalt-dark-pattern-breathing.png differ diff --git a/fastlane/metadata/android/en-US/images/tenInchScreenshots/01-practice-home.png b/fastlane/metadata/android/en-US/images/tenInchScreenshots/01-practice-home.png index 7b1d0d655..d8d30ef5e 100644 Binary files a/fastlane/metadata/android/en-US/images/tenInchScreenshots/01-practice-home.png and b/fastlane/metadata/android/en-US/images/tenInchScreenshots/01-practice-home.png differ diff --git a/fastlane/metadata/android/en-US/images/tenInchScreenshots/02-pattern-breathing.png b/fastlane/metadata/android/en-US/images/tenInchScreenshots/02-pattern-breathing.png deleted file mode 100644 index f97e282b2..000000000 Binary files a/fastlane/metadata/android/en-US/images/tenInchScreenshots/02-pattern-breathing.png and /dev/null differ diff --git a/fastlane/metadata/android/en-US/images/tenInchScreenshots/02-sun-salutation-home.png b/fastlane/metadata/android/en-US/images/tenInchScreenshots/02-sun-salutation-home.png new file mode 100644 index 000000000..5570579af Binary files /dev/null and b/fastlane/metadata/android/en-US/images/tenInchScreenshots/02-sun-salutation-home.png differ diff --git a/fastlane/metadata/android/en-US/images/tenInchScreenshots/03-habits-overview.png b/fastlane/metadata/android/en-US/images/tenInchScreenshots/03-habits-overview.png deleted file mode 100644 index 72d0039e3..000000000 Binary files a/fastlane/metadata/android/en-US/images/tenInchScreenshots/03-habits-overview.png and /dev/null differ diff --git a/fastlane/metadata/android/en-US/images/tenInchScreenshots/03-sun-salutation-pose.png b/fastlane/metadata/android/en-US/images/tenInchScreenshots/03-sun-salutation-pose.png new file mode 100644 index 000000000..a8ab648da Binary files /dev/null and b/fastlane/metadata/android/en-US/images/tenInchScreenshots/03-sun-salutation-pose.png differ diff --git a/fastlane/metadata/android/en-US/images/tenInchScreenshots/04-habit-statistics.png b/fastlane/metadata/android/en-US/images/tenInchScreenshots/04-habit-statistics.png deleted file mode 100644 index a4aaa9336..000000000 Binary files a/fastlane/metadata/android/en-US/images/tenInchScreenshots/04-habit-statistics.png and /dev/null differ diff --git a/fastlane/metadata/android/en-US/images/tenInchScreenshots/04-meditation-home.png b/fastlane/metadata/android/en-US/images/tenInchScreenshots/04-meditation-home.png new file mode 100644 index 000000000..ca52205f8 Binary files /dev/null and b/fastlane/metadata/android/en-US/images/tenInchScreenshots/04-meditation-home.png differ diff --git a/fastlane/metadata/android/en-US/images/tenInchScreenshots/05-habits-overview.png b/fastlane/metadata/android/en-US/images/tenInchScreenshots/05-habits-overview.png new file mode 100644 index 000000000..dca06e4ba Binary files /dev/null and b/fastlane/metadata/android/en-US/images/tenInchScreenshots/05-habits-overview.png differ diff --git a/fastlane/metadata/android/en-US/images/tenInchScreenshots/05-wim-hof-session.png b/fastlane/metadata/android/en-US/images/tenInchScreenshots/05-wim-hof-session.png deleted file mode 100644 index 1505614a1..000000000 Binary files a/fastlane/metadata/android/en-US/images/tenInchScreenshots/05-wim-hof-session.png and /dev/null differ diff --git a/fastlane/metadata/android/en-US/images/tenInchScreenshots/06-habit-statistics.png b/fastlane/metadata/android/en-US/images/tenInchScreenshots/06-habit-statistics.png new file mode 100644 index 000000000..7e59ca45a Binary files /dev/null and b/fastlane/metadata/android/en-US/images/tenInchScreenshots/06-habit-statistics.png differ diff --git a/fastlane/metadata/android/en-US/images/tenInchScreenshots/06-meditation-session.png b/fastlane/metadata/android/en-US/images/tenInchScreenshots/06-meditation-session.png deleted file mode 100644 index bb8d1b6dd..000000000 Binary files a/fastlane/metadata/android/en-US/images/tenInchScreenshots/06-meditation-session.png and /dev/null differ diff --git a/fastlane/metadata/android/en-US/images/tenInchScreenshots/07-wim-hof-how-to.png b/fastlane/metadata/android/en-US/images/tenInchScreenshots/07-wim-hof-how-to.png index 51472e692..c95742cce 100644 Binary files a/fastlane/metadata/android/en-US/images/tenInchScreenshots/07-wim-hof-how-to.png and b/fastlane/metadata/android/en-US/images/tenInchScreenshots/07-wim-hof-how-to.png differ diff --git a/fastlane/metadata/android/en-US/images/tenInchScreenshots/08-cobalt-dark-pattern-breathing.png b/fastlane/metadata/android/en-US/images/tenInchScreenshots/08-cobalt-dark-pattern-breathing.png index e0b0ba2ef..7d2cf5af3 100644 Binary files a/fastlane/metadata/android/en-US/images/tenInchScreenshots/08-cobalt-dark-pattern-breathing.png and b/fastlane/metadata/android/en-US/images/tenInchScreenshots/08-cobalt-dark-pattern-breathing.png differ diff --git a/fastlane/metadata/android/en-US/short_description.txt b/fastlane/metadata/android/en-US/short_description.txt index 18f0d697e..751e59ca4 100644 --- a/fastlane/metadata/android/en-US/short_description.txt +++ b/fastlane/metadata/android/en-US/short_description.txt @@ -1 +1 @@ -Syncable breathing, meditation, and habit practice app. +Free Wim Hof-style breathing, meditation and habit tracker. No ads, no account. diff --git a/fastlane/metadata/android/es-ES/full_description.txt b/fastlane/metadata/android/es-ES/full_description.txt index fc7cef00b..df5f3bb21 100644 --- a/fastlane/metadata/android/es-ES/full_description.txt +++ b/fastlane/metadata/android/es-ES/full_description.txt @@ -1,10 +1,27 @@ -Una app libre y de código abierto para respiración, meditación y hábitos. +Inner Breeze es una app gratuita y de código abierto para respiración, meditación, yoga y hábitos diarios. Sin anuncios y sin necesidad de cuenta. Funciona sin conexión y guarda tus datos en tu dispositivo. -Funciones: -- Prácticas guiadas con señales visuales y de audio -- Organización Mind, Yoga y Fitness para distintas rutinas de práctica -- Sesiones de respiración, temporizadores y contadores configurables -- Seguimiento de hábitos con historial y recuentos vinculados a prácticas -- Sincronización opcional de hábitos, sesiones y progreso -- Almacenamiento local con importación y exportación -- Temas personalizables con variantes claras y oscuras +PRÁCTICAS +- Respiración Wim Hof: rondas guiadas de respiraciones profundas y retenciones cronometradas, basadas en el método Wim Hof, con un gráfico de tus tiempos de retención. +- Patrones de respiración: Caja, 4-7-8, Coherente y Exhalación prolongada, o tu propio ritmo. +- Temporizador de meditación con campana de intervalo y música de fondo opcional. También puedes importar tu propia música. +- Saludo al sol: sigue a una guía pintada a través de las doce posturas. Elige uno de cuatro personajes y ajusta el ritmo y el número de rondas. + +HÁBITOS +- Registra hábitos diarios con marcas sencillas o contadores. +- Calendarios semanales y mensuales, rachas y estadísticas. +- Vincula un hábito a una práctica y las sesiones terminadas cuentan para él. +- Un breve registro de tu estado de ánimo después de cada práctica. + +TUS DATOS +- Todo se guarda en tu dispositivo. +- Importa y exporta tus datos, o exporta sesiones en CSV o a Health Connect. +- Sincronización opcional entre tus dispositivos con una cuenta. + +A TU MANERA +- Temas claros y oscuros en muchos colores. +- Disponible en 12 idiomas. +- También funciona en el navegador y en Windows y Linux: inbe.waozi.xyz + +Nunca hagas ejercicios de respiración mientras conduces, de pie o en el agua. + +Inner Breeze es de código abierto bajo la licencia BSD 3-Clause: github.com/waozixyz/inbe diff --git a/fastlane/metadata/android/es-ES/short_description.txt b/fastlane/metadata/android/es-ES/short_description.txt index 15c3458a3..e04da59cf 100644 --- a/fastlane/metadata/android/es-ES/short_description.txt +++ b/fastlane/metadata/android/es-ES/short_description.txt @@ -1 +1 @@ -Respiración, meditación y hábitos con sincronización. +Respiración Wim Hof, meditación y hábitos. Gratis, sin anuncios y sin cuenta. diff --git a/fastlane/metadata/android/fr-FR/full_description.txt b/fastlane/metadata/android/fr-FR/full_description.txt index 7c76565ec..d951d67cc 100644 --- a/fastlane/metadata/android/fr-FR/full_description.txt +++ b/fastlane/metadata/android/fr-FR/full_description.txt @@ -1,10 +1,27 @@ -Une app libre et open source pour respiration, méditation et habitudes. +Inner Breeze est une application gratuite et open source pour la respiration, la méditation, le yoga et les habitudes quotidiennes. Sans publicité et sans compte. Elle fonctionne hors ligne et garde vos données sur votre appareil. -Fonctionnalités : -- Pratiques guidées avec repères visuels et audio -- Organisation Mind, Yoga et Fitness pour différentes routines -- Séances de respiration, minuteries et compteurs personnalisables -- Suivi des habitudes avec historique et comptes liés aux pratiques -- Synchronisation optionnelle des habitudes, séances et progrès -- Stockage local avec import et export -- Thèmes personnalisables avec variantes claires et sombres +PRATIQUES +- Respiration Wim Hof : des séries guidées de respirations profondes et de rétentions chronométrées, basées sur la méthode Wim Hof, avec un graphique de vos temps de rétention. +- Schémas respiratoires : Carré, 4-7-8, Cohérent et Expiration prolongée, ou votre propre rythme. +- Minuteur de méditation avec cloche d'intervalle et musique de fond facultative. Vous pouvez aussi importer votre propre musique. +- Salutation au soleil : suivez un guide peint à travers les douze postures. Choisissez l'un des quatre personnages et réglez le tempo et le nombre de séries. + +HABITUDES +- Suivez vos habitudes quotidiennes avec de simples coches ou des compteurs. +- Calendriers hebdomadaires et mensuels, séries et statistiques. +- Liez une habitude à une pratique : les séances terminées comptent automatiquement. +- Un court bilan d'humeur après chaque pratique. + +VOS DONNÉES +- Tout est enregistré sur votre appareil. +- Importez et exportez vos données, ou exportez vos séances en CSV ou vers Health Connect. +- Synchronisation facultative entre vos appareils avec un compte. + +À VOTRE IMAGE +- Thèmes clairs et sombres dans de nombreuses couleurs. +- Disponible en 12 langues. +- Fonctionne aussi dans le navigateur et sous Windows et Linux : inbe.waozi.xyz + +Ne pratiquez jamais d'exercices de respiration en conduisant, debout ou dans l'eau. + +Inner Breeze est open source sous licence BSD 3-Clause : github.com/waozixyz/inbe diff --git a/fastlane/metadata/android/fr-FR/short_description.txt b/fastlane/metadata/android/fr-FR/short_description.txt index bac3eefa6..9b667ac79 100644 --- a/fastlane/metadata/android/fr-FR/short_description.txt +++ b/fastlane/metadata/android/fr-FR/short_description.txt @@ -1 +1 @@ -Respiration, méditation et habitudes avec synchronisation. +Respiration Wim Hof, méditation et habitudes. Gratuit, sans pub et sans compte. diff --git a/fastlane/metadata/android/pt-BR/full_description.txt b/fastlane/metadata/android/pt-BR/full_description.txt index 138f0ec20..c0cd7b292 100644 --- a/fastlane/metadata/android/pt-BR/full_description.txt +++ b/fastlane/metadata/android/pt-BR/full_description.txt @@ -1,10 +1,27 @@ -Um app livre e de código aberto para respiração, meditação e hábitos. +Inner Breeze é um app gratuito e de código aberto para respiração, meditação, ioga e hábitos diários. Sem anúncios e sem precisar de conta. Funciona offline e mantém seus dados no seu aparelho. -Recursos: -- Práticas guiadas com sinais visuais e sonoros -- Organização Mind, Yoga e Fitness para diferentes rotinas de prática -- Sessões de respiração, timers de meditação e contadores configuráveis -- Acompanhamento de hábitos com histórico e contagens ligadas às práticas -- Sincronização opcional de hábitos, sessões e progresso -- Armazenamento local com importação e exportação -- Temas personalizáveis com variantes claras e escuras +PRÁTICAS +- Respiração Wim Hof: rodadas guiadas de respirações profundas e retenções cronometradas, baseadas no método Wim Hof, com um gráfico dos seus tempos de retenção. +- Padrões de respiração: Caixa, 4-7-8, Coerente e Expiração prolongada, ou o seu próprio ritmo. +- Timer de meditação com sino de intervalo e música de fundo opcional. Você também pode importar suas próprias músicas. +- Saudação ao sol: siga um guia pintado pelas doze posturas. Escolha um de quatro personagens e ajuste o ritmo e o número de rodadas. + +HÁBITOS +- Acompanhe hábitos diários com marcações simples ou contadores. +- Calendários semanais e mensais, sequências e estatísticas. +- Vincule um hábito a uma prática e as sessões concluídas contam para ele. +- Um registro rápido do seu humor depois de cada prática. + +SEUS DADOS +- Tudo fica salvo no seu aparelho. +- Importe e exporte seus dados, ou exporte sessões em CSV ou para o Health Connect. +- Sincronização opcional entre seus aparelhos com uma conta. + +DO SEU JEITO +- Temas claros e escuros em várias cores. +- Disponível em 12 idiomas. +- Também funciona no navegador e no Windows e Linux: inbe.waozi.xyz + +Nunca faça exercícios de respiração dirigindo, em pé ou dentro da água. + +Inner Breeze é de código aberto sob a licença BSD 3-Clause: github.com/waozixyz/inbe diff --git a/fastlane/metadata/android/pt-BR/short_description.txt b/fastlane/metadata/android/pt-BR/short_description.txt index 4d72158ea..712b2ca97 100644 --- a/fastlane/metadata/android/pt-BR/short_description.txt +++ b/fastlane/metadata/android/pt-BR/short_description.txt @@ -1 +1 @@ -Respiração, meditação e hábitos com sincronização. +Respiração Wim Hof, meditação e hábitos. Grátis, sem anúncios e sem conta. diff --git a/scripts/generate-screenshots.sh b/scripts/generate-screenshots.sh index 26772ffd5..6e93e00f3 100755 --- a/scripts/generate-screenshots.sh +++ b/scripts/generate-screenshots.sh @@ -20,25 +20,25 @@ FASTLANE_IMAGES_DIR="${SCREENSHOT_FASTLANE_IMAGES_DIR:-"$ROOT_DIR/fastlane/metad FASTLANE_SYNC="${SCREENSHOT_FASTLANE_SYNC:-1}" FASTLANE_FORMAT="${SCREENSHOT_FASTLANE_FORMAT:-png}" FASTLANE_JPEG_QUALITY="${SCREENSHOT_FASTLANE_JPEG_QUALITY:-92}" -SCREENSHOT_STYLE="${SCREENSHOT_STYLE:-2}" ANALYSIS_FILE="$OUT_DIR/screenshot-analysis.tsv" SCENES=( - "home:01-practice-home:-1:0:Practice home" - "patterns:02-pattern-breathing:-1:0:Pattern breathing session" - "habits_overview:03-habits-overview:-1:0:Habits overview" - "habits_stats:04-habit-statistics:-1:0:Habit statistics" - "wim_hof_session:05-wim-hof-session:-1:0:Wim Hof session" - "meditation_session:06-meditation-session:-1:0:Meditation session" + "home:01-practice-home:-1:0:Wim Hof Breathing practice card" + "sun_salutation_home:02-sun-salutation-home:-1:0:Sun Salutation practice card" + "sun_salutation_pose:03-sun-salutation-pose:-1:0:Sun Salutation Upward salute pose" + "meditation_home:04-meditation-home:-1:0:Meditation practice card" + "promo_habits:05-habits-overview:-1:0:Habits overview" + "habits_stats:06-habit-statistics:-1:0:Habit statistics" "practice_manual_whm:07-wim-hof-how-to:-1:0:Wim Hof Method how to" "cobalt_dark:08-cobalt-dark-pattern-breathing:11:1:Cobalt dark Pattern Breathing" ) - +# name:width:height:ui scale in tenths:Fastlane folder. The scale gives each +# device its real layout: a 432x768 phone and 1280x720 tablets. BUCKETS=( - "phone:1080:1920:phoneScreenshots" - "tablet-7:1920:1080:sevenInchScreenshots" - "tablet-10:2560:1440:tenInchScreenshots" - "chromebook:2560:1440:" + "phone:1080:1920:25:phoneScreenshots" + "tablet-7:1920:1080:15:sevenInchScreenshots" + "tablet-10:2560:1440:20:tenInchScreenshots" + "chromebook:2560:1440:20:" ) if [[ ! -x "$BIN" ]]; then @@ -56,12 +56,12 @@ mkdir -p "$OUT_DIR" rm -rf "$OUT_DIR/phone" "$OUT_DIR/tablet-7" "$OUT_DIR/tablet-10" \ "$OUT_DIR/chromebook" "$DATA_BASE" mkdir -p "$DATA_BASE" -printf 'bucket\tfastlane_dir\torder\tscene\tfile\tfastlane_file\twidth\theight\ttheme\tdark\tstyle\texpected\n' > "$ANALYSIS_FILE" +printf 'bucket\tfastlane_dir\torder\tscene\tfile\tfastlane_file\twidth\theight\tscale\ttheme\tdark\texpected\n' > "$ANALYSIS_FILE" if [[ "$FASTLANE_SYNC" = "1" ]]; then mkdir -p "$FASTLANE_IMAGES_DIR" for bucket in "${BUCKETS[@]}"; do - IFS=: read -r _bucket_name _width _height fastlane_subdir <<<"$bucket" + IFS=: read -r _bucket_name _width _height _scale fastlane_subdir <<<"$bucket" if [[ -n "$fastlane_subdir" ]]; then rm -rf "$FASTLANE_IMAGES_DIR/$fastlane_subdir" mkdir -p "$FASTLANE_IMAGES_DIR/$fastlane_subdir" @@ -77,165 +77,7 @@ run_app() { local output="$5" local theme="$6" local dark="$7" - local style="$8" - - if [[ "${SCREENSHOT_SEED_DB:-0}" = "1" && ! -f "$data_root/inbe.db" ]]; then - NOW=$(date +%s) - USER_ID="local-screenshot-$NOW" - - # Calculate today's date in YYYYMMDD format - TODAY_DATE=$(date +%Y%m%d) - - sqlite3 "$data_root/inbe.db" < 0 ? 1 + (RANDOM % 3) : 0)) # 1-3 if completed, 0 otherwise - updated_at=$(date -d "$day_offset days ago" +%s) - - sqlite3 "$data_root/inbe.db" "INSERT INTO habit_days(habit_id, local_date, completed, count, session_count, updated_at) VALUES ('$habit_id', $local_date, $completed, $habit_day_count, 0, $updated_at);" - done - done - - # Generate varied session data for the last 28 days - session_count=0 - for day_offset in {0..27}; do - local_date=$(date -d "$day_offset days ago" +%Y%m%d) - day_start_time=$(date -d "$day_offset days ago" +%s) - - # Decide session pattern: 40% no sessions, 40% 1 session, 20% 2 sessions - session_pattern=$((RANDOM % 10)) - num_sessions=0 - if [ $session_pattern -lt 4 ]; then - num_sessions=0 - elif [ $session_pattern -lt 8 ]; then - num_sessions=1 - else - num_sessions=2 - fi - - for session_num in $(seq 1 $num_sessions); do - # Only WHM sessions (topic=0, activity=0) - topic=0 - - # Vary start times throughout the day - hour=$((8 + RANDOM % 12)) - minute=$((RANDOM % 60)) - started_at=$((day_start_time + hour * 3600 + minute * 60)) - updated_at=$((started_at + 300)) # Session ends ~5 min later - - session_id="session-$session_count" - session_count=$((session_count + 1)) - - # Generate round hash (just use timestamp) - rounds_hash=$started_at - - sqlite3 "$data_root/inbe.db" "INSERT INTO sessions(id, user_id, started_at, local_date, topic, activity, source, imported_at, rounds_hash, deleted_at, updated_at) VALUES ('$session_id', '$USER_ID', $started_at, $local_date, $topic, 0, 'screenshot', 0, $rounds_hash, 0, $updated_at);" - - # Generate rounds with varied durations - if [ $topic -eq 0 ]; then - # WHM: 3-5 rounds, 30-90 seconds each - num_rounds=$((3 + RANDOM % 3)) - for round_index in $(seq 0 $((num_rounds - 1))); do - seconds=$((30 + RANDOM % 61)) # 30-90 seconds - sqlite3 "$data_root/inbe.db" "INSERT INTO session_rounds(session_id, round_index, seconds) VALUES ('$session_id', $round_index, $seconds);" - done - fi - done - done - fi + local scale="$8" set +e env -u DISPLAY -u WAYLAND_DISPLAY -u SESSION_MANAGER \ @@ -249,7 +91,7 @@ EOF --screenshot-height "$height" \ --screenshot-theme "$theme" \ --screenshot-dark "$dark" \ - --screenshot-style "$style" + --screenshot-ui-scale "$scale" app_status=$? set -e if [[ "$app_status" -ne 0 && ! -s "$output" ]]; then @@ -291,7 +133,7 @@ sync_fastlane_screenshot() { count=0 for bucket in "${BUCKETS[@]}"; do - IFS=: read -r bucket_name width height fastlane_subdir <<<"$bucket" + IFS=: read -r bucket_name width height scale fastlane_subdir <<<"$bucket" bucket_dir="$OUT_DIR/$bucket_name" mkdir -p "$bucket_dir" @@ -301,7 +143,7 @@ for bucket in "${BUCKETS[@]}"; do data_root="$DATA_BASE/${bucket_name}-${scene}" mkdir -p "$data_root" echo "Generating $bucket_name/$slug ${width}x${height} [$expected]" - run_app "$width" "$height" "$data_root" "$scene" "$output" "$theme" "$dark" "$SCREENSHOT_STYLE" + run_app "$width" "$height" "$data_root" "$scene" "$output" "$theme" "$dark" "$scale" if [[ ! -s "$output" ]]; then echo "Screenshot was not created: $output" >&2 exit 1 @@ -329,7 +171,7 @@ for bucket in "${BUCKETS[@]}"; do fi printf '%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\n' \ "$bucket_name" "$fastlane_subdir" "${slug%%-*}" "$scene" "$output" "$fastlane_file" \ - "$width" "$height" "$theme" "$dark" "$SCREENSHOT_STYLE" "$expected" \ + "$width" "$height" "$scale" "$theme" "$dark" "$expected" \ >> "$ANALYSIS_FILE" count=$((count + 1)) done diff --git a/scripts/inner-breeze-social.py b/scripts/inner-breeze-social.py index a0e88d21f..eadbb8812 100755 --- a/scripts/inner-breeze-social.py +++ b/scripts/inner-breeze-social.py @@ -20,7 +20,7 @@ DEFAULT_X_DRAFT = ROOT / ".local" / "social-posts" / "latest-x-draft.txt" DEFAULT_X_ATTACHMENTS = ROOT / ".local" / "social-posts" / "latest-x-attachments.txt" DEFAULT_FEATURE_SCREENSHOTS = [ ROOT / "build" / "screenshots" / "results" / "all-results-pages.png", - ROOT / "build" / "screenshots" / "phone" / "04-habit-statistics-1080x1920.png", + ROOT / "build" / "screenshots" / "phone" / "06-habit-statistics-1080x1920.png", ] diff --git a/src/app/screenshot_request.zi b/src/app/screenshot_request.zi index 6be5c64d3..0390c8ff5 100644 --- a/src/app/screenshot_request.zi +++ b/src/app/screenshot_request.zi @@ -9,6 +9,8 @@ ScreenshotRequest :: struct { height: s32 theme_id: s32 dark_mode: s32 + // The app's ui_scale setting in tenths, or 0 to keep the saved scale. + ui_scale_tenths: s32 scene: [64]u8 output: [512]u8 } @@ -98,6 +100,8 @@ ScreenshotParse :: (args: []string, width: s32, height: s32, request.theme_id = ScreenshotParseInt(value, request.theme_id) } else if option == "--screenshot-dark" { request.dark_mode = ifx ScreenshotParseInt(value, 0) != 0 then 1 else 0 + } else if option == "--screenshot-ui-scale" { + request.ui_scale_tenths = ScreenshotParseInt(value, 0) } else { consumed = false } @@ -117,6 +121,10 @@ ScreenshotParse :: (args: []string, width: s32, height: s32, if request.height < 320 { request.height = 320 } + // Same range as the ui_scale setting; anything else keeps the saved scale. + if request.ui_scale_tenths < 5 || request.ui_scale_tenths > 25 { + request.ui_scale_tenths = 0 + } if request.theme_id < SCREENSHOT_THEME_CURRENT || request.theme_id >= theme_count { request.theme_id = SCREENSHOT_THEME_CURRENT } diff --git a/src/app/screenshots.zi b/src/app/screenshots.zi index c6c032cb4..eb1c4c7db 100644 --- a/src/app/screenshots.zi +++ b/src/app/screenshots.zi @@ -151,6 +151,12 @@ screenshot_seed_habit_counts :: (app: *InnerBreeze) { habit_set_day_count(*app.habits, 2, screenshot_day_index_offset(4), 2) } +// The sun_salutation_pose scene: Upward salute, the second step, with the +// fourth painted character, held four seconds in so the move has finished. +screenshot_pose_character :: 3 +screenshot_pose_step :: 1 +screenshot_pose_ticks :: 4 * 60 + // Realistic habit set for promotional captures. The fixtures above stay as // they are because tests rely on them; only the promo_habits scene uses this. screenshot_showcase_habit_days: [42]s32 = .[ @@ -273,6 +279,10 @@ setup_screenshot_scene :: (app: *InnerBreeze, request: *ScreenshotRequest) { screenshot_seed_showcase_habits(app) } screenshot_apply_theme(app, request.theme_id, request.dark_mode) + // Store screenshots render a phone or tablet layout at device density. + if request.ui_scale_tenths != 0 { + app.ui_scale_tenths = request.ui_scale_tenths + } if AppTextFromCString(*request.scene[0], 64) == "lists" || AppTextFromCString(*request.scene[0], 64) == "lists_completed" { list_id: [37] u8 completed_id: [37] u8 @@ -403,6 +413,19 @@ setup_screenshot_scene :: (app: *InnerBreeze, request: *ScreenshotRequest) { app.main_tab = APP_MAIN_TAB_PRACTICE app.exercise_type = EXERCISE_SUN_SALUTATION sun_salutation_practice_start(app) + } else if scene_text == "sun_salutation_pose" { + // A full-body pose for store pages, selected by the request's step. + app.main_tab = APP_MAIN_TAB_PRACTICE + app.exercise_type = EXERCISE_SUN_SALUTATION + app.sun_salutation.character = screenshot_pose_character + sun_salutation_practice_start(app) + app.sun_salutation.step = screenshot_pose_step + app.sun_salutation.step_ticks = screenshot_pose_ticks + } else if scene_text == "meditation_home" || scene_text == "sun_salutation_home" { + app.exercise_type = ifx scene_text == "meditation_home" then (EXERCISE_MEDITATION) else (EXERCISE_SUN_SALUTATION) + app.main_tab = APP_MAIN_TAB_PRACTICE + app.practice_tab = PRACTICE_TAB_PLAY + app.breathing.screen = ScreenStart } else if AppTextFromCString(*request.scene[0], 64) == "sun_salutation_results" { screenshot_setup_result_scene(app, EXERCISE_SUN_SALUTATION) } else if AppTextFromCString(*request.scene[0], 64) == "calendar_meditation" { diff --git a/tests/screenshot_request_behavior.zi b/tests/screenshot_request_behavior.zi index 6c574d864..0f6cce8e7 100644 --- a/tests/screenshot_request_behavior.zi +++ b/tests/screenshot_request_behavior.zi @@ -58,6 +58,29 @@ Answer :: () -> s32 { ScreenshotParseInt("not-a-number", 9) != 9 { return -6 } + if request.ui_scale_tenths != 0 { + return -8 + } + args[12] = "--screenshot-ui-scale" + request = ScreenshotParse(args[:], 800, 600, 5, true) + if request.ui_scale_tenths != 0 { + return -9 + } + scaled: [5]string + scaled[0] = "inbe" + scaled[1] = "--screenshot" + scaled[2] = "capture.png" + scaled[3] = "--screenshot-ui-scale" + scaled[4] = "25" + request = ScreenshotParse(scaled[:], 800, 600, 5, true) + if !request.valid || request.ui_scale_tenths != 25 { + return -10 + } + scaled[4] = "26" + request = ScreenshotParse(scaled[:], 800, 600, 5, true) + if request.ui_scale_tenths != 0 { + return -11 + } args[3] = "" request = ScreenshotParse(args[:], 800, 600, 5, true) if request.active != 1 || request.valid { diff --git a/tests/screenshot_scene_test.sh b/tests/screenshot_scene_test.sh index eaefe4ed9..44617d908 100644 --- a/tests/screenshot_scene_test.sh +++ b/tests/screenshot_scene_test.sh @@ -9,8 +9,10 @@ fail() { exit 1 } -grep -q 'SCREENSHOT_STYLE="${SCREENSHOT_STYLE:-2}"' "$SCRIPT" || - fail "screenshots must default to Material style" +grep -q -- '--screenshot-ui-scale "$scale"' "$SCRIPT" || + fail "screenshots must render each device bucket at its own UI scale" +grep -q '"phone:1080:1920:25:phoneScreenshots"' "$SCRIPT" || + fail "phone screenshots must use the phone layout at 2.5x" mapfile -t scenes < <( awk ' @@ -27,13 +29,19 @@ mapfile -t scenes < <( [[ "${#scenes[@]}" -eq 8 ]] || fail "expected 8 Play screenshot scenes, got ${#scenes[@]}" -for forbidden in 'rest_break' 'sun_salutation_session' \ - '07-sun-salutation-session' '08-cobalt-dark-practice'; do +for forbidden in 'rest_break' '08-cobalt-dark-practice'; do if printf '%s\n' "${scenes[@]}" | grep -q "$forbidden"; then fail "forbidden screenshot scene is still present: $forbidden" fi done +IFS=: read -r scene slug theme dark expected <<<"${scenes[1]}" +[[ "$scene" = "sun_salutation_home" ]] || + fail "slot 2 must show the Sun Salutation practice card" +IFS=: read -r scene slug theme dark expected <<<"${scenes[4]}" +[[ "$scene" = "promo_habits" ]] || + fail "slot 5 must use the showcase habits, not test fixtures" + for i in 0 1 2 3 4 5 6; do IFS=: read -r scene slug theme dark expected <<<"${scenes[$i]}" [[ "$theme" = "-1" ]] ||