Skip to content

csboling/stuffbuf

Repository files navigation

pip3 install -r requirements.txt
head -c 65536 /dev/urandom > input
cat input | python3 -m stuffbuf png output.png
cat input | python3 -m stuffbuf wav output.wav

Some converters take options:

cat input | python3 -m stuffbuf 'png color' output.png

Some converters are sources and do not require an input file if they are at the beginning of a pipeline:

python3 -m stuffbuf 'fsr taps=0x123456 | png color' output.png

You can also sequence conversions together:

cat input | python3 -m stuffbuf 'png | wav | png color'

Stuffbuf as a Service:

docker-compose up -d
HOST=$(docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' stuffbuf)
cat input | nc $HOST 51966

About

read buffers, write stuff

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published