Metadata-Version: 2.4
Name: zazen-tui
Version: 0.1.0
Summary: Minimalist Zazen & Kinhin meditation TUI with a rotating spiral, singing bowl audio, and Dracula dark theme.
Author: postsonde
License: GPL-3.0-only
Project-URL: Homepage, https://github.com/postsonde/zazen-tui
Project-URL: Repository, https://github.com/postsonde/zazen-tui
Project-URL: Issues, https://github.com/postsonde/zazen-tui/issues
Keywords: tui,textual,zazen,zen,meditation,timer,dracula,linux,terminal
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: End Users/Desktop
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Utilities
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: textual>=0.80.0
Dynamic: license-file

# 🌀 Zazen TUI

<p align="center">
  <img src="screenshot.gif" alt="Zazen Terminal Suite Demo" width="85%" />
</p>

A minimalist terminal user interface (TUI) for Zazen & Kinhin meditation, built with [Textual](https://textualize.io) and the **Dracula** theme.

## ✨ Key Features

- **Rotating Spiral & Focus Mode (`a`):** Smooth open spiral animation with a Dracula color gradient — auto-fades UI hints after 2.5 seconds for distraction-free sitting.
- **Complete Zen Session Flow (`p` / `k` / `2`):** Configure preparation countdown (`0–5 min`), Zazen (`1–120 min`), Kinhin walking meditation (`5–15 min`), and an optional 2nd Zazen round.
- **Synthesized Singing Bowl Audio (`s`):** Generates harmonic singing bowl and bell tones in-memory via `paplay` / `aplay` with a subtle Visual Bell.
- **Multi-Language & Koans (`Ctrl+P` / `l` / `c`):** Switch between German, English, and Japanese via the Command Palette and cycle through traditional Zen Koans.

## 📦 Installation

```bash
pipx install git+https://github.com/postsonde/zazen-tui.git
```

## 🚀 Usage

```bash
zazen
```

### Shortcuts

| Key | Action |
| :--- | :--- |
| `Space` | Start / Pause session |
| `↑` / `↓` | Adjust Zazen (`±5 min`) |
| `←` / `→` | Fine-tune Zazen (`±1 min`) |
| `p` | Set preparation timer (`0–5 min`) |
| `k` | Cycle Kinhin duration (`Off / 5m / 10m / 15m`) |
| `2` | Toggle 2nd Zazen round |
| `a` | Toggle spiral animation |
| `t` | Cycle timer display (`Bar / Digits / Hidden`) |
| `s` | Cycle sound (`Bowl / Bell / System / Mute`) |
| `c` | Next Zen Koan |
| `l` | Cycle language (`DE / EN / JP`) |
| `Ctrl+P` | Command Palette |
| `r` | Reset timer |
| `q` | Quit |

## 📄 License

GNU General Public License v3.0 (GNU GPLv3) 🄯 [postsonde](https://github.com)
