GReAt HAsKeLL tOOl to traNSFoRm TExt
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Nicolas Lenz 54ce3e1a9e Merge branch 'master' of hace 1 mes
app Cleaning up, ignore spaces for alternate/random hace 1 mes
src Merge branch 'master' of hace 1 mes
.gitignore Bump to newest Stack LTS and remove cabal file from versioning hace 2 meses
LICENSE Initial commit hace 9 meses Update '' hace 1 mes
Setup.hs Add setup script (?) hace 8 meses
mock.png AdDEd Meme for FuN hace 9 meses
package.yaml Bump version to 3.6.0 hace 1 mes
stack.yaml Clean up package.yaml, bump to neweset snapshot hace 1 mes
wtfpl.png Add local WTFPL badge hace 9 meses


wAR miR jEtzT Zu anSTRENgEnd dA JedeN ZWEiten BUChSTaBeN GRoSS zU scHREiBen

There is a Telegram bot for Mock available as @truemockbot, you can find its source code in the repository.


Just clone this repository or download a release and call

$ stack install

inside the folder. This will install Mock into ~/.local/bin, which should be added to $PATH.

If you’re using Arch Linux: there is also an AUR package available.


mock [STYLE] [TEXT]

You can get help a list of possible mock styles with mock.

If no text or “-” is given, input is read from stdin.


$ mock random This is a great program.
ThIs Is A greaT PROgrAM.

$ mock space This is a great program.
T h i s   i s   a   g r e a t   p r o g r a m.

Mock calls can of course be concatenated with pipes:

$ mock space This is a great program. | mock random
T h I S   i S   A   G R e A t   P R o g r a m .