| Crates.io | relax-player |
| lib.rs | relax-player |
| version | 1.1.0 |
| created_at | 2025-12-14 20:42:58.463833+00 |
| updated_at | 2025-12-31 05:40:10.501427+00 |
| description | A terminal-based relaxation sound player with ambient sounds like rain, thunder, and campfire |
| homepage | https://github.com/ebithril/relax-player |
| repository | https://github.com/ebithril/relax-player |
| max_upload_size | |
| id | 1985079 |
| size | 118,003 |
A lightweight, distraction-free alternative to web-based ambient players. Features individual volume control for Rain, Thunder, and Campfire sounds with an alsamixer-style TUI interface.

I built this because I wanted a simpler way to manage my focus environment:
Linux users: ALSA development libraries are required to build the application:
# Debian/Ubuntu
sudo apt-get install libasound2-dev
# Fedora/RHEL
sudo dnf install alsa-lib-devel
# Arch Linux
sudo pacman -S alsa-lib
cargo install relax-player
On first run, the application will automatically download the sound files for you.
cargo build --release
./target/release/relax-player
Debug builds check ./sounds/ in the current directory first, making local development easier. If sounds aren't found in CWD, they fall back to downloading from GitHub like release builds.
Release builds: Sound files are automatically downloaded when you first run the application. They are stored in a platform-specific data directory and will be reused between sessions.
~/.local/share/relax-player/sounds/%APPDATA%\relax-player\sounds\~/Library/Application Support/relax-player/sounds/← / → or h / l - Select previous/next channel↑ / ↓ or k / j - Increase/decrease volume (±5%)m - Toggle mute for selected sound (not available for Master)q - Quit applicationSettings are automatically saved to a configuration file when changed:
~/.config/relax-player/config.json%APPDATA%\relax-player\config.json~/Library/Application Support/relax-player/config.jsonThe config file stores:
The source code for Relax Player is licensed under the MIT License.
Audio Assets: The ambient sounds (Rain, Thunder, Campfire) are sourced from Pixabay and are subject to the Pixabay License. They are free to use within this application but cannot be redistributed or sold as standalone audio files.
See LICENSE and CREDITS.md for more details.