{"id":28470323,"url":"https://github.com/lucianosrp/immich-save","last_synced_at":"2025-07-01T17:30:52.292Z","repository":{"id":232465806,"uuid":"776921022","full_name":"lucianosrp/immich-save","owner":"lucianosrp","description":"Load/Save your albums and favorite assets from/to a convinent text file.","archived":true,"fork":false,"pushed_at":"2024-04-09T20:31:25.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-07T09:11:27.340Z","etag":null,"topics":["immich","immich-","photos","self"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lucianosrp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-03-24T20:03:26.000Z","updated_at":"2024-07-28T16:14:10.000Z","dependencies_parsed_at":"2024-04-10T00:39:52.833Z","dependency_job_id":"4e319ad1-4cc9-4128-9cdf-e53d7e309d88","html_url":"https://github.com/lucianosrp/immich-save","commit_stats":null,"previous_names":["lucianosrp/immich-save"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lucianosrp/immich-save","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucianosrp%2Fimmich-save","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucianosrp%2Fimmich-save/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucianosrp%2Fimmich-save/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucianosrp%2Fimmich-save/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lucianosrp","download_url":"https://codeload.github.com/lucianosrp/immich-save/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucianosrp%2Fimmich-save/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263007045,"owners_count":23398752,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["immich","immich-","photos","self"],"created_at":"2025-06-07T09:10:39.611Z","updated_at":"2025-07-01T17:30:52.283Z","avatar_url":"https://github.com/lucianosrp.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e ⚠️ This project is still WIP\n\n# Immich-save\nLoad/Save your albums and favorites assets from/to a convinient text file.\n\n## Reasoning \nImmich already provides a good way to make backups and transition libraries and the database.\nHowever, you may still want to have a file that can recreate albums and \"re-fav\" your assets easily for when things go wrong (e.g. Database becomes incompatible, broken assets, etc.)\n\nThe philosophy should be that, if you always have a digital copy of your files, you should always be able to recreate albums and favourites.\n\nImmich-save provides a simple solution for this. \nIt stores all the instructions in a convenient yaml file. \nWhen you reload your assets into a new version of immich, or you are simply loading them for the first time, you can \"load\" the savefile into immich and recreate albums and favs.\n\nIdeally, the long-term goal for immich-save would be to export albums and favourites from other media apps such as Gphotos, Prisma into the same common file format to facilitate transitions and sync across services.\n\n## Running immich-save\n### Build from source\nFor now, the only way to run immich-save is to clone the repository and build the binaries using `cargo build --relase`\n\n```bash\ngit clone https://github.com/lucianosrp/immich-save.git\ncd immich-save\ncargo build --release \u0026\u0026 cp target/release/immich-save ~/.local/bin/. \n```\n\n\n### Commands \n#### Save\nTo save your albums and favorites you can run\n```bash\nimmich-save -f save.yaml -s http://192.168.1.10:2283 -k q5RKiVq4H7pWlgTyYe840xuBc save\n```\n\nThis will save everything into the `save.yaml` file which is specified with the flag `-f` \n\nThe server url is specified with the `-s` flag. E.g `http://192.168.1.10:2283`\n\nThe API key is specified with the `-k` flag.\n\n#### Load\n\nYou can load a savefile into immich by doing the same command as above and just changing `save` with `load`\n\n\n```bash\nimmich-save -f save.yaml -s http://192.168.1.10:2283 -k q5RKiVq4H7pWlgTyYe840xuBc load\n```\n\n\n## TODOs\n- [ ] Read server and key from file\n- [ ] Complete `load` command\n- [ ] Improve `load` performance\n- [ ] Refactoring and cleanup ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucianosrp%2Fimmich-save","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flucianosrp%2Fimmich-save","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucianosrp%2Fimmich-save/lists"}