Nafas : Breathing Gymnastics Application

Sadra Sabouri, Sepand Haghighi · 2024

Read Nafas : Breathing Gymnastics Application by Sadra Sabouri, Sepand Haghighi (2024) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2412-04667.txt.

Introduction

Long hours at a computer can hurt both body and mind, and Sadra Sabouri and Sepand Haghighi offer a small fix in a 2024 report. Their tool, Nafas, guides breathing exercises right inside the terminal. Breathing practice can help focus, cut stress, and support well-being, yet most tools force users to leave their workspace and open an app.

Nafas runs as a command-line program, so developers and other heavy computer users can use it where they already work. It offers structured programs at varied levels, so a user can pick a short calm session or a longer one. The report describes the design and the programs it ships. Readers get a simple, free tool built for desk work.

Catalog record

CREATORSadra Sabouri, Sepand Haghighi
YEAR2024
COLLECTIONPAPERS
FORMATTXT
FILE SIZE15 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2412-04667

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

Nafas : Breathing Gymnastics Application Sadra Sabouri, Sepand Haghighi Abstract \centeringABSTRACT. Long sessions of computer use introduce physical and mental health risks, particularly for programmers and intensive computer users. Breathing exercises can improve focus, reduce stress, and overall well-being. However, existing tools for such practices are often app-based, requiring users to leave their workspace. In this technical report, we introduce Nafas , a command-line interface (CLI) application designed specifically for computer users, enabling them to perform breathing exercises directly within the terminal. Nafas offers structured breathing programs with various levels tailored to the needs of busy developers and other intensive computer users. Disclaimer The breathing program techniques in this application are not intended to diagnose, treat, cure, or prevent any medical condition. These programs are designed as practical exercises developed by general observations and evaluations to promote relaxation, focus, and well-being in healthy individuals. For curing intents or medical treatments, we recommend referring to established medical literature and consulting healthcare professionals. 1. Introduction Using computers in prolonged sessions become a defining characteristic of modern work and leisure, especially for programmers and other intensive users who spend hours in front of screens daily. This extended screen time can lead to various health issues ( ellahi2011computer ) , including physical strain ( taib2016effect ) , mental fatigue ( van2003impact ) , and increased stress ( walz2012stress ) . Physical symptoms, such as eye strain ( kaur2022digital ) and musculoskeletal discomfort ( blatter2002duration ) are common, while mental challenges include heightened anxiety ( kim2016computer ) , reduced attention span ( espiritu2016early ) , and susceptibility to burnout ( salanova2002self ) . The cumulative effect of these issues is reduced productivity in work and quality of life. Breathing exercises are increasingly recognized as effective ways to counteract these health challenges, especially for extensive computer users ( tabor2024designing ; fernandes2021exploring ; araya2021benefits ) . Slow and controlled breathing has been shown to calm the nervous system, enhance heart rate variability, improve respiratory efficiency, and reduce stress and anxiety responses ( russo2017physiological ; zaccaro2018breath ) . Regular breathing exercises can also enhance focus and improve emotional regulation, contributing to an overall sense of well-being ( analayo2019meditation ) . Studies show that breath control can mitigate the impacts of stress and anxiety ( novaes2020effects ) , making it particularly beneficial for high-intensity tasks like programming ( valenza2014effectiveness ; jerath2015self ) . While various applications support breathing exercises, they are often app-based, requiring users to leave their primary workspace to engage with them. For many users, especially developers accustomed to command-line workflows, this shift can disrupt productivity and deter regular use. Tools that integrate directly into the user’s environment, the Command-Line-Interface (CLI) application, in this case, offer a more seamless experience, allowing users to perform breathing exercises without interrupting their workflow. In this technical report, we introduce Nafas 1 1 1 https://github.com/sepandhaghighi/nafas , which means “breath” in Farsi, a CLI application designed to address these needs by providing in-terminal access to breathing exercises. Unlike traditional well-being applications, Nafas allows computer users to use structured breathing programs without leaving their working environment. Nafas promotes mental and physical well-being in a format that complements, rather than disrupts, the user’s workflow. Nafas has gained significant popularity since its release in August 2020. As of writing this technical report, with eight versions released, it has received 150 stars and has been downloaded 16,000 times. This technical report is based on Nafas version 0.8. 2. Related Work In this section, we review related works in breathing techniques for health, well-being tools tailored for developers, and existing approaches to integrate mindfulness in the workspace. By examining the limitations of current tools, we identify gaps that Nafas seeks to address as a CLI-based breathing application. Health Concerns and Solutions for Computer Users. Extensive computer use, especially among developers, can lead to various health issues like Computer Vision Syndrome (CVS) ( akinbinu2014impact ) and Carpal Tunnel Syndrome ( andersen2003computer ) . To address physical strain, ergonomic tools like adjustable chairs and desks ( chandra2009ergonomics ) , along with regular breaks ( henning1997frequent ) , are commonly recommended. For mental well-being, mindfulness techniques such as slow breathing ( lan2021slow ) exercises can help reduce stress and improve focus. Slow Breathing and Health Benefits. Slow breathing, defined as a rate of 4 to 10 breaths per minute (0.07–0.16 Hz) compared to the typical 10–20 breaths per minute (0.16–0.33 Hz) ( russo2017physiological ) , provides numerous physiological and psychological benefits ( campanelli2020pranayamas ) . It improves respiratory efficiency by increasing lung volume, optimizing airflow, and reducing dead space, which enhances oxygen delivery to the bloodstream ( russo2017physiological ) . Cardiovascular benefits include increased heart rate variability (HRV), better synchronization of blood pressure and heartbeat rhythms, improved circulation, and potentially lower blood pressure ( russo2017physiological ) . Additionally, slow breathing promotes coordination between the heart and lungs, improving gas exchange while reducing the heart’s workload and regulating blood pressure through aligned breathing and heart rhythms ( russo2017physiological ) . From a nervous system perspective, slow breathing strengthens vagal nerve activity, shifting the body to a relaxed parasympathetic state and balancing the stress-relaxation response, enhancing adaptability and stability ( russo2017physiological ; zaccaro2018breath ) . Psychologically, slow breathing increases relaxation, comfort, and alertness while reducing negative emotional states such as anxiety ( novaes2020effects ) , depression, and anger ( zaccaro2018breath ) . Well-being Tools for Developers. Several well-being tools cater specifically to developers, focusing on practices like mindful breaks, physical exercise reminders, and productivity monitoring. Tools such as Stretchly ( strechly ) and Workrave ( workrave ) are designed to encourage short, periodic breaks to prevent burnout and physical strain. These applications operate in a graphical environment and often interrupt the user with pop-ups or reminders, which can disrupt the workflow or become obtrusive. Nafas fills this gap by offering a non-intrusive, CLI-based wellness tool that aligns with developers’ working habits. Unlike app-based or web-based wellness tools that require leaving the workspace, Nafas allows users to perform breathing exercises directly in the terminal, supporting both physical and mental health in a way that integrates seamlessly with their work routines. 3. Structure Table 1. Overview of Nafas Breathing Programs Program Description Level Ratios Unit Cycles (I:R:E:S) (Seconds) Clear Mind ( albul_2014_prana ) Short program to reduce mental fog and improve focus. Useful for developers during coding breaks. Beneficial for those needing quick mental refreshment. B 1:0:3:0 3 35 M 1:0:4:0 3 28 A 1:0:5:0 3 24 Relax1 ( albul_2014_prana ) Relaxation-focused program to calm nerves. Ideal for use after intense coding sessions. Useful for programmers managing stress. B 1:0:2:2 3 28 M 1:0:2:3 3 24 A 1:0:2:4 3 22 Relax2 ( weil_2014_dr ) Enhanced relaxation program with a focus on breathing depth. Suitable for unwinding after long work sessions. B 4:7:8:0 1 4 M 4:7:8:0 1 8 A 4:7:8:0 1 12 Relax3 ( humangivensinstitute_2017_711 ) Deeper relaxation exercise for stress relief and a more meditative state. Ideal for unwinding after complex projects. B 7:0:11:0 1 15 M 7:0:11:0 1 20 A 7:0:11:0 1 24 Calming1 ( albul_2014_prana ) Soothing breathing pattern, helpful for reducing anxiety. Beneficial for long working hours and maintaining calm. B 1:2:1:2 3 24 M 1:3:1:3 3 22 A 1:4:1:4

Read the complete text