aves icon indicating copy to clipboard operation
aves copied to clipboard

WebDAV/cloud support

Open flexagoon opened this issue 3 years ago • 29 comments

It would be great to have support for WebDAV in Aves to be able to connect it directly to cloud photo services like Google Drive, Nextcloud, etc., without the need to download the photos from there to your phone first. There are several libraries for WebDAV on pub.dev, but they arent popular, although, looking at their code, it seems like the protocol isn't very hard to implement.

flexagoon avatar Nov 14 '21 13:11 flexagoon

It may be better to add direct authorization for the most popular cloud platforms (like Google Drive, iCloud, MEGA, Yandex Drive), but WebDAV is still needed in order to connect Nextcloud and some less popular cloud platforms that aren't worth adding separate authentication for

flexagoon avatar Nov 14 '21 13:11 flexagoon

I doubt you use all of these services. What do you actually use and need?

In general, rather than feature requests with a large scope, it's more helpful for me to start thinking about features from concrete use cases, actual needs.

deckerst avatar Nov 16 '21 01:11 deckerst

I personally use Nextcloud

flexagoon avatar Nov 16 '21 11:11 flexagoon

@flexagoon it will be a good features !

axac avatar Jan 14 '22 06:01 axac

Nextcloud would be awesome (:

citizenserious avatar Feb 08 '22 02:02 citizenserious

Agree on that

nebton525 avatar Feb 08 '22 19:02 nebton525

What kind of features are expected when "connecting to a cloud service"?

  1. listing media files
  2. listing albums
  3. search by name
  4. indexing metadata (tags, countries, ratings, etc.)
  5. map, stats, search by metadata
  6. editing/uploading media files
  7. sync with local files
  8. more?

Just to be clear, I won't work on this in the foreseeable future, but I can plan better if I know how people use these services.

deckerst avatar Feb 11 '22 00:02 deckerst

To me the most important thing would be listing media files and indexing metadata

nebton525 avatar Feb 12 '22 22:02 nebton525

@ItsBen12000 thanks for the feedback. Listing media files is probably trivial, but indexing metadata raises some questions.

I believe that indexing metadata would require downloading the images on the device for analysis (as the cloud services are unlikely to provide them via their API), but OP especially pointed out without the need to download the photos from there to your phone first. Do apps that support cloud services extract metadata without downloading the images first?

By the way, if you can recommend other apps that do what you need, that would be most enlightening.

deckerst avatar Feb 13 '22 06:02 deckerst

@deckerst Ig you're right with the metadata support. Here's a Nextcloud Gallery app https://gitlab.com/nkming2/nc-photos . It has metadata support but takes a lot of time to download it so it's kind of useless.

nebton525 avatar Feb 13 '22 08:02 nebton525

@deckerst there's an app called Les Pas which is a Nextcloud Photos client. If you dont have a Nextcloud then you can create an account on some public provider and check how it works in Les Pas. It's also opensource so you can check how it works

flexagoon avatar Feb 13 '22 08:02 flexagoon

I would be happy if the app could show the gallery of my nextcloud. That means listing media files and listing albums would be great. Thanks a lot for considering this feature in the future (:

citizenserious avatar Feb 13 '22 11:02 citizenserious

I hope we get this feature in the near future :). I would be an awesome extension for this app.

ilkersigirci avatar Feb 26 '22 16:02 ilkersigirci

Yeah would be awesome!

bushvin avatar Apr 15 '22 11:04 bushvin

I'd like to see Aves support open protocols for anything regardings network/cloud access. So that would mean accessing shares offered via SMB, WebDAV and maybe NFS and possibly as the next step Nextcloud and/or other similar open source cloud solutions. IMO Google, Apple etc. should deal themselves with their proprietary crap and if the open source solutions turn out being superior the better it is :-)

STPKITT avatar May 24 '22 13:05 STPKITT

+1 for this. It is so important to view our Cloud galleries as nowadays for some folks like me is where we keep 90% of our library. Also would mean more reasons to open Aves more often.

I have a different suggestion to offer on how to bring this issue to success though: The rclone project is the de-facto tool for connecting to many cloud providers and there is in Android the RCX app which is FOSS. Only issue is that the "mounting" of a remote cloud folder into Android's SAF is not enabled.

So, my suggestion would be that instead of Aves trying to reimplement the integrations to cloud again, just try to work on solving it through RCX, which then would complement Aves (and other gallery apps)

Newhinton is trying to solve it here at RCX fork: https://github.com/newhinton/extRact

Might be worth to take a look and contact him

marcosilva85 avatar Aug 07 '22 19:08 marcosilva85

Thanks for the interest and suggestions.

I don't think remote images and local images should be processed the same way (for example, parsing metadata requires reading the files, but I doubt people would be happy if Aves automatically downloaded their whole remote library). So having some system to make it transparent is not always appropriate. Different cloud systems may also provide different levels of media-related features. Maybe some already provide endpoints to get thumbnails, or metadata...

Anyway, I also think cloud support would be nice, but I'll get to it when I get to it.

deckerst avatar Aug 07 '22 20:08 deckerst

When I had to exit all the commercial photo cloud storages I was using, I started to think about self-hosted replacement. Nextcloud sounded about right, but I hadn't played with it yet. So far I just happy to have an android app doing "kind of" rsync over sftp via tor (as my sshd is behind the NAT + cgNAT). I configured the sync in a way so it does two-way-sync of all photos across my phone and pc within last two years. It means I can delete some really old photos from phone, just for the sake of freeing up some space there, without making these deletes to be propagated to my home pc. And in the same time I do have a luxury of editing some fresh shots from both mobile or home pc and those edits will be synced to the otger side.

I think if I ever want to have a full access to all of my photos stored at home from my mobile, I'll probably spin up something like Photoprism, Piwigo, Lychee, Immich, Stingle, Librephotos or anything which is dedicated only to photos and will be working with tags properly.

I do agree, it would be nice to have this kind of feature within Aves, but implementing it properly might be a headache. Eventually imho it will have to mimic Google Photos or Apple Photos (mobile apps), e.g. to fetch thumbnails and metadata for all your photos stored in cloud + fetching full-sized images when user clicks on one of those thumbnails to see bigger version. And later on, to housekeep those downloads.

kha84 avatar Sep 12 '22 17:09 kha84

WebDav support would be sooo cool. I would love to see that ♥️!

dAtA-TRoN avatar Nov 24 '22 20:11 dAtA-TRoN

I'd love to see this feature!

As of right now, photos from external apps (like Nextcloud) are showing up in the album when the Nextcloud app is installed; however, since not all my photos are stored locally, many are showing up blank:

Screenshot_20221215-171038 Screenshot_20221215-171217

They are, however, sorted properly into months (though I assume, perhaps incorrectly, that this is based on file metadata and not photo metadata)?

2br-2b avatar Dec 15 '22 22:12 2br-2b

A good gallery app is painfully missing for Nextcloud users. Having it integrated with an already awesome local library, with the official Nextcloud app which syncs photos & videos from my phone automatically would be great!

TheSunCat avatar Dec 28 '22 12:12 TheSunCat

What kind of features are expected when "connecting to a cloud service"?

  1. listing media files
  2. listing albums
  3. search by name
  4. indexing metadata (tags, countries, ratings, etc.)
  5. map, stats, search by metadata
  6. editing/uploading media files
  7. sync with local files
  8. more?

Just to be clear, I won't work on this in the foreseeable future, but I can plan better if I know how people use these services.

From my point of view, and althoug have access to the metadata would be awesome, I think that listing the media files and the albums is more than enough.

As other users say, Nextcloud is missing an app to see the photos properly, so Aves might fill that gap just by listing the images.

DavidMndz avatar Feb 25 '23 06:02 DavidMndz

Please also support pCloud. Thanks.

xmha97 avatar Apr 14 '23 05:04 xmha97

I would like to give my ideal usecase for a cloud integration:

  • nextcloud (I don't need anything else)

  • select new albums if they should be synced to nextcloud (set a default folder for new albums on nextcloud)

  • If deleting Fotos /album, ask If changes should be synced to nextcloud (or use a default setting instewd) and the other way around. If the album is deleted on remote, if would be nice if Aves would break the sync and ask, if the album should be detes as well.

  • viewing remote pictures would be nice as well, but I don't need that feature as much

With these features Aves would be perfect for sorting photos on your device and save them to nextcloud. Whenever I didn't need the pictures anymore, I would just delete that album and break the sync. And periodically I would rearrange the albums in nextcloud and break the sync that way.

LukasMandok avatar Feb 27 '24 22:02 LukasMandok

I'd like to add myself to the list of people that would love to be able to access Nextcloud media from Aves!

This app is amazing and the only shortcoming is needing to have all the photos on-device which becomes a bit hard over many years.

davidfrickert avatar Mar 16 '24 12:03 davidfrickert