A lightweight terminal-based MP3 player written in Zig with modern TUI interface. Fado provides a simple yet elegant interface for playing MP3 files directly from your terminal.
- Modern TUI using Vaxis library
- Real-time audio visualization
- File browser interface
- Stereo audio playback
- Automatic sample rate detection
- Low memory footprint
- Simple keyboard controls
- Zig 0.13.0 or later
- PortAudio v19
- pkg-config
- C compiler (for linking)
nix develop
sudo apt install zig portaudio19-dev pkg-config build-essential
sudo dnf install zig portaudio-devel pkgconfig gcc
sudo pacman -S zig portaudio pkg-config base-devel
Clone the repository:
git clone https://github.com/2pipopolam/fado.git
cd fado
Build the project:
zig build
Run Fado from the directory containing your MP3 files:
zig build run
Or after building:
./zig-out/bin/fado
SPACE
- Play/PauseS
- Stop↑↓
- Navigate through filesEnter
- Select and play fileQ
- Quit
- Zig - System programming language
- PortAudio - Audio I/O library
- Vaxis - Terminal UI library
- minimp3 - MP3 decoder
This project is licensed under the MIT License - see the LICENSE file for details.