JavaScript implementation of 4chan's tripcode algorithm.
vartripcode=require('tripcode');tripcode('f}EAmbA%');// => '/izs/14Iuw'There's even a tripcode command if you install globally!
$ tripcode github is cool
#github => !lLf/rxkwgg#is => !4CEimo5sKs#cool => !QkO1sgFXdYYou can also pipe in a newline-delimited file:
$ cat > codes.txt
github
is
cool
$ tripcode < codes.txt
#github => !lLf/rxkwgg#is => !4CEimo5sKs#cool => !QkO1sgFXdYOr pipe out the tripcodes to grep or something to find specific tripcodes!
$ tripcode < /usr/share/dict/words | grep -E '(/AhWyw3toI)'#incognito => !/AhWyw3toI$ npm install tripcodeUnless you want the tripcode command, in which case you gotta install
globally:
$ npm install -g tripcodevartripcode=require('tripcode');Returns the tripcode generated from Stringpassword.