{"id":27455025,"url":"https://github.com/webb1es/dotenvify","last_synced_at":"2026-03-15T22:00:40.395Z","repository":{"id":343305073,"uuid":"1176579214","full_name":"webb1es/dotenvify","owner":"webb1es","description":"Pull, format, and manage .env files — from the terminal or your IDE.","archived":false,"fork":false,"pushed_at":"2026-03-11T04:45:42.000Z","size":2818,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-12T23:49:57.256Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://dotenvify-landing.vercel.app","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/webb1es.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-09T06:51:10.000Z","updated_at":"2026-03-11T04:45:46.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/webb1es/dotenvify","commit_stats":null,"previous_names":["webb1es/dotenvify"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/webb1es/dotenvify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webb1es%2Fdotenvify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webb1es%2Fdotenvify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webb1es%2Fdotenvify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webb1es%2Fdotenvify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webb1es","download_url":"https://codeload.github.com/webb1es/dotenvify/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webb1es%2Fdotenvify/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30473967,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-13T17:15:31.527Z","status":"ssl_error","status_checked_at":"2026-03-13T17:15:22.394Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","developer-tools","dotenv","env","go","golang","productivity","utility"],"created_at":"2025-04-15T15:16:22.137Z","updated_at":"2026-03-13T20:01:35.651Z","avatar_url":"https://github.com/webb1es.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"landing/public/logo.gif\" alt=\"DotEnvify\" width=\"120\" align=\"left\" /\u003e\n\n# DotEnvify\n\nConvert messy key-value pairs into clean, standardized `.env` files.\n\n\u003ca href=\"https://opensource.org/licenses/MIT\"\u003e\u003cimg src=\"https://img.shields.io/badge/License-MIT-yellow.svg\" alt=\"License: MIT\" /\u003e\u003c/a\u003e\n\u0026nbsp;\n\u003ca href=\"https://www.npmjs.com/package/@webbies.dev/dotenvify\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/@webbies.dev/dotenvify.svg\" alt=\"npm version\" /\u003e\u003c/a\u003e\n\u0026nbsp;\n\u003ca href=\"https://www.typescriptlang.org/\"\u003e\u003cimg src=\"https://img.shields.io/badge/TypeScript-5.8-3178C6.svg?logo=typescript\u0026logoColor=white\" alt=\"TypeScript\" /\u003e\u003c/a\u003e\n\u0026nbsp;\n\u003ca href=\"https://nodejs.org/\"\u003e\u003cimg src=\"https://img.shields.io/badge/Node.js-18+-339933.svg?logo=node.js\u0026logoColor=white\" alt=\"Node.js\" /\u003e\u003c/a\u003e\n\u0026nbsp;\n\u003ca href=\"https://github.com/webb1es/dotenvify/pulls\"\u003e\u003cimg src=\"https://img.shields.io/badge/PRs-welcome-brightgreen.svg\" alt=\"PRs Welcome\" /\u003e\u003c/a\u003e\n\n\u003cbr clear=\"left\" /\u003e\n\nAfter doing this manually one too many times, this tool was rage-coded into existence. You're welcome.\n\n**Transform this:**\n\n```\nAPI_KEY\na1b2c3d4e5f6g7h8i9j0\nDATABASE_URL\npostgres://user:password@localhost:5432/db\n```\n\n**Into this:**\n\n```env\nAPI_KEY=a1b2c3d4e5f6g7h8i9j0\nDATABASE_URL=\"postgres://user:password@localhost:5432/db\"\n```\n\n## Installation\n\n```bash\nnpm install -g @webbies.dev/dotenvify\n```\n\n## Quick Start\n\n```bash\n# Convert a file to .env\ndotenvify vars.txt\n\n# Custom output path\ndotenvify vars.txt -o production.env\n\n# Add export prefix\ndotenvify vars.txt --export\n```\n\n## Features\n\n|                 | Feature            | Description                                                                                                    |\n|-----------------|--------------------|----------------------------------------------------------------------------------------------------------------|\n| **Auto-Detect** | Smart Parsing      | Handles `KEY=VALUE`, `KEY VALUE`, key-on-separate-lines, quoted values, `export` prefixes, even mixed together |\n| **Backup**      | Safe by Default    | Automatic backups with incremental counters before any overwrite                                               |\n| **Lock**        | Preserve Mode      | Keep existing values for specific variables when regenerating `.env` files                                     |\n| **Filter**      | Flexible Filtering | Skip lowercase keys, filter to URLs only, sort alphabetically or keep original order                           |\n| **Quote**       | Smart Quoting      | Automatically quotes values containing spaces or URLs                                                          |\n\n## Supported Input Formats\n\nDotEnvify auto-detects and parses all of these, even when mixed in the same file:\n\n```bash\n# KEY=VALUE\nAPI_KEY=a1b2c3d4e5f6g7h8i9j0\n\n# Quoted values\nSECRET=\"my secret value\"\n\n# export prefix (stripped automatically)\nexport NODE_ENV=production\n\n# Space-separated\nREDIS_HOST localhost\n\n# Key on one line, value on the next\nDATABASE_URL\npostgres://user:password@localhost:5432/db\n```\n\n\u003e Lines starting with `#` are treated as comments and ignored.\n\n## CLI Reference\n\n```\ndotenvify \u003csource\u003e [options]\n```\n\n| Option              | Alias | Description                                              |\n|---------------------|-------|----------------------------------------------------------|\n| `--output \u003cfile\u003e`   | `-o`  | Output file path (default: `.env`)                       |\n| `--export`          | `-e`  | Add `export` prefix to all variables                     |\n| `--overwrite`       | `-f`  | Overwrite output without creating a backup               |\n| `--preserve \u003cvars\u003e` | `-k`  | Comma-separated variables to keep existing values for    |\n| `--skip-sort`       |       | Maintain original order (default: sorted alphabetically) |\n| `--skip-lower`      |       | Skip variables with lowercase keys                       |\n| `--url-only`        |       | Include only variables with HTTP/HTTPS URL values        |\n\n### Examples\n\n```bash\n# Overwrite without backup\ndotenvify vars.txt -f\n\n# Preserve DB creds when regenerating\ndotenvify vars.txt --preserve \"DATABASE_URL,API_SECRET\"\n\n# Only extract URLs, skip lowercase keys\ndotenvify vars.txt --url-only --skip-lower\n\n# Full pipeline: export-prefixed, custom output, no sorting\ndotenvify vars.txt -o .env.local --export --skip-sort\n```\n\n## IDE Plugins\n\nUse DotEnvify directly in your editor. Get features the CLI can't offer: Azure DevOps integration, paste-and-format, and\nreal-time diagnostics.\n\n| Plugin                                                                                                                                                                                                                                                       | Highlights                                                       | Status                                                                                               |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------|------------------------------------------------------------------------------------------------------|\n| \u003ca href=\"https://plugins.jetbrains.com/plugin/dev.webbies.dotenvify\"\u003e\u003cimg src=\"https://img.shields.io/badge/JetBrains-IntelliJ_%2F_WebStorm_%2F_GoLand_%2F_PyCharm_%2F_Rider-000000?style=flat-square\u0026logo=jetbrains\u0026logoColor=white\" alt=\"JetBrains\" /\u003e\u003c/a\u003e | Azure DevOps variable groups, paste \u0026 format, `.env` diagnostics | \u003cimg src=\"https://img.shields.io/badge/available-brightgreen?style=flat-square\" alt=\"Available\" /\u003e   |\n| \u003ca href=\"./plugins/vscode\"\u003e\u003cimg src=\"https://img.shields.io/badge/VS_Code-Extension-007ACC?style=flat-square\u0026logo=visualstudiocode\u0026logoColor=white\" alt=\"VS Code\" /\u003e\u003c/a\u003e                                                                                     | Parser, formatter, diagnostics. Built on @dotenvify/core         | \u003cimg src=\"https://img.shields.io/badge/coming_soon-lightgrey?style=flat-square\" alt=\"Coming soon\" /\u003e |\n\n\u003e **Migrating from v0.x?** Azure DevOps support has moved from the CLI to\n\u003e the [JetBrains plugin](https://plugins.jetbrains.com/plugin/dev.webbies.dotenvify) for a better experience with full IDE\n\u003e integration. See the [CLI README](./cli#upgrading-from-v0x-go-version) for the full migration guide.\n\n## Ecosystem\n\n| Package                                                                                                                                                                     | Description                                   |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------|\n| \u003ca href=\"./cli\"\u003e\u003cimg src=\"https://img.shields.io/badge/CLI-Command--line_tool-4A154B?style=flat-square\u0026logo=windowsterminal\u0026logoColor=white\" alt=\"CLI\" /\u003e\u003c/a\u003e               | File conversion, scripting, CI/CD pipelines   |\n| \u003ca href=\"./packages/core\"\u003e\u003cimg src=\"https://img.shields.io/badge/@dotenvify/core-Shared_library-3178C6?style=flat-square\u0026logo=typescript\u0026logoColor=white\" alt=\"Core\" /\u003e\u003c/a\u003e | Parser, formatter, IO. Powers CLI and plugins |\n| \u003ca href=\"./landing\"\u003e\u003cimg src=\"https://img.shields.io/badge/Landing_Page-Product_site-FF6F61?style=flat-square\u0026logo=vercel\u0026logoColor=white\" alt=\"Landing\" /\u003e\u003c/a\u003e             | Live demo and docs                            |\n\n## Development\n\n```bash\nnpm install          # Install dependencies\nnpm run build        # Build all packages\nnpm run test         # Run tests\nnpm run dev:landing  # Dev mode (landing page)\n```\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003eProject Structure\u003c/strong\u003e\u003c/summary\u003e\n\n```\ndotenvify/\n├── packages/core/       # @dotenvify/core (shared TS library)\n├── cli/                 # CLI tool (Commander.js)\n├── plugins/\n│   ├── jetbrains/       # Kotlin, Gradle build\n│   └── vscode/          # VS Code extension\n├── landing/             # Product landing page\n└── docs/                # Shared docs \u0026 assets\n```\n\n\u003c/details\u003e\n\n## Contributing\n\nFound a bug? Have a feature idea? PRs welcome!\n\nCheck out\nthe \u003ca href=\"https://github.com/webb1es/dotenvify/issues\"\u003e\u003cimg src=\"https://img.shields.io/badge/issues-GitHub-red?style=flat-square\u0026logo=github\u0026logoColor=white\" alt=\"Issues\" /\u003e\u003c/a\u003e\nor submit\na \u003ca href=\"https://github.com/webb1es/dotenvify/pulls\"\u003e\u003cimg src=\"https://img.shields.io/badge/pull_requests-GitHub-blue?style=flat-square\u0026logo=github\u0026logoColor=white\" alt=\"Pull Requests\" /\u003e\u003c/a\u003e\n\n## License\n\n\u003ca href=\"./LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/badge/License-MIT-yellow.svg?style=flat-square\" alt=\"MIT License\" /\u003e\u003c/a\u003e\n\nGo wild, make millions, just don't blame us when it formats your grocery list.\n\n---\n\n\u003cp align=\"center\"\u003e\u003ci\u003e\"Life's too short for manual formatting.\"\u003c/i\u003e\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebb1es%2Fdotenvify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebb1es%2Fdotenvify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebb1es%2Fdotenvify/lists"}