Skip to content
This repository

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.

branch: master
README.md

Password Pusher Front Page

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.

Note for Existing Users

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.

Quick Start - Heroku

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 git@github.com: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"

Notes:

  • 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

Quick Start - Private Server

If you want to host PasswordPusher yourself:

git clone git@github.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/

Potential Private Server Quick Start Errors

Command not found: bundle

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. :)

SQLite3

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

Other Information

Tip

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.

Credits

Thanks to:

See Also

quasarj created a django application based off of PasswordPusher

phanaster created a Coupon Pushing application (cpsh.me) based off of PasswordPusher

bemosior put together a PHP port of PasswordPusher: PHPasswordPusher

Something went wrong with that request. Please try again.