~primalmotion/batslap

slap that Robin. He deserves it
7ab09ed4 — primalmotion 2 years ago
added credits
2a476677 — primalmotion 2 years ago
added asset generation
e2fa2bfe — primalmotion 2 years ago
added readme

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~primalmotion/batslap
read/write
git@git.sr.ht:~primalmotion/batslap

You can also use your local clone with git send-email.

#batlsap

Slap that Robin. He deserves it.

This tool is a simple Batman slap generator

#Build

Simply clone then run

go build

#Generating assets

If you need to generate the assets (image and fonts), install go-bindata/go-bindata then run:

go generate && go build

#Usage

./batslap -h
Slap that Robin. That'll teach him.

Usage:
  batslap [flags]

Flags:
  -F, --font-size float   Font size (default 38)
  -h, --help              help for batslap
  -o, --out string        Path where to save the image. Use - for stdout (default "batslap.jpg")

#Example

batslap "We must upgrade Mongo because" "STFU"
batslap "We must upgrade Mongo because" "STFU" -o batman.jpg
batslap "We must upgrade Mongo because" "STFU" --font-size 32 -o - | chafa -f sixel

#That's it?

What else do you need?

#Credits

The font used is INTER. The Batman image is coming from I don't know where...

Do not follow this link