immich是一个开源、高性能的自托管备份解决方案,用于在手机上备份视频和照片。支持多端通用,非常小巧。
An open source, high performance self-hosted backup solution for videos and photos on your mobile phone。
页面展示
经过几天的使用,我感觉这个软件要是能做出来,还是相当的厉害的,但是目前的问题也很多,如果不是大佬或者不能给这个项目提pr的能力,建议不要深度使用,不是很稳定,而且有不少问题。
- 已经存在的历史图片必须一张一张上传,上传过程中cpu会被占满,我的i3-10105,100%使用持续大概12个小时。
- 手机备份经常把照片来回备份,即已经备份过的照片再上传一次,实际上服务器没有保存。
- docker子服务经常崩溃。
以下内容只有一个地方可能需要修改,就是暴露端口号。
我本来是跟官网同步下载的release版本,但是发现有bug,改成了lastest版本了。
使用技巧
这个软件的全平台通用非常好用,苹果特有的heic格式也支持。
现在有一个使用场景如下:
曾经用过其他的图片管理工具,或者电脑上已经有很多图片了,现在需要转移到immich中。如果我们直接把以前的图片文件复制到immich中会发现在网页端不会显示,因为immich要给每一个图片和视频进行解码和生成缩略图,你直接复制进去,他就没办法生成了,也就没办法展示了,在github中曾经有人提过这个问题,最后开发者说因为要生成记录到数据库,必须每个图片都上传一下才行。如果一个人有很多张图片,这样传太废时间,而且我发现网页端的上传功能有两个问题,一是会自动忽略文件夹中的heic文件上传,二是不能一下上传50张以上的图片,会给个提示让用命令行上传。我就去找了下命令行的文档,发现命令行的文档里还明确写了支持heic格式,经过测试也确实支持,这也解决了ios端的一个大问题,但是我还是建议ios关闭这个heic格式。
使用命令行安装immichCLI工具:
批量上传文件夹: