Show HN: Zenta – Mindfulness for Terminal Users

(github.com)

95 points | by ihiep 6 hours ago

12 comments

  • nakedneuron 38 minutes ago
    Great job!

    I was looking for an app/cli that lets me adjust breathing patterns on the fly (think of extending the hold duration for 0.5s and a while after for instance extend the outbreathe duration 1s, while having my eyes closed using my bluetooth controller). Finding something like this on any app store with its thousands of bloated apps seems quite hopeless and it's a relatively simple feature. Can I hope for your kindness to implement something like that?

    (I'm using 8bitdo controller and mapping of buttons is possible via keyd, so no need for adding configurations, any key combo would do).

    I'm also happy for anyone else pointing me to a solution.

    Keep on doing good!

    (Happy to follow your repo if I can hope for this feature. No worries, I'm a patient man.)

  • zipping1549 3 hours ago
    I always love this kind of silly tui tools. Thanks for sharing!
  • ashlance 1 hour ago
    Thanks for this. We need more of this kind of energy in the world.
  • slowkoder 3 hours ago
    Any plans for additional commands? I was thinking that a 'focus' command with a short to-do list (perhaps paired with some Stoic quips) could be useful in keeping one on track over the course of the day.
  • piepiemumu 1 hour ago
    Nice! Would be cool if implemented also as a progress bar.. :)
  • car 5 hours ago
    Great.

    I only get a line animation in the MacOS terminal app, under zsh, it doesn't look like the description.

    • ihiep 5 hours ago
      Update: Just released v0.3.1 with Terminal.app compatibility fixed! The tool now auto-detects your terminal and adapts gracefully. You'll see a beautiful progressive breathing animation that flows like: Inhale: · → ○ → ●○○ → ●●●● (building up) Exhale: ●●●● → ●○○ → ○ → · (releasing down) Try the latest version - it should breathe beautifully on Terminal.app now. Thanks for helping make mindfulness accessible to everyone!
    • ihiep 5 hours ago
      Thanks for the feedback! You're right. I haven’t tested it on Terminal.app yet. It works well on iTerm2 and most Linux terminals, but I’ll review it on Terminal.app soon and update the tool or the README to reflect compatibility. Really appreciate you pointing that out.
  • j4cobgarby 2 hours ago
    This is quite nice! I found the name zenta slightly inconvenient to remember and type, so I renamed the executable to 'relax', but the help messages still say 'zenta'. As a small fix, maybe you can make the help messages print argv[0] as the executable name?
  • shubhamintech 3 hours ago
    no analytics, no numbers, love that!
  • aftergibson 4 hours ago
    Well that's just neat, thanks for sharing!
    • ihiep 4 hours ago
      It is only what it is. Thank you for seeing
  • d--b 3 hours ago
    Looks great, though I must say I am not a huge fan of the yoga-namaste-style theme. Reminds me of spas where the "relaxing" music is stock ambient crap.

    If I had more time, I'd theme it with a more rock n roll approach.

    • ihiep 2 hours ago
      Whether spa or rock, both return you to now.
  • mgb111 3 hours ago
    quite original, bringing mindfulness to coding good luck with it
  • tomhow 1 hour ago
    [stub]
    • abhisek 3 hours ago
      I experienced mindfulness when I moved to i3wm.