Skip to content
This repository has been archived by the owner on Jul 19, 2023. It is now read-only.

Latest commit

 

History

History
45 lines (30 loc) · 1.5 KB

README.md

File metadata and controls

45 lines (30 loc) · 1.5 KB

Google Photos at Random

Discord Twitter Follow

Load photos at random from a Google Photos album.

Setup credentials

  1. Go to Google's API Console.
  2. Go to the Credentials tab and create an OAuth web client.
  3. Authorize http://localhost:3000/oauth2callback as a URI redirect.

Take note of your Client ID and Client secret. You will need this in the next section.

Setup project

  1. Run the scripts below to get the project:
git clone https://github.com/peterthehan/google-photos-at-random.git
cd google-photos-at-random
npm i
  1. Find and rename example.config.json to config.json. Open the file and enter your Client ID and Client secret from the previous section:
{
  "clientId": "CLIENT_ID_PLACEHOLDER",
  "clientSecret": "CLIENT_SECRET_PLACEHOLDER",
  "redirectUri": "http://localhost:3000/oauth2callback"
}
  1. Run npm start.

You will need to authenticate with your Google account on start.

Troubleshooting

Visit for more help or information!

Discord server invite