Change my Twitter name to an anagram
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
changename.js
package-lock.json
randomized_anagrams.txt
randomname.sh
settings.json-template

README.md

This is a hacky project that I made to update my Twitter name with a random anagram of my name.

I used this anagram generator to create a list of anagrams for my name. There is a wordlist on that page but I realize that "google" is in "george hotelling" so I added "google" to the word list. Then I used generated a list of anagrams, cleaned the output so that it was 1 anagram per line, and used GNU coreutils' shuf command to shuffle the anagrams.

Now that I have a randomized list of anagrams in randomized_anagrams.txt I use a node script to set my Twitter name and a shell script. The last piece was a shell script to call the node script with the last line of my anagram file and then truncate the file.