Proton drive cli!

  • devaly@ani.social
    link
    fedilink
    arrow-up
    19
    arrow-down
    1
    ·
    12 hours ago

    LMAO It’s horrible. Where are the open standards? this cli seems like it was vibe coded in 5 min

    • warm@kbin.earth
      link
      fedilink
      arrow-up
      22
      arrow-down
      1
      ·
      11 hours ago

      They chose to use Bun, which is AI vibe coded slop.

      Why are Proton trying their hardest to ruin themselves?

      • Denys Nykula@piefed.social
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        1
        ·
        8 hours ago

        What tool you suggest to bundle JS code into a single binary with runtime included? Bun was probably chosen because, I read, it makes that task easy.

        Upd: I’ve used quickjs to precompile js into a binary, but that’s a very niche use, not compatible with npm libraries for example.

    • Denys Nykula@piefed.social
      link
      fedilink
      English
      arrow-up
      3
      ·
      10 hours ago

      What are the obvious signs of vibe code in that repository? Something about the README markup seems off, but other than that I don’t yet see it.

        • nous@programming.dev
          link
          fedilink
          English
          arrow-up
          2
          ·
          6 hours ago

          Where’s sftp? s3? smb?

          I would highly suspect this is because they don’t want to handle encryption and decryption on their servers where ever they can. Yes they need encryption for emails they receive but for every thing else they want to have as end to end protected as they can. Which means client side encryption and decryption for almost every thing. That is the big feature that a lot of people are buying into from them.

          All these protocols don’t feal with encryption on the client at all. Which means if they supported them they would need to handle encryption and decryption on the server side. Which I doubt they want to do and likely work hard to avoid at all.

        • Denys Nykula@piefed.social
          link
          fedilink
          English
          arrow-up
          4
          ·
          8 hours ago

          Hmm. I think not using standard protocols but an ad-hoc API may result in vendor lock-in, which yes, is a bad thing (though it doesn’t mean it’s generated). For example, one of my clients has backups in AWS, and he initially asked me to upload them using standard sftp, but then we saw the bill for using the sftp add-on and had to immediately rewrite the uploads using the free but vendor-specific CLI.

          Regarding the docs, I see they put them in help texts, which tbh isn’t that bad, but indeed duplicating them online for convenient search would be obviously better. For my library, I put the docs all in the readme like many libs did in early years of Node.js (and I liked the docs that way), without an extra documentation website, though I have a landing page showing quick start examples.

          • devaly@ani.social
            link
            fedilink
            arrow-up
            3
            ·
            9 hours ago

            given how low effort it is, I said it looks like a vibe coded project. Feel free to create your narrative here