Skip to content

v1.0.5

Latest

Choose a tag to compare

@github-actions github-actions released this 28 Aug 19:00

馃殌 env2json v1.0.5

Convert .env files to JSON format for AWS Secrets Manager and other secrets management services.

馃摜 Downloads

Choose the appropriate binary for your platform:

  • macOS (Apple Silicon): env2json-darwin-arm64
  • macOS (Intel): env2json-darwin-amd64
  • Linux (x64): env2json-linux-amd64
  • Linux (ARM64): env2json-linux-arm64
  • Windows WSL: env2json-windows-amd64.exe

馃敡 Installation

# Download and make executable (example for macOS ARM64)
curl -L -o env2json https://github.com/gbretas/env2json/releases/download/v1.0.5/env2json-darwin-arm64
chmod +x env2json
sudo mv env2json /usr/local/bin/

馃搵 Usage

# Convert .env to JSON (copies to clipboard automatically)
env2json

# Specify different input file
env2json -input .env.production

# Save to file
env2json -output secrets.json

馃攳 What's New

  • Ultra-lightweight binaries (~2MB, pure stdlib)
  • Automatic clipboard copying
  • Cross-platform support
  • Clean JSON output