Skip to content

thijskuilman/account-purser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

header

Account Purser

Account Purser is a self-hosted web application which scans your Gmail inbox to generate a list of all accounts you own. You can also gain insight into your security by checking which accounts are stored in your password manager, for example 1Password and LastPass.

How does it work?

  1. You sign into your Gmail Account
  2. Purser will perform search queries in your Gmail inbox to find your registred accounts. It will use queries like gdpr and thank you for signing up. (you can find the full list in search_queries.js)
  3. Your accounts will be presented in a table. You can see the account name, email address and website

Optionally you can check which accounts are stored in your password manager:

  1. Drag an export file of your password manager in Purser
  2. The list of accounts will now show if the account is found in the export file

How does Purser deal with sensitive data?

I completely understand if you're wary of using an application like this; the reason I wrote this app is because I don't want to trust my sensitive data to a third party app. I have taken some steps to ensure Purser is safe to use:

  • It's open source
  • It's self-hosted
  • You have to set up the Gmail API yourself
  • It's written in (minimal) vanilla Javascript without using any third party libraries.
  • It doesn't communicate with any third party service (apart from the Gmail API)
  • You can import your password manager exports without it containing your actual passwords

Set up

Requirements

  • A (local) web server
  • Gmail account

Steps

  1. Clone the repo to any folder
  2. Turn on the Gmail API. See Step 1 of the Google quickstart for instructions.
  3. Rename .env.example to .env and place your Gmail Client_ID in this file
  4. Start a web server. You could start a quick server with Python: Python 2.X: python -m SimpleHTTPServer 8000, Python 3.X python -m http.server 8000
  5. Load the URL http://localhost:8000/ into your browser.

Contribute

Add new search queries

You can add new search queries in the search_queries.js file. Add quotes (") to be more precise with your search queries.

About

Retrieve a list of all accounts you own. Check if your accounts are stored in a password manager.

Resources

Stars

Watchers

Forks

Packages

No packages published