百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
N

nafas

> 开发工具
开源

‍♂️ 呼吸体操应用

196 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

‍♂️ 呼吸体操应用

Overview

Breathing gymnastics is a system of breathing exercises that focuses on the treatment of various diseases and general health promotion. Nafas is a collection of breathing gymnastics designed to reduce the exhaustion of long working hours. With multiple breathing patterns, Nafas helps you find your way to a detoxified energetic workday and also improves your concentration by increasing the oxygen level. No need to walk away to take a break, just sit comfortably, run Nafas and let the journey begin. Nafas means breath in Persian.

Nafas offers a selection of predefined breathing exercise programs. Each program consists of multiple cycles. The exercises begin with a gentle preparation phase to help users settle in and focus, followed by a series of timed inhales and exhales. Between these breaths, the programs incorporate deliberate pauses that allow users to retain and sustain their breath. These cycles aim to enhance both physical and mental well-being.

	Open Hub
		




	PyPI Counter
	




	Github Stars
	




	Branch
	master	
	dev	




	CI
	
	




	Code Quality

Installation

Source Code

  • Download Version 1.5 or Latest Source
  • pip install .

PyPI

  • Check Python Packaging User Guide
  • pip install nafas==1.5

Usage

ℹ️ You can use nafas, python -m nafas to run this program

ℹ️ Checkout the available programs in PROGRAMS.md

Version

bash
nafas --version

Basic

bash
nafas

Silent Mode

ℹ️ This mode will disable the sound playing system

bash
nafas --silent
```	

### Speaker

⚠️ This mode may not be supported on all systems

ℹ️ Customize your experience by choosing from a set of speaker voices to guide you through the exercises

ℹ️ The default speaker is `us1`

ℹ️ You can specify the speaker using the `--speaker`:

```console
nafas --speaker=us1

Choose your speaker from the following list:

ID Description
us1 Feminine voice with a US accent
us2 Masculine voice with a US accent
in1 Feminine voice with an Indian accent
in2 Masculine voice with an Indian accent
cn1 Feminine voice with a Chinese accent
cn2 Masculine voice with a Chinese accent
ca1 Feminine voice with a Canadian accent
ca2 Masculine voice with a Canadian accent
au1 Feminine voice with an Australian accent
au2 Masculine voice with an Australian accent
uk1 Feminine voice with a British accent
uk2 Masculine voice with a British accent

Skip Intro

ℹ️ This mode will skip the introduction

bash
nafas --skip-intro
```	

### Color

⚠️ This mode may not be supported on all systems

ℹ️ This mode will change the text color

ℹ️ Valid choices: [`black`, `red`, `green`, `yellow`, `blue`, `magenta`, `cyan`, `white`, `lightblack`, `lightred`, `lightgreen`, `lightyellow`, `lightblue`, `lightmagenta`, `lightcyan`, `lightwhite`]

ℹ️ The default color is `white`

```console
nafas --color="red"

Background Color

⚠️ This mode may not be supported on all systems

ℹ️ This mode will change the background color

ℹ️ Valid choices: [black, red, green, yellow, blue, magenta, cyan, white, lightblack, lightred, lightgreen, lightyellow, lightblue, lightmagenta, lightcyan, lightwhite]

ℹ️ The default background color is black

bash
nafas --color="red" --bg-color="blue"

Intensity

⚠️ This mode may not be supported on all systems

ℹ️ This mode will change the text intensity

ℹ️ Valid choices: [normal, bright, dim]

ℹ️ The default intensity is normal

bash
nafas --color="red" --intensity="bright"

Custom Config

ℹ️ Users can either generate a starter configuration file or load their own custom configurations

Generate a Starter Config

ℹ️ This will create a base configuration file at the specified path

bash
nafas --generate-config="new_program.json"

Load an Existing Config

bash
nafas --config="program1.json"

Config example:

json
{
    "name": "program1",
    "unit": 2,
    "pre": 3,
    "cycle": 10,
    "ratio": {
        "inhale": 2,
        "exhale": 2,
        "retain": 3,
        "sustain": 4
    }
}

Screen Record

Issues & Bug Reports

Just fill an issue and describe it. We'll check it ASAP!

  • Please complete the issue template

You can also join our discord server

References

1- Prana Breath

2- Rickard, Kathleen Benjamin, Dorothy J. Dunn, and Virginia M. Brouch. "Breathing techniques associated with improved health outcomes." (2015).

3- Zaccaro, Andrea, Andrea Piarulli, Marco Laurino, Erika Garbella, Danilo Menicucci, Bruno Neri, and Angelo Gemignani. "How breath-control can change your life: a systematic review on psycho-physiological correlates of slow breathing." Frontiers in human neuroscience 12 (2018): 353.

4- Brook, Robert D., Lawrence J. Appel, Melvyn Rubenfire, Gbenga Ogedegbe, John D. Bisognano, William J. Elliott, Flavio D. Fuchs et al. "Beyond medications and diet: alternative approaches to lowering blood pressure: a scientific statement from the American Heart Association." Hypertension 61, no. 6 (2013): 1360-1383.

5- Russo, Marc A., Danielle M. Santarelli, and Dean O’Rourke. "The physiological effects of slow breathing in the healthy human." Breathe 13, no. 4 (2017): 298-309.

6- Bujatti, M., and P. Biederer. "Serotonin, noradrenaline, dopamine metabolites in transcendental meditation-technique." Journal of Neural Transmission 39, no. 3 (1976): 257-267.

7- Martarelli, Daniele, Mario Cocchioni, Stefania Scuri, and Pierluigi Pompei. "Diaphragmatic breathing reduces exercise-induced oxidative stress." Evidence-Based Complementary and Alternative Medicine 2011 (2011).

8- DrWeil, Integrative Medicine & Healthy Living

9- Human Givens Institute

10- This 2-Minute Breathing Exercise Can Help You Make Better Decisions

11- Using 5-5-5 Breathing to Calm Down

12- Free Text-To-Speech and Text-to-MP3 for US English

13- Pranayama Breathing Techniques and Tips

14- Box Breathing Benefits and Techniques

15- Box breathing: How to do it, benefits, and tips

16- Breathing at a rate of 5.5 breaths per minute with equal inhalation-to-exhalation ratio increases heart rate variability

17- Coherent Breathing Timer - 6 Breaths Per Minute | 5 Seconds in / 5 Seconds Out | With Bells

18- Pranayama : Breathing Exercise

Cite

If you use Nafas in your research, we would appreciate citations to the following paper:

Sabouri, Sadra, and Sepand Haghighi. "Nafas: Breathing Gymnastics Application." arXiv preprint arXiv:2412.04667 (2024).

bibtex
@article{sabouri2024nafas,
  title={Nafas: Breathing Gymnastics Application},
  author={Sabouri, Sadra and Haghighi, Sepand},
  journal={arXiv preprint arXiv:2412.04667},
  year={2024}
}

Show Your Support

Star This Repo

Give a ⭐️ if this project helped you!

Donate to Our Project

Bitcoin

1KtNLEEeUbTEK9PdN6Ya3ZAKXaqoKUuxCy

Ethereum

0xcD4Db18B6664A9662123D4307B074aE968535388

Litecoin

Ldnz5gMcEeV8BAdsyf8FstWDC6uyYR6pgZ

Doge

DDUnKpFQbBqLpFVZ9DfuVysBdr249HxVDh

Tron

TCZxzPZLcJHr2qR3uPUB1tXB6L3FDSSAx7

Ripple

rN7ZuRG7HDGHR5nof8nu5LrsbmSB61V1qq

Binance Coin

bnb1zglwcf0ac3d0s2f6ck5kgwvcru4tlctt4p5qef

Tether

0xcD4Db18B6664A9662123D4307B074aE968535388

Dash

Xd3Yn2qZJ7VE8nbKw2fS98aLxR5M6WUU3s

Stellar

GALPOLPISRHIYHLQER2TLJRGUSZH52RYDK6C3HIU4PSMNAV65Q36EGNL

Zilliqa

zil1knmz8zj88cf0exr2ry7nav9elehxfcgqu3c5e5

Coffeete

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Pythonapplicationbreathbreathingcalm

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类开发工具
定价开源

> 相关工具

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具