this post was submitted on 30 Apr 2024
32 points (94.4% liked)

Selfhosted

40347 readers
388 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I would like new images to be uploaded to Immich from my phone and deleted after 30 days automatically, so I was thinking about this flow:

  1. I will Sync files to the server using Syncthing

  2. I will Copy files from the Synced folder to an Immich Consume folder, (not sure how to copy only new files (maybe use created date)). Then delete images that are older than 30 days which will remove them from my phone.

  3. I will upload to Immich using Immich CLI (?) which will use the delete after upload flag.

Basically:  

(1)

Camera, Screenshots, etc =Syncthing=> SyncthingImageConsume/{Folder}

(2)

{Script on SyncthingImageConsume}

SyncthingImageConsume/{Folder} =CopyNewFiles=> ImmichConsume/{Folder}

Then delete older than 30 days.

(3)

{Script on ImmichConsume}

Upload to immich and then delete

 

would this work? and is there a better way to do it? any tips?

you are viewing a single comment's thread
view the rest of the comments
[–] Mir@programming.dev 1 points 6 months ago (2 children)

I want to use immich mostly for viewing

[–] Shimitar@feddit.it 2 points 6 months ago (1 children)

There are better options for viewing.... Imho

[–] Mir@programming.dev 2 points 6 months ago (1 children)

can you recommend me something else?

[–] Shimitar@feddit.it 5 points 6 months ago (1 children)

There are many.

Personally I use both PiGallery2 (great folder view, super fast) and HomeGallery (innovative browsing approach, modern looks).

They will both work with your existent file/folder structure and will update as you add or remove photos.

[–] Mir@programming.dev 1 points 6 months ago (1 children)

Thank you for the suggestion, they seem to be readonly, I was hoping I could delete/rename photos using them.

[–] Shimitar@feddit.it 1 points 6 months ago

Piwigo then, but its old, feels old, its slow and ugly.

[–] rambos@lemm.ee 1 points 6 months ago (1 children)

You can use external libraries in immich. You just point to any folder on your disk and you can see everything, but can't edit files. Timeline, maps, face recognition, search,...everything works and you can still keep folder organized images.

Personally I use both. Auto upload everything from my phone (camera, screenshots, etc) and also using external library as folder structured pictures from nextcloud. It doesn't create albums automatically tho

[–] Mir@programming.dev 1 points 6 months ago

My problem is that external libraries are readonly