npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@roman-16/proton-cli

v3.6.0

Published

Your CLI for Proton Mail, Drive, Calendar, Pass and Contacts. One binary, end-to-end encrypted.

Downloads

3,501

Readme

proton-cli

Your CLI for Proton Mail, Drive, Calendar, Pass and Contacts.

One binary, end-to-end encrypted. A community project, not affiliated with Proton AG.

Release Downloads Platforms License

proton-cli.lerchster.dev - the documentation, searchable.

Read your mail, move files in and out of Drive, manage calendars, passwords and contacts, all without opening a browser. proton logs in the way the Proton apps do and does the encryption on your machine, so your keys stay yours.

  • Real end-to-end encryption. SRP login and the full PGP key hierarchy, handled locally with Proton's own go-srp and gopenpgp. No bridge, no proxy, no browser in the middle.
  • Five apps, one binary. Mail, Drive, Calendar, Pass and Contacts, in a single static executable on Linux, macOS and Windows.
  • Built for pipes and cron. JSON and YAML with one envelope shape for every list, streaming stdin and stdout, exit codes that mean something, and --dry-run on everything that changes state.

Install

curl -fsSL https://raw.githubusercontent.com/roman-16/proton-cli/main/scripts/install.sh | sh
irm https://raw.githubusercontent.com/roman-16/proton-cli/main/scripts/install.ps1 | iex

Also on Homebrew, winget, APT, AUR, Nix, npm, and as plain signed binaries. See Install.

The command is proton, and proton-cli works too.

Sign in

$ proton account login
Email:            [email protected]
Password:
Two-factor code:  123456

✓ Signed in as [email protected].

That is the whole setup. Signing in saves the session and unlocks your keys, so your password is needed once on this machine and not again.

Try it

proton mail messages list --unread
proton mail messages get "Invoice #2291"
proton drive items upload ./report.pdf /Documents
proton calendar events list
proton pass items totp github.com

Every command reads the same way, proton <app> <collection> <verb>, and anywhere one wants an ID, a subject, name, path or address works too. With completion installed, Tab offers back whatever your last listing showed.

First commands · How a command is built

Documentation

Everything is at proton-cli.lerchster.dev and in docs/ beside the code.

| If you want to | Read | | --- | --- | | Get going | Install · First commands | | Do something in one app | Mail · Drive · Calendar · Pass · Contacts | | Script it | Scripting · Output and exit codes | | Let an AI agent use it | AI agents - proton skill prints what it needs to know | | Look up a command | All commands | | Know whether this is the right tool | FAQ - including how it compares to Proton's own CLIs and to Bridge | | Decide whether to trust it with your password | Security | | Fix a failing command | Troubleshooting |

CHANGELOG.md records what each version changed, and proton changelog prints it. Already installed? proton update.

Contributing

Bug reports, ideas, and pull requests are all welcome. CONTRIBUTING.md covers the setup, and SECURITY.md has the private channel for security issues.

Disclaimer

proton-cli is an independent, community-built project. It is not endorsed by, affiliated with, or supported by Proton AG. Proton is a trademark of Proton AG. Use it at your own risk, and mind Proton's terms of service.

License

MIT