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 1 month ago
app Cleaning up, ignore spaces for alternate/random 1 month ago
src Merge branch 'master' of 1 month ago
.gitignore Bump to newest Stack LTS and remove cabal file from versioning 2 months ago
LICENSE Initial commit 9 months ago Update '' 1 month ago
Setup.hs Add setup script (?) 8 months ago
mock.png AdDEd Meme for FuN 9 months ago
package.yaml Bump version to 3.6.0 1 month ago
stack.yaml Clean up package.yaml, bump to neweset snapshot 1 month ago
wtfpl.png Add local WTFPL badge 9 months ago


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 .