Ente CommunityEC
Ente Communityโ€ข7mo agoโ€ข
9 replies
Valky

Programmatically export photos without password input

I am not entirely sure this is the best place to ask for tech support, feel free to redirect me if I missed some important notice/resources.

Hi dear Ente team ๐Ÿ‘‹ ! I have very recently joined Ente as a tentative to move away from Google photos, especially since their latest API changes. From the get-go I love the product and I'm trying to understand from your architecture page if what I'm trying to do is feasible:
- I'd like to be able to export some albums programmatically without any user input (eg: password) thanks to a configuration file, on a remote server and/or on-off pods.
- I understand you have no public HTTP API accessible through an authToken
- Your cli tool ente account add only provides a way to login through password input

๐ŸŽฏ To better understand my use-case:
- I have a small static website deployed through Netlify on which I display some of my photos. Until now my photos were fetched at build time through an HTTP request and transformed to the right format/size.
- I am pretty sure I can leverage your cli to export photos in a pre-build step locally, but I'm not clear on how to achieve this given the current ente-cli tooling.
- I don't want to self-host, store photos in my repo, or manually export each time I need to deploy (which is admittedly, not so often)

โ“ My questions to you:
- Does ente account get-token command return the encrypted, or the non-encrypted authToken, any way I get leverage this to hit Ente's private APIs directly?
- Is there any env variable I missed in the doc that I could use to authenticate from an expirable secret?
- If this is not doable today, is this something on your radar/roadmap for an upcoming feature?
Was this page helpful?