This is a tiny web server that integrates Google Client API and 又拍云(UpYun, a Chinese cloud storage provider) API to automatically copy the selected albums from your Google Photos to UpYun and generate a share link.
As we all know, mainland China has blocked most of the Google services. The purpose of this project is to share the Google Photos albums with parents or friends in mainland China with just one click.
- Register a new project and OAuth 2.0 Client ID in Google Developer Console
- Download the OAuth 2.0 Client ID configuration file (in JSON format), rename it as
google_client.jsonand put it in the
secretsfolder. You may also copy
google_client.jsonand edit the contents directly.
- Register a cloud storage in Upyun
- Also in
upyun.jsonand edit the contents according to your registration