- Node.js
- Mac OS X (tested with 10.7 Lion)
-
checkout source by
git clone git@github.com:pangratz/memorablepw.git cd memorablepw
-
install required node packages
npm install applescript npm install twitter
-
create a read-and-write app on https://dev.twitter.com/ and save the OAuth credentials in a file named
twitter_properties.json
and structured like follows:{ "consumer_key": "YOUR CONSUMER KEY HERE", "consumer_secret": "YOUR CONSUMER SECRET HERE", "access_token_key": "YOUR ACCESS TOKEN KEY HERE", "access_token_secret": "YOUR ACCESS TOKEN SECRET HERE" }
-
download code poetry's Mac OS X Password Assistant wrapper from http://www.codepoetry.net/products/passwordassistant and store it inside the
memorablepw
folder
to start the nodejs script which generates memorable passwords and tweets them, simply execute
node tweet_passwords.js
... go out to Nathan Rajlich for providing the node-applescript module and to Code Poetry (i guess this is the real name), for providing an app which triggers Mac OS X's Password Assistant dialog