终于搞定了群晖里的照片自动上传到 Google photos,也给大家分享一下。
本 docker 实现的功能:
如何安装:
docker pull muyouming/gphotosuploader
get google cookie by using chrome extension by refer to here.
run docker in privillage mode, and set the photo folder to /photo.
input the cookie string in docker env COOKIES
if proxy needed ,please change the docker enviroments SOCKS5_PROXY to your proxy, if no proxy needed ,pease delete the enviroments http_proxy and https_proxy.
run ,and this uploader will monitor all changes in your /photo folder, and upload to your google photo storage. if you see "Watching " in log ,it means everything works right.
if this folder is new and you needto upload all, you can go to the terminal and start a bash ,then execute: gphotosuploader --upload /photo --maxConcurrenct 4 this comamnd will upload all your photos and videos in /photo .
enjoy.
不知道怎么发图,请大家移步 github 去看有图的说明:
https://github.com/muyouming/gphotosuploader/tree/master/docker
目前已经测试 2 天,没发现什么大的 bug。欢迎大家吐槽。
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.