Scans a Gmail inbox for public Dropbox and Google Drive file links. Written using Node.js and Typescript.
I've documented how the program works in CONTRIBUTING.md.
git clone http://github.com/veeral-patel/inbox-scanner && cd inbox-scanner
yarn install
Next, we need to create an OAuth app so this program can access your inbox.
-
Visit this URL and click "Enable the Gmail API" under Step 1.
-
Select "Web server" on the "Configure your OAuth client" page" and enter
http://localhost:7777/callback
under "Authorized redirect URIs". -
Then, in the next step in the wizard, click "Download Client Configuration". Save this file as credentials.json in your
inbox-scanner
folder.
# Compiles our (TypeScript) code into JS code we can run.
yarn build
yarn start
Now, open http://localhost:9001
and follow the instructions there.
yarn build
yarn test
If you want to work on this repository, run yarn watch:build
to continually build your Typescript code.