A CLI tool to sync encrypted .env files with GitHub
Project description
envsync
A CLI tool to sync encrypted .env files with GitHub securely.
Features
- Encryption: Uses
ageencryption (viapython-age) to secure your.envfiles. - 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, andstatuscommands to manage your environment.
Installation
To install envsync, clone the repository and install it in editable mode:
git clone https://github.com/yourusername/envsync.git
cd envsync
pip install -e .
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
Run tests using pytest:
pytest
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file envsync_cli-0.1.0.tar.gz.
File metadata
- Download URL: envsync_cli-0.1.0.tar.gz
- Upload date:
- Size: 9.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc731c5c83458e0396af1e8e166b96aaba5b1b7d1c7acd1c514a90f9f956aeff
|
|
| MD5 |
dba11018732f8be8a60680d0cc925f25
|
|
| BLAKE2b-256 |
6302ca47ae774f856822031d58a81c01f2ba05c7bbe15b67412e794f98db8416
|
File details
Details for the file envsync_cli-0.1.0-py3-none-any.whl.
File metadata
- Download URL: envsync_cli-0.1.0-py3-none-any.whl
- Upload date:
- Size: 12.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
565b22cfd24b57f313a7a85f186f2482ec140adad491900ec504641b8dac2201
|
|
| MD5 |
189d40f796999958d132fbecb0e8c2fa
|
|
| BLAKE2b-256 |
448ba239f1e6df9b5a09bb7276d0b200248509a23fc41c6749dffff04c736079
|