Fully open source, End to End Encrypted alternative to Google Photos and Apple Photos
Go to file
2023-10-21 14:26:32 +05:30
cmd Update account cmd and documentation 2023-10-18 12:41:20 +05:30
internal Fixed bug in downloading file 2023-10-21 12:55:30 +05:30
pkg Fix downloaded cache check 2023-10-21 12:45:13 +05:30
utils Update documentation for docker 2023-10-18 17:52:41 +05:30
.gitignore Add script to create binary 2023-09-14 12:24:09 +05:30
config.yaml Add readme 2023-09-14 13:03:20 +05:30
docker-compose.yml Update documentation for docker 2023-10-18 17:52:41 +05:30
Dockerfile Clean up Dockerfile 2023-10-18 12:17:30 +05:30
Dockerfile-x86 Add Dockerfile-x86 for X86 2023-10-18 17:53:43 +05:30
go.mod Minor refactor 2023-10-20 11:34:07 +05:30
go.sum Minor refactor 2023-10-20 11:34:07 +05:30
main.go Handle db open timeout err 2023-10-21 10:15:38 +05:30
README.md Update readme 2023-10-21 14:26:32 +05:30
release.sh Release: Build binary for all standard os+arch 2023-10-20 14:56:13 +05:30

cli for exporting ente.io data

Install

You can either download the binary from the release page or build it yourself.

Build from source

 go build -o "bin/ente-cli" main.go

Getting Started

Run the help command to see all available commands.

ente-cli --help

Accounts

If you wish, you can add multiple accounts (your own and your family members) and export all using this tool.

  • Add an account

    ente-cli account add
    
  • List accounts

    ente-cli account list
    
  • Change export directory

    ente-cli account update --email yourEmail@example.com --dir ~/photos 
    

Export

  • Start export
    ente-cli export
    

Docker

Configure

Modify the docker-compose.yml and add volume. cli-data volume is mandatory, you can add more volumes for your export directory.

  • Build the docker image
docker build -t ente-cli:latest .
  • Start the container in detached mode
docker-compose up -d

exec into the container

  docker-compose exec ente-cli /bin/sh

How to directly execute the command

  docker run -it --rm ente-cli:latest ls 

Releases

Run the release script to build the binary and run it.

  ./release.sh