Categorygithub.com/Front-End-Coders-Mauritius/google-photos-sync
repositorypackage
0.0.0-20241016191830-090d8306df5c
Repository: https://github.com/front-end-coders-mauritius/google-photos-sync.git
Documentation: pkg.go.dev

# README

Sync Photos from Front-end Coders Google Albums

The repo is the storage for our event albums. It is meant to be consumed by Front-End-Coders-Mauritius/frontendmu-astro for frontend.mu

The script is run locally and maintained by [email protected]

MAKE SURE YOU HAVE timerliner.toml in the root directory.

It should contain:

[oauth2.providers.google]
client_id = "xxx"
client_secret = "xxx"
auth_url = "https://accounts.google.com/o/oauth2/auth"
token_url = "https://accounts.google.com/o/oauth2/token"

Commands

make init get all photos from all albums in the fec google account

make sync get latest photos

make json run the go utility by @mgjules to create an index.json of all the photos grouped by Album Name

What should I do to sync photos?

make sync
make json