lewang🍥 Profile picture
May 4 4 tweets 2 min read Twitter logo Read on Twitter
之前我一直使用 github.com/icloud-photos-… 这个项目来备份自己的 iCloud 照片到 NAS,前段时间苹果把中国区的域名换成了 icloud.com.cn 并且我开启了 2FA 导致无法登录,今天我把 icloudpd 的镜像拉下来试了一下,又可以用了,于是把我 3w 多个照片和视频都下载了一份,我是这样用的:
1/n
我的 iCloud 在云上贵州,需要在启动参数里面要添加:
--domain cn

也可以用我制作的 docker 镜像,参考的命令在图片的 ALT 中:
docker pull lewangdev/icloudpd

完成 2FA 之后,脚本就会下载 iCloud 的图片和视频到目录:
/mnt/nas/icloudpd

等图片和视频下载好,我用 PhotoPrism 来查看。

2/n icloud_home=/mnt/nas/icloud...icloud_home=/mnt/nas/icloud...
接着安装 github.com/photoprism/pho…,我也是使用 PhotoPrism 的 Docker 镜像,安装好之后,打开浏览器输入下面的地址来访问:

http://{ip}:2342

3/n docker run -d \   --name ph...
最后在 photoprism 侧边栏菜单“库”中开始构建索引,等索引构建完成,就可以看到自己 iCloud 中的所有照片和视频了

n/n Image

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with lewang🍥

lewang🍥 Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @lewangdev

Apr 4
昨天试用了这个 Rime/Squirrel 的配置,看了作者的博客,教程写得清晰明白,把我以前没弄明白都给讲清楚了,真是太强了,比我自己的配置牛 1000 倍。除此之外,还让我惊喜的是,这个项目用到了我写的一个脚本
我给 Squirrel 输入法制作的 MacOS 皮肤,附图里面上面是 MacOS 自带拼音输入法的效果,下面是我制作的皮肤,感觉 Dark 模式比 MacOS 自带的看起来还好一些
gist.github.com/lewangdev/f8eb… LightDark
订正:附图里上面是我制作的皮肤,下面是 MacOS 自带拼音输入法的效果
Read 7 tweets
Mar 27
前两天看到耗子哥更新了上网的文档github.com/haoel/haoel.gi…, 也来说一下我是怎么解决 ChatGPT和 New Bing 就算挂了梯子还是无法登录或者使用问题的:GOST + Cloudflare WARP,配置起来也比较简单 (1/n)
在自己的 VPS 上安装好 Cloudflare WARP 的客户端,我用的官方的客户端,并且我的 VPS 的系统是 Debian 11(bullseye),官方文档在这里 developers.cloudflare.com/warp-client/ge…,我直接用 apt 安装的,如果 apt 安装时提示找不到软件,需要参考这里添加一下Cloudflare 的源pkg.cloudflareclient.com/install (2/n)
这是我安装 warp-client 时用到命令,接下来在配置一下 GOST 的代理链 (3/n)
Read 5 tweets
Mar 25
汇总一下我最近是怎么玩 MidJourney 的,给还没有玩过 @MidJourney 的推友们一些参考,首先是注册帐号 discord.gg/midjourney ,如果邀请链接显示过期,试试用浏览器隐身模式打开,也可以打开官网midjourney.com ,点击网站下方的 Join the Beta 来加入 (1/n)
注册好帐号以后,点开任意的 newbies 开头的房间,在消息中输入 /i 就可以选择 /imagine 命令,再输入好 prompt,按 Enter 发送命令来生成图片 (2/n)
在 newbies(新手)房间内,可以看到网友们发送的 prompt,这些 prompt 是我开始玩 Midjourney 的最好的参考,遇到 prompt 里面有很多 -- 开头的参数,刚开始可能一头雾水,这个时候,打开 Midjourney 的文档网站 docs.midjourney.com/docs/parameter…,找到对应的参数说明,比如 --ar 就是生成图片的长宽比例 (3/n)
Read 13 tweets
Mar 24
如何使用 ChatGPT 来重写插件代码的?过程非常简单,一共只花了10来分钟,首先是让 ChatGPT 扮演一名 Python 高级程序员 (1/n)
先问个小问题, 试试 ChatGPT 会不会写 Python 代码
(2/n)
直接告诉 ChatGPT 要写一个 SIP003 的 gost 插件, 代码完全正确,我没有描述清楚,其实我希望 SS_PLUGIN_OPTIONS 作为用户名密码,后续我们继续调整 (3/n)
Read 8 tweets
Mar 17
很多推友建议我做一个保姆级视频,教大家搭建永不掉线的网,我感觉做视频没有什么必要,不如写代码做成交互式的教程。最近几天在玩 Google 的 Colab,觉得 Colab 很适合做这种,于是整了一个本地可以运行的 jupyter notebook 给推友们,顺便可以学习 Python 嘛,地址在这里 github.com/lewangdev/gost…
运行 notebook 之前需要做一些准备,注册一个便宜的域名,比如我在 namecheap 注册一个 link 的域名,只花了几块钱
namecheap.com/promos/99-cent…
注册号域名之后,登录 Cloudflare 后台,把域名添加到 Cloudflare,并且根据提示在 namecheap 那里修改 Nameserver
Read 6 tweets
Mar 14
不知道推友们在 MacOS 上自定义快捷键用的是什么方案,我目前用的是 Karabiner-Elements,已经用了多年,无论 Raycast 还是 Alfred,或其它支持自定义快捷键的软件都适用,扩展的同时与 MacOS 系统自带的快捷键,以及我常用的开发工具快捷键也不会冲突,感觉非常好用,我是这样来设置的 (1/n) Image
在使用 Karabiner-Elements 之后,可以很容易将多个按键映射到一个按键上,我所有的自定义快捷键的前缀是按 Command+Control+Option+Shift 四个键,所以我把 CAPS LOCK 映射为这 4 个键,也就是说按一下 CAPS LOCK 相当于按了 Command+Control+Option+Shift 四个键 (2/n)
安装好 Karabiner-Elements 之后,可以先把系统里面已经占用的快捷键释放出来,这个繁体字转简体字的快捷键CAPS LOCK + C 我从来没有用过,所以释放出来留给其它使用,我是留给了居中窗口用了 (3/n) Image
Read 8 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(