Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fabiospampinato/secret
The simplest command to encrypt/decrypt a file, useful for committing encrypted ".env" files to version control, among other things.
https://github.com/fabiospampinato/secret
decrypt encrypt env file git secret secrets
Last synced: 3 months ago
JSON representation
The simplest command to encrypt/decrypt a file, useful for committing encrypted ".env" files to version control, among other things.
- Host: GitHub
- URL: https://github.com/fabiospampinato/secret
- Owner: fabiospampinato
- License: mit
- Created: 2021-11-18T00:14:37.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-09-24T16:28:50.000Z (about 1 year ago)
- Last Synced: 2024-05-01T12:39:21.006Z (6 months ago)
- Topics: decrypt, encrypt, env, file, git, secret, secrets
- Language: JavaScript
- Homepage:
- Size: 3.01 MB
- Stars: 19
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# Secret
The simplest command to encrypt/decrypt a file, useful for committing encrypted ".env" files to version control, among other things.
Secret automatically detects if you want to encrypt or decrypt a file: if the file ends with the ".secret" extension then it will try to decrypt it, otherwise it will try to encrypt it.
## Install
```sh
npm install -g @fabiospampinato/secret
```## Usage
Encrypt a file:
```sh
secret myFile.txt
```Decrypt a file:
```sh
secret myFile.txt.secret
```## License
MIT © Fabio Spampinato