PasswordPusher is a Ruby on Rails application to communicate passwords over the web. Links to passwords expire after a certain number of views and/or time has passed. Hosted at pwpush.com (but you can also easily run your own instance).
I previously posted this project on Reddit which provided some great feedback - most of which has been implemented.
If you're already hosting your own private instance of PasswordPusher, make sure to do a periodic
git pull from time to time to always get the latest updates.
You can always checkout out the latest commits to see what's been updated recently.
You can quickly host your own instance of Password Pusher on Heroku by just pasting the following commands:
# Hopefully you're not running this as root (you shouldn't be) export PWPUSH_APP_NAME="pwpush-`whoami`" # Clone the PasswordPusher Repo locally git clone firstname.lastname@example.org:pglombardo/PasswordPusher.git cd PasswordPusher # Create the actual Heroku app and add the postgres DB addon heroku apps:create $PWPUSH_APP_NAME heroku addons:add heroku-postgresql heroku labs:enable user-env-compile heroku config:add BUNDLE_WITHOUT="development:test:private" # Push the code to your new Heroku app git push heroku master # Setup the PasswordPusher database heroku run bundle exec rake db:setup echo "See your new PasswordPusher instance at https://$PWPUSH_APP_NAME.herokuapp.com"
- If you haven't used Heroku before, you'll need a Heroku account and the Heroku Toolbelt installed first.
- To change the Heroku app name (and resulting URL), change the value of PWPUSH_APP_NAME
If you want to host PasswordPusher yourself:
git clone email@example.com:pglombardo/PasswordPusher.git cd PasswordPusher bundle install --without development test --deployment export RAILS_ENV=private bundle exec rake db:create db:migrate bundle exec rails server -p 80
Then view the site @ http://localhost/
If you get something like
Command not found: bundle, then you need to run
gem install bundler
If you get something like 'Command not found: gem', then you need to install Ruby. :)
If the 'bundle install' fails with 'checking for sqlite3.h... no', you have to install the sqlite3 packages for your operating system. For Ubuntu, the command is:
sudo apt-get install sqlite3 ruby-sqlite3 libsqlite3-ruby libsqlite3-dev
- How to use the Password API
- How to Change the Front Page Default Values
- How to Switch to Production Environment
- How to Switch to Another Backend Database
SQLite3 is provided by default for a quick and easy setup of the application.
If you plan to use PasswordPusher internally at your organization and expect to have multiple users concurrently creating passwords, it's advised to move away from SQLite3 as it doesn't support write concurrency and errors will occur.
For example, on https://pwpush.com, I run the application with a Postgres database.
Initiated from this discussion on reddit.
@iandunn for better password form security.
JarvisAndPi for the favicon design