NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
Show HN: Breathe CLI – Paced resonance breathing in the macOS terminal (github.com)
samrivera 1 days ago [-]
37 days into quitting smoking and breathing exercises have been a huge help for the craving spikes. a simple terminal tool for paced breathing actually makes a lot of sense - when the craving hits at 3pm and youre staring at a screen anyway, having it right there in the terminal is way less friction than pulling out a phone app. starred.
Obscurity4340 1 days ago [-]
I've long wondered if a big unsung part of smoking is the way it gets normally high-strung, fast moving and shallow breathers to slow down and inhale deeply for 3-5 mins at a time. They might not get that kind of air any other way
marekkowalczyk 22 hours ago [-]
In psychology there's the concept of Secondary Benefits — a behavior harmuful on the surface always has a Positive Intention behind it — otherwise an individual would not engage in it.
marekkowalczyk 22 hours ago [-]
I've never thought of this kind of a use case but I'm happy you see some value in trying out `breathe`. I'm curious of your feedback after you've worked with it for some time.
rendx 7 hours ago [-]
Interesting. I tried it for a bit over a minute (8 cycles), but then I had to stop. I get really dizzy unless I take breathing breaks after outbreaths. Will try again to see where this goes, thanks! Really like the simplicity.
rendx 6 hours ago [-]
11 cycles this time. Went a bit further into the dizziness, since I was more prepared for it this time. Unsure whether it makes sense to just stay with the dizziness as long as I can, or whether I should stop earlier. Probably either is fine as long as I am somewhat confident about it?
mpeg 1 days ago [-]
This is cool, I have SVT and usually am able to stop an episode if I do slow breathing like that; although sometimes if that doesn’t work the modified reverse valsalva manoeuvre does it every time.
marekkowalczyk 22 hours ago [-]
I'm wondering if the protocols that I have included with the app could be helpful in your situation. I'm curious of your feedback on the app.
skeledrew 1 days ago [-]
Looks interesting. And it's pure Python with no 3p packages. Pretty trivial to support other OSes: make that audio player invocation configurable.
marekkowalczyk 22 hours ago [-]
Thank you for noticing. Yes, I will include other OSes in a future version; I just wanted to release ASAP after squashing some weird bugs.

Give it a try and share your feedback.

iammjm 1 days ago [-]
Very nice. I have no heart issues but have been experimenting with extended breathing/longer exhales to calm down my sympathetic nervous system. I believe intentional breathing is a big, mostly underutilized tool all of us have to be generally more relaxed and healthier and also to calm ourselves down in stressful situations
marekkowalczyk 22 hours ago [-]
Good point. I can't see a reason not to regulate your nervous system. Give the app a try and share your feedback.
mindhash 12 hours ago [-]
Going to try this. I have a breathing clock gif as default page on my browser. I use it while I am passive in meetings. Resonant breathing has been great for me for IBS
lavaman131 20 hours ago [-]
This is nice. I like that it treats breathing like a small terminal ritual instead of turning it into a whole wellness app.
darcien 1 days ago [-]
This reminds me of another HRV training from few years back shared here.

- https://news.ycombinator.com/item?id=37538028

- https://github.com/kieranabrennan/every-breath-you-take

spieden 24 hours ago [-]
I've been running this a bit with a Polar chest strap heart monitor. I'm thinking about forking it to add some audio cues so that I can have it running in the background while I work and try to keep my heart variability up. I find that I tense up when I'm intent on the work which leads to a lot of problems. I'm hoping having something like this app that uses audio cues for breathing but only comes on when my heart variability drops into the red could get me into a continuous state of low sympathetic nervous system activation while working, which is very much not the norm for me for historical reasons.

The author of this tool eventually created a heart rate monitoring hardware product and an app to go with it to do HRV training. I think `every-breath-you-take` may have been an early prototype that he generously open sourced(?)

marekkowalczyk 22 hours ago [-]
What you're referring to reminds me of the concept of Biofeedback.
marekkowalczyk 22 hours ago [-]
Indeed related! I don't have a Polar but the app looks nice; starred for future review / inspiration. Thank you.

Try `breathe` and share your feedback!

ezez2 11 hours ago [-]
This reminds me of this project: https://github.com/e6a5/zenta
thoughtpeddler 22 hours ago [-]
Very cool project. Is this similar to the Apple Watch ‘mindful minutes’ breathing feature? I assume it’s based on the same research as is cited in this project’s repo?
marekkowalczyk 22 hours ago [-]
Thank you for your appreciation. I don't have an Apple Watch so it's hard to say. There isn't a ton of research on the subject — no Big Pharma sponsorship money in a breathing technique that you can't patent — so I suspect it's the same research.

Give the app a try and share your feedback. Happy Breathing :)

leotryhard 20 hours ago [-]
0 deps + afplay combo is the right move for this. Was wondering why not AVAudioPlayer until I saw the cycle lengths, overkill for 8s tempo.
Ruslan1095 1 days ago [-]
Nice work on the zero-dependency approach. I'm building a similar tool for Windows (voice-to-text) and the "no account, just run" philosophy resonates — friction kills daily habits.
marekkowalczyk 22 hours ago [-]
Looking at your comment and at other comments as well I think this approach is the new black, deservedly (is that even a word?). Try the app and share your feedback.
mark_l_watson 1 days ago [-]
I love the zero dependency implementation. I do this style of breathing during specific time periods of practicing Qi Gong. I will try your script when I get to my laptop. Thanks.
marekkowalczyk 22 hours ago [-]
Thank you for noticing my effort. Do give it a try and please report your experience. I'm open to feedback.
luckykiddie 16 hours ago [-]
Just tries the 4-7-8 method days before. Why not support breathe holds?
rippeltippel 8 hours ago [-]
The readme says "This app deliberately does not support breath retention, rapid breathing, or any pattern not grounded in the slow-breathing clinical literature." Also links to relevant literature.
ahmazroot 1 days ago [-]
Not every project needs agents, workflows, and LLM integrations. Sometimes a focused tool is exactly what's needed.
marekkowalczyk 22 hours ago [-]
Exactly that kind of thinking was my idea for the app. A UNIX-like approach to solving a personal problem for the market of one :)

I'm tired of accounts and subscriptions. Give it a try and share your feedback!

glaslong 1 days ago [-]
does it have modes for Hamon or Total Concentration breathing?
marekkowalczyk 22 hours ago [-]
Not at this point. I developed it with the Market of One in mind — for myself. But I'm open to requests that will broaden the scope of modes for other users. I just don't want to invest time into speculative development. Try the app as-is and share your feedback.
ajithhyd 7 hours ago [-]
Could add a pomodoro timer in the mix lol
chrisvenum 1 days ago [-]
Terminally breathing
marekkowalczyk 22 hours ago [-]
Hah! Nice catch. I should have thought of this name myself.

Try the app and share your feedback.

yong076 1 days ago [-]
wow this repo is peaceful
marekkowalczyk 22 hours ago [-]
What do you mean?
mistrial9 1 days ago [-]
marekkowalczyk 22 hours ago [-]
Thank you for sharing — downloaded. I'll comb it for relevant info for the next sprint. Meanwhile, try the app and share your feedback!
BlueBerry2001 22 hours ago [-]
[flagged]
fulafel 1 days ago [-]
[dead]
plexescor 1 days ago [-]
[dead]
edgardurand 1 days ago [-]
[flagged]
michaelmjh 1 days ago [-]
[dead]
georgefloid 1 days ago [-]
[dead]
bakrisolo 1 days ago [-]
[flagged]
arionmiles 1 days ago [-]
AI slop comment
1 days ago [-]
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 17:29:05 GMT+0000 (Coordinated Universal Time) with Vercel.