{"by":"marekkowalczyk","descendants":55,"id":48340315,"kids":[48345954,48345153,48363741,48344687,48344155,48344234,48349973,48355124,48345321,48345183,48352865,48345347,48353461,48348626,48349886,48347311,48351631,48372651,48346678,48343886,48347168,48354757,48349033,48345364,48344641,48345795,48345587,48343895,48377048,48344145],"score":132,"text":"I built a terminal app that paces slow breathing at 6 breaths per minute for vagal tone training. It&#x27;s a single Python file, stdlib only, no dependencies — just run breathe and follow the bar.<p>I&#x27;m a cardiology patient (HFrEF). Slow breathing at resonance frequency is one of the few non-pharmacological interventions shown to improve cardiac vagal tone and baroreflex sensitivity (Bernardi et al., Circulation 2002; Lancet 1998). I wanted a frictionless daily habit tool — no app store, no account, no subscription, just open terminal and go.<p>Design constraints, all grounded in the clinical literature:<p>- No breath retention — Valsalva risk in cardiac patients<p>- No rapid breathing — minimum 8-second cycles<p>- Exhale ≤ 2x inhale — no evidence for extreme ratios<p>- Immediate exit, always — q or Ctrl+C restores the terminal even on crash<p>The README includes a resonance frequency measurement protocol for anyone with a chest-strap HRV monitor who wants to find their individual optimum instead of using the 6 bpm default.<p>macOS only (uses afplay for audio cues). MIT licensed.<p>pip install breathe-cli<p>or<p>brew tap marekkowalczyk&#x2F;breathe &amp;&amp; brew install breathe.","time":1780173053,"title":"Show HN: Breathe CLI – Paced resonance breathing in the macOS terminal","type":"story","url":"https://github.com/marekkowalczyk/breathe-cli"}