Skip to content

bfontaine/pouf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pouf

Build Status Gem Version Coverage Status Inline docs Dependency Status

pouf plays random sounds from your command-line. It started as a shell script for a joke, but it’s now a Ruby gem.

It manages a set of sounds in a directory and use an alias for each sound, so you can quickly play one without having to remember the filename.

Install

gem install pouf

Ubuntu/Debian users, you need to install the mpg123 package first, or set the POUF_CMD environment variable to a command which takes a filename and play a sound from this file (default is mpg123 -q).

OSX users don’t need to install anything.

Usage

From the command-line:

$ pouf add <alias> <filename>
$ pouf rm <alias>
$ pouf mv <alias1> <alias2>
$ pouf ls
$ pouf [play] <alias>

Tests

$ git clone https://github.com/bfontaine/pouf.git
$ cd pouf
$ bundle install
$ bundle exec rake test

About

play random sounds from your command-line

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages