NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
Proton Drive CLI: Use Drive from Your Terminal (proton.me)
teekert 1 days ago [-]
This is very nice, I have TBs of storage available in my family subscription but being mostly on Linux it is unused, this is really great for backups. I hope we’re gonna see some nice wrappers for this. I also hope it’s the first step towards a Dropbox/Nextcloud like client for Linux! Great work!
teekert 17 hours ago [-]
A bit annoying is that the url from the blog does not link to Proton-cli directly, but it's there somewhere on that page.

Also, I tried it, this is the result from following their instructions:

$ chmod +x proton-drive

$ ./proton-drive version =============================================== error: libsecret not available code: "ERR_SECRETS_PLATFORM_ERROR"

      at V_8 (src/cli/run.ts:77:13)
      at or0 (src/cli/run.ts:25:9)
      at async ar0 (src/cli/index.ts:29:15)
Error details: {}

So there are more steps needed (obviously the auth step).

Edit, oops no, something else is missing:

$ ./proton-drive auth login =============================================== error: libsecret not available code: "ERR_SECRETS_PLATFORM_ERROR"

      at V_8 (src/cli/run.ts:77:13)
      at or0 (src/cli/run.ts:25:9)
      at async ar0 (src/cli/index.ts:29:15)
Error details: {}

How does one get libsecret? Perhaps it's a NixOS issue.

Edit: I added libsecret to my packages, the issue persists. So, no proton-cli for me :)

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 23:32:59 GMT+0000 (Coordinated Universal Time) with Vercel.