Fork from https://bitbucket.org/namn/browsepass