Skip to content

lexi-lambda/philosophie-password-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

philosophie-password-app

This is a simple Twitter bot that evaluates password strength. Run the bot attached to an account, then tweet @ it. It will reply with information about the strength of the password contained in the tweet's body. If a password is weak but still viable, it may suggest stronger, alternative passwords instead.

Running the bot

The bot itself runs on Node.js. To run it, download the repository, then install the dependencies and build the project.

cd philosophie-password-app
npm install
npm run build

The bot pulls in information from environment variables in order to configure itself properly. It references the following variables:

  • TWITTER_SCREEN_NAME — The username of the Twitter account
  • TWITTER_CONSUMER_KEY and TWITTER_CONSUMER_SECRET — The consumer app key and secret for the Twitter API
  • TWITTER_ACCESS_TOKEN_KEY and TWITTER_ACCESS_TOKEN_SECRET — The access token key and secret for the Twitter API

With the environment properly configured, just run npm start, and the bot will start listening for tweets.

You can also run the tests with the npm test command.

This was done as an example project for Philosophie.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published