Google Photos cloned for sharing in mainland China
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
gophotos
secrets
.gitignore
LICENSE.md
README.md
config.json
requirements.txt
start.py

README.md

Go Photos

Introduction

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.

Configuration

  1. Register a new project and OAuth 2.0 Client ID in Google Developer Console
  2. Download the OAuth 2.0 Client ID configuration file (in JSON format), rename it as google_client.json and put it in the secrets folder. You may also copy google_client.json.example to google_client.json and edit the contents directly.
  3. Register a cloud storage in Upyun
  4. Also in secrets folder, copy upyun.json.example to upyun.json and edit the contents according to your registration

License

The MIT License (MIT)