Print a beautifull millipede to send to your friends !!!
Basic usage:
$ millipede 20 "Chaud devant! Mon millepatte doit passer!" Chaud devant! Mon millepatte doit passer! ╚⊙ ⊙╝ ╚═(███)═╝ ╚═(███)═╝ ╚═(███)═╝ ╚═(███)═╝ ╚═(███)═╝ ╚═(███)═╝ ╚═(███)═╝ ╚═(███)═╝ ╚═(███)═╝ ╚═(███)═╝ ╚═(███)═╝ ╚═(███)═╝ ╚═(███)═╝ ╚═(███)═╝ ╚═(███)═╝ ╚═(███)═╝ ╚═(███)═╝ ╚═(███)═╝ ╚═(███)═╝ ╚═(███)═╝
There's also a very convenient -r option to reverse the millipede:
$ millipede -r 20 'Aaah, il est passé !' ╔═(███)═╗ ╔═(███)═╗ ╔═(███)═╗ ╔═(███)═╗ ╔═(███)═╗ ╔═(███)═╗ ╔═(███)═╗ ╔═(███)═╗ ╔═(███)═╗ ╔═(███)═╗ ╔═(███)═╗ ╔═(███)═╗ ╔═(███)═╗ ╔═(███)═╗ ╔═(███)═╗ ╔═(███)═╗ ╔═(███)═╗ ╔═(███)═╗ ╔═(███)═╗ ╔═(███)═╗ ╔⊙ ⊙╗ Aaah, il est passé !
Customize the millipede:
$ milliped 20 -t bocal 'Chaud devant! Mon beau millepatte doit passer!' ╚⊙ ⊙╝ ╚═(🐟🐟🐟)═╝ ╚═(🐟🐟🐟)═╝ ╚═(🐟🐟🐟)═╝ ╚═(🐟🐟🐟)═╝ ╚═(🐟🐟🐟)═╝ ╚═(🐟🐟🐟)═╝ ╚═(🐟🐟🐟)═╝ ╚═(🐟🐟🐟)═╝ ╚═(🐟🐟🐟)═╝ ╚═(🐟🐟🐟)═╝ ╚═(🐟🐟🐟)═╝ ╚═(🐟🐟🐟)═╝ ╚═(🐟🐟🐟)═╝ ╚═(🐟🐟🐟)═╝ ╚═(🐟🐟🐟)═╝ ╚═(🐟🐟🐟)═╝ ╚═(🐟🐟🐟)═╝ ╚═(🐟🐟🐟)═╝ ╚═(🐟🐟🐟)═╝ ╚═(🐟🐟🐟)═╝
You can send the millipede as POST data to a HTTP server:
millipede 10 --http-host=http://localhost:5000/ --http-name message
Using --http-auth you can specify a username/password for authentication:
millipede 10 --http-host=http://localhost:5000/ --http-name message --http_auth=user:pass
And using --http-data key=value to can add more variables:
millipede 10 --http-host=http://localhost:5000/ --http-name message --http-auth=user:pass --http-data myvar=mydata
# create a virtualenv $> virtualenv myenv $> source myenv/bin/activate # install (for developement) $> pip install -e . # Or, to install dependencies to send SMS $> pip install -e .[sms] # install (for production) $> pip install .
$ docker build -t millipede . $ docker run millipede