🤖 📖 Electronic Code Book Bot 📖 🤖
Bzzzt. I eat images and spit them out AES-128-ECB encrypted.
- Setup Go
go get github.com/cpu/ecbb
go get github.com/dghubble/oauth1 github.com/dghubble/go-twitter/twitter
(For the twitter bot)go install github.com/cpu/ecbb/..
ecbb -listen localhost:6969
ecbb-convert -input data/cc-garf.png -output data/cc-garf.ecb.png -key lasagna
- Open
data/cc-garf.ecb.png
- Get a Twitter API consumer key and consumer secret.
- Get an acccess token & access token secret for a specific user (e.g.
@ecb_penguin
) - Run:
ecbb-twitter -botUsername $BOT_USER_NAME_HERE -consumerKey $CONSUMER_KEY
-consumerSecret $CONSUMER_SECRET -accessToken $ACCESS_TOKEN
-accessSecret $ACCESS_SECRET
data/cc-garf.png
is licensed CC-BY by_unicorn_
- ascii art "Little robot head" provided by www.asciiworld.com