https://github.com/lexi-lambda/philosophie-password-app
https://github.com/lexi-lambda/philosophie-password-app
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/lexi-lambda/philosophie-password-app
- Owner: lexi-lambda
- Created: 2015-05-21T04:36:13.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-05-21T05:16:49.000Z (about 10 years ago)
- Last Synced: 2025-01-30T02:09:58.120Z (5 months ago)
- Language: CoffeeScript
- Size: 340 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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.
```bash
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 APIWith 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](http://philosophie.is).