Show HN: Zenta – Mindfulness for Terminal Users

(github.com)

115 points | by ihiep 9 hours ago ago

29 comments

  • set5think a minute ago

    This is elegant and tasteful in all the right ways. Really nice work!

  • nakedneuron 2 hours 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.)

    • ihiep an hour ago

      Beautiful idea! I’ll explore how to let the breath respond to your keys.

  • five9s an hour ago

    Pretty cool. Have you thought about auto triggering a need for a breath at certain intervals?

    • ihiep an hour ago

      The best breath is the one you notice, not the one you're told to take.

  • zipping1549 6 hours ago

    I always love this kind of silly tui tools. Thanks for sharing!

  • nathell 2 hours ago

    Thumbs up for the philosophy. This is the way.

  • ashlance 3 hours ago

    Thanks for this. We need more of this kind of energy in the world.

  • shubhamintech 5 hours ago

    no analytics, no numbers, love that!

  • slowkoder 5 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.

  • car 8 hours ago

    Great.

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

    • ihiep 7 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 7 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.

  • aftergibson 7 hours ago

    Well that's just neat, thanks for sharing!

    • ihiep 7 hours ago

      It is only what it is. Thank you for seeing

  • j4cobgarby 4 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?

    • ihiep 23 minutes ago

      Great idea! Just fixed this. Now when you rename zenta to relax, all help messages automatically show "relax" instead of "zenta". Available in v0.3.2. Thanks!

    • 3 hours ago
      [deleted]
  • piepiemumu 4 hours ago

    Nice! Would be cool if implemented also as a progress bar.. :)

  • d--b 5 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 5 hours ago

      Whether spa or rock, both return you to now.

  • mgb111 5 hours ago

    quite original, bringing mindfulness to coding good luck with it

  • barbazoo 2 hours ago

    Where do I put my OpenAi key though or are you saying this doesn’t even need a LLM :) /s

    • ihiep 19 minutes ago

      Runs offline. Powered by consciousness. :)

  • tomhow 4 hours ago

    [stub]

    • abhisek 5 hours ago

      I experienced mindfulness when I moved to i3wm.

      • 5 hours ago
        [deleted]
    • 5 hours ago
      [deleted]
      • 5 hours ago
        [deleted]