{"id":26863858,"url":"https://github.com/maxiviper117/dotenvx-interactive-cli","last_synced_at":"2025-05-06T22:25:52.475Z","repository":{"id":283100823,"uuid":"950666541","full_name":"Maxiviper117/dotenvx-interactive-cli","owner":"Maxiviper117","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-27T18:06:37.000Z","size":131,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-27T19:21:53.535Z","etag":null,"topics":["cli","dotenvx","npm-package"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Maxiviper117.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-03-18T14:05:17.000Z","updated_at":"2025-04-21T19:18:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"4027d5b7-2e88-403f-a075-aa9216237460","html_url":"https://github.com/Maxiviper117/dotenvx-interactive-cli","commit_stats":null,"previous_names":["maxiviper117/dotenvx-interactive-cli"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maxiviper117%2Fdotenvx-interactive-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maxiviper117%2Fdotenvx-interactive-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maxiviper117%2Fdotenvx-interactive-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maxiviper117%2Fdotenvx-interactive-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Maxiviper117","download_url":"https://codeload.github.com/Maxiviper117/dotenvx-interactive-cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252778015,"owners_count":21802693,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","dotenvx","npm-package"],"created_at":"2025-03-31T03:33:00.951Z","updated_at":"2025-05-06T22:25:52.453Z","avatar_url":"https://github.com/Maxiviper117.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dotenvx-interactive-cli\n\nAn interactive CLI tool for managing your .env files with dotenvx. This tool provides a user-friendly interface for encrypting and decrypting environment files, as well as setting up precommit hooks.\n\n## Why?\n\nThis tool was created to simplify the process of working with dotenvx encryption and decryption. Instead of typing long commands or remembering specific syntax, you can quickly:\n\n- Select which .env files to encrypt or decrypt through an interactive menu\n- Avoid typing lengthy dotenvx commands manually\n- Selectively encrypt or decrypt specific files when working with multiple .env files\n- Set up precommit hooks with a single command\n\n## Prerequisites\n\n- [Node.js](https://nodejs.org/) (v16 or higher)\n- [dotenvx](https://github.com/dotenvx/dotenvx) must be installed globally (`npm install -g @dotenvx/dotenvx`)\n\n## Installation\n\nYou can install this package globally:\n\n```bash\nnpm install -g dotenvx-interactive-cli\n```\n\nOr use it directly with npx:\n\n```bash\nnpx dotenvx-interactive-cli\n```\n\n## Features\n\n- 🔒 Interactive encryption of .env files\n- 🔓 Interactive decryption of .env files\n- 🪝 Easy precommit hook installation\n- ✨ User-friendly selection interface for multiple .env files\n- 🔍 Automatic .env file detection\n- ⚡ Validation of dotenvx installation and required files\n\n## Usage\n\n1. Navigate to your project directory where your .env files are located\n2. Run the CLI tool:\n\nWhen installed globally:\n```bash\ndotenvx-interactive\n```\nor use npx:\n```bash\nnpx dotenvx-interactive-cli\n```\n1. Choose from the available options:\n   - Encrypt .env files\n   - Decrypt .env files\n   - Install precommit hook\n   - Exit\n\n### Requirements\n\n- A `.env.keys` file must be present in your project directory\n- dotenvx must be installed globally\n\n## License\n\nMIT\n\n## Contributing\n\nContributions, issues, and feature requests are welcome!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxiviper117%2Fdotenvx-interactive-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxiviper117%2Fdotenvx-interactive-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxiviper117%2Fdotenvx-interactive-cli/lists"}