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

peterthehan/google-photos-at-random

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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