Code Monkey home page Code Monkey logo

cli's Introduction

Notice - This code has moved to https://github.com/ente-io/ente

We've consolidated our code into a single repository as part of open sourcing our server. You can read more about it here.

Download new versions from ente-io/ente

Please also use the new repository if you wish to open new issues and feature requests.

cli's People

Contributors

mnvr avatar paulhovey avatar ua741 avatar vishnukvmd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

dhcgn paulhovey

cli's Issues

Authentication/Authorization Error When Attempting to add a Photos Account

Hello!

Trying to get my account added and running into 401 errors. Wondering if there are limitations that prevent me from being able to use this feature. This is what I get when I run the account add command from within my container:

/ # ./ente-cli account add
Enter app type (default: photos):
Use default app type: photos
Enter export directory: /data
Enter email address: ***email on account***
Enter password: ***copy paste password***
Please wait authenticating...
2023/10/25 16:28:38 failed to verify status 401 with err:
Enter password:

Is there a character limit to the length of the password? (mine is over 60 characters) Special Characters?

I also have 2-factor enabled on my account, could that be an issue?

Maybe the feature is not available yet for us users as it's too new? :)

I can reach out via email or discord if you would like more private details.

As mentioned, I am using a docker container to run this if you think it might be relevant.

Thank you for looking at my issue. I am very excited about this feature.

Binary for various OS/Arch

Current challenges in providing single static binary for CLI.

Based on my understanding,

  • The lib-sodium library uses CGO [1] (that enables calling C code from Go)
  • CGO brings lot of complexity and unknowns if we want to create binaries for different packages [2]
  • To compile static binary for various OS/Arch, we will need to spin-off VM/Docker images[3], install the libsodium and other relevant pkg and then create the binary.
  • Users may still need to install the corresponding libsodium pkg on their relevant machine. [need to investigate

Alternative Approaches:

[1] https://pkg.go.dev/cmd/cgo
[2] https://dave.cheney.net/2016/01/18/cgo-is-not-go
[3] https://ajstiles.com/posts/2019/01/30/building-golang-libsodium-lambda-functions-with-docker/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.