A lightweight audio player for Linux built in C. Tomu focuses on efficient memory usage and audio quality while maintaining a minimal footprint.
- Server/Client: Server runs in background, music keeps playing even if you close the client
- Lightweight: Minimal dependencies and low memory footprint
- Quality Audio: use same quality audio if possible or use standard (for compatliblity)
- Format Support: Plays any audio format supported by FFmpeg (MP3, FLAC, WAV, OGG, AAC, etc.)
- Simple: Command-line interface - just point and play
Tomu requires FFmpeg development libraries to be installed on your system.
sudo apt update
sudo apt install libavformat-dev libavcodec-dev libavutil-dev libswresample-devsudo dnf install epel-release -y
sudo dnf install https://download1.rpmfusion.org/free/el/rpmfusion-free-release-$(rpm -E %rhel).noarch.rpm -y
sudo dnf install ffmpeg-devel -ysudo pacman -S ffmpegClone the project:
git clone https://github.com/6z7y/tomu.git
cd tomuinstall binary
make installuninstall binary
make uninstallinstall via Flakes:
- install binary
nix build
nix profile install .- uninstall binary
nix profile remove tomuTomu uses a sophisticated multi-threaded architecture for smooth audio playback:
- Start the server:
tomu - Connect with client and play a file:
tomucli /path/to/music - Control playback with keys from any terminal
The client sends commands and receives a live progress bar every second. Because the server runs separately, you can disconnect the client and the music keeps playing.
i made this tool for learn c and need music player less usage ram for i make many session this will take usage ram.
this only beta not complete yet
Binaries
- tomu — background server, handles decoding and playback
- tomucli — client CLI to control the server
