Skip to main content

envsync

A CLI tool to sync encrypted .env files with GitHub securely.

Features

  • Encryption: Uses age encryption (via python-age) to secure your .env files.
  • GitHub Integration: Automatically syncs encrypted files to your repository.
  • Key Management: Securely stores encryption keys in your system's keychain.
  • Easy Workflow: Simple open, seal, and status commands to manage your environment.

Installation

Python (pip)

The recommended way to install the CLI directly with Python is via the published package envsync-cli:

pip install envsync-cli

# then use the CLI:
envsync --help

Node.js (npm / pnpm)

If you prefer installing via the JavaScript ecosystem, there is an npm wrapper that sets up the Python CLI for you:

# npm
npm install -g envsync

# pnpm
pnpm add -g envsync

# then use the same CLI:
envsync --help

Usage

Initialize

Initialize envsync in your project repository. This will detect your git repo, authenticate with GitHub, generate an encryption key, and store it in your keychain.

envsync init

Decrypt Environment

Decrypt your .env.enc file to a usable .env file.

envsync open

Encrypt Environment

Encrypt your .env file to .env.enc for safe committing.

envsync seal

Check Status

View the status of your environment files and sync state.

envsync status

Development

For local development of envsync itself, clone the repo and install in editable mode:

git clone https://github.com/yourusername/envsync.git
cd envsync
pip install -e .

Then run tests using pytest:

pytest

License

MIT

Metadata

Release files for envsync-cli 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for envsync-cli 0.1.1
File Size Uploaded Provenance Actions
envsync_cli-0.1.1.tar.gz 9.2 MB Without provenance Details for envsync_cli-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for envsync-cli 0.1.1
File Interpreter ABI Platform Actions
envsync_cli-0.1.1-py3-none-any.whl Python 3 none any Details for envsync_cli-0.1.1-py3-none-any.whl

Total release size: 9.3 MB

Release files / envsync_cli-0.1.1.tar.gz

Download URL envsync_cli-0.1.1.tar.gz
Size 9.2 MB
Tags Source
SHA-256 checksum
How to use checksums
559ad01c974e7611328231c40c58a5c81db1536df51e7c596683dbf583d0becd
BLAKE2b-256 checksum
How to use checksums
cb017340070b34fdce2862eb5675796dc0eccade91e67a7167b1aff5cd73180b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / envsync_cli-0.1.1-py3-none-any.whl

Download URL envsync_cli-0.1.1-py3-none-any.whl
Size 12.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
229281135485c7bcf588280e8009fab5d30877d0c2b60a9a9a78ee4319bb9f35
BLAKE2b-256 checksum
How to use checksums
09083eaf5ff8969cb03c042d0aad7c4b451b1d9c5fa9b53eb0eed2724f711832
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Security for envsync-cli 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page