goingenv

Simple environment sharing for developers

Perfect for small teams and personal projects. Secure your envs in seconds. No dependencies. No hassle. Share encrypted .env files with your team using just Git - ideal for private repositories and small-scale projects.

Quick usage:
$ goingenv init $ goingenv pack $ goingenv unpack

Overview

Secure environment file management for developers

goingenv finds, encrypts, and archives your .env files with AES-256 encryption.

What it does

Scans directories, finds environment files, encrypts them into secure archives, and restores them when needed.

Why use it

Backup sensitive configs, migrate between environments, share team setups, and automate deployments safely.

Installation

Quick installation on Linux and macOS

View All Releases

One-Line Installation

Install using the automated installer:

curl -sSL https://raw.githubusercontent.com/spencerjirehcebrian/goingenv/main/install.sh | bash

Specific Version

curl -sSL https://raw.githubusercontent.com/spencerjirehcebrian/goingenv/main/install.sh | bash -s -- --version v0.1.0-beta.11

Development Version

Latest development features:

curl -sSL https://raw.githubusercontent.com/spencerjirehcebrian/goingenv/develop/install.sh | bash

Manual Installation

1

Download Binary

Download the appropriate binary for your platform from the GitHub releases page.

2

Extract Archive

tar -xzf goingenv-*.tar.gz
3

Install Binary

sudo mv goingenv /usr/local/bin/
chmod +x /usr/local/bin/goingenv
4

Verify Installation

goingenv --version

Quick Start

Get up and running in minutes

Your First Backup

1

Navigate to Your Project

cd /path/to/your/project
2

Initialize goingenv

goingenv init

Required first step - sets up goingenv in your project directory.

3

Check What Files Are Detected

goingenv status

Shows environment files found in your project.

4

Create Your First Backup

goingenv pack # Interactive password prompt

Creates an encrypted archive of your environment files.

Interactive Mode

For a guided experience, simply run:

goingenv

Launches an interactive interface with arrow key navigation.

Configuration

Customize goingenv behavior with configuration files

Basic Configuration

Create a configuration file at ~/.goingenv.json to customize default behavior:

{
  "default_depth": 3,
  "env_patterns": ["\\.env.*"],
  "env_exclude_patterns": ["\\.env\\.backup$", "\\.env\\.old$"],
  "exclude_patterns": ["node_modules/", "\\.git/", "vendor/"],
  "max_file_size": 10485760
}

Pattern Options

  • env_patterns - Files to include (regex patterns)
  • env_exclude_patterns - Environment files to exclude
  • exclude_patterns - Directories to skip

Behavior Options

  • default_depth - Directory scan depth (1-10)
  • max_file_size - Maximum file size in bytes

Pattern Examples

All-Inclusive (Default)

"env_patterns": ["\\.env.*"]

Matches: .env, .env.local, .env.development, .env.custom, etc.

Specific Patterns

"env_patterns": ["\\.env$", "\\.env\\.local$", "\\.env\\.production$"]

Matches only: .env, .env.local, .env.production

Exclude Backups

"env_exclude_patterns": ["\\.env\\.backup$", "\\.env\\.bak$", "\\.env\\.old$"]

Excludes: .env.backup, .env.bak, .env.old files

Quick Setup

View current configuration:

goingenv status --verbose

Shows current configuration settings and detected files.