Immich : 這是一款非常優秀的私人相冊管理工具,它支持一鍵部署到自己的私有系統中,並且具有手機端 APP (IOS系統)。
主要的功能:
- 自動備份: 這個功能可以將手機裏的照片和視頻自動備份到私人服務器,不過這個功能之前一直有 BUG,直到最新的 1.106.4 才能夠正常進行備份
- 時間線: 具有時間線功能,可按時間排版所有的照片,不過只能按天
- 搜索:自動進行照片分類,可按地點檢索圖片,目前好像不支持按人物檢索照片
- 多用户: 支持基本的用户管理能力
-
共享相冊:支持與其他用户共享相冊,例如親子相冊,但是共享相冊不支持時間線
安裝
git項目地址: https://github.com/unihomecloud/unihome/tree/main
git clone https://github.com/unihomecloud/unihome.git cd components/immich docker compose up -d圖片的緩存目錄在
./library/upload/,訪問地址:http://ipaddress:2283
初始化管理員信息:
手機端下載 Immich App ,登錄即可使用。
常見功能截圖
web 版本管理界面:
手機端頁面:
常見問題
錯誤的使用了 docker-compose 命令
docker-compose down
ERROR: The Compose file './docker-compose.yml' is invalid because:
'name' does not match any of the regexes: '^x-'
You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version (e.g "2.2" or "3.3") and place your service definitions under the `services` key, or omit the `version` key and place your service definitions at the root of the file to use version 1.
For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/
使用一下命令替換:
docker compose down
docker compose up -d
總結
Immich是個人試用過的最好用的圖片和視頻工具了,相比之前的 Piwigo 等,其流暢程度和成熟度都要更為優秀。例如 kodbox 這類網盤,在進行大批量的圖片上傳時就會卡死,Immich 不存在這個問題。