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

envsyncs-cli

v1.0.0

Published

Sync encrypted .env files with GitHub - works seamlessly across teams

Readme

envsync

🔐 Sync encrypted .env files with GitHub - seamlessly across teams and machines.

Why envsync?

  • ✅ Zero manual key sharing - Authenticate once, keys sync automatically
  • ✅ Secure encryption - Your secrets stay encrypted in Git
  • ✅ Team-friendly - Teammates just clone and run envsync open
  • ✅ Cross-platform - Works on macOS, Linux, and Windows
  • ✅ Simple workflow - 3 commands to master

Installation

npm install -g envsync

Requirements: Python 3.7+ (auto-checked during setup)

Quick Start

# In your project directory
envsync init       # Authenticate & generate encryption key
envsync seal       # Encrypt your .env file
git add .env.enc .envsync
git commit -m "Add encrypted environment"
git push

On a new machine or teammate's computer:

git clone your-repo
envsync open       # Authenticate & decrypt .env automatically

Commands

envsync init

Initialize envsync in your repository. Authenticates with GitHub and sets up encryption.

envsync seal

Encrypt .env.env.enc. Commit the encrypted file to Git.

envsync open

Decrypt .env.enc.env. Run this after cloning on a new machine.

envsync status

Check the status of your repository and envsync configuration.

How It Works

  1. Encryption keys are stored in private GitHub Gists.
  2. GitHub OAuth authenticates users (auto-opens browser).
  3. Tokens are cached locally - you only authenticate once per machine.
  4. .env.enc file is committed to your repo (encrypted).
  5. .env file stays in .gitignore (never committed).

Security

  • 🔒 Keys stored in private GitHub Gists (OAuth protected)
  • 🔒 Local key caching in system keychain
  • 🔒 Encryption using industry-standard age encryption
  • 🔒 OAuth device flow (no passwords stored)

For Python Users

You can also install directly via pip:

pip install envsync

Troubleshooting

"Python 3 not found"

  • Install Python 3.7+: https://www.python.org/downloads/
  • Verify: python3 --version

"GitHub authentication failed"

  • Check internet connection
  • Make sure you complete the browser authorization
  • Token is cached after first successful auth

Support

  • 📖 Documentation: https://github.com/winnerdebest/envsync
  • 🐛 Issues: https://github.com/winnerdebest/envsync/issues
  • 💬 Discussions: https://github.com/winnerdebest/envsync/discussions

License

MIT