awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
motdotla avatar

motdotla/dotenv

0
View on GitHub↗
20,284 stars·928 forks·JavaScript·bsd-2-clause·9 viewswww.dotenv.org↗

Dotenv

Dotenv is a configuration management library designed to load environment variables from local files into the process environment. By separating application settings from source code, it enables developers to maintain consistent configurations across different deployment stages and team environments.

The utility provides mechanisms to transform plain text configuration files into encrypted formats, allowing sensitive secrets to be stored securely within version control systems. It handles the parsing and normalization of key-value pairs, ensuring that configuration data is consistently processed and injected into the runtime process memory.

The library supports the synchronization of environment variables across multiple machines, facilitating parity between local development and production settings. It respects existing system-level environment variables by preventing the overwriting of values already defined in the host environment.

Features

  • Environment Variable Loaders - Loads configuration values from local files into the process environment to separate settings from source code.
  • Environment Variable Management - Loads configuration values from local files into the application process to keep sensitive settings separate from source code.
  • Configuration Encryption - Transforms plain text environment files into encrypted formats for secure storage in version control.
  • Environment Management - Loads environment variables from .env files.
  • General Utilities - Loads environment variables from .env files.
  • Environment Configuration Managers - Manages environment-specific secrets across different deployment stages to ensure configuration consistency.
  • Secret Encryption - Encrypts sensitive secrets to prevent unauthorized access while maintaining availability for authorized users.
  • Secret Synchronization Tools - Organizes and synchronizes environment-specific secrets across deployment stages to ensure consistency.
  • Secret Security - Enables secure storage of secrets in version control by encrypting configuration files.
  • Configuration Syncing - Maintains parity between local development and production environments by synchronizing configuration variables.
  • Environment Variable Injection - Injects parsed key-value pairs directly into the runtime process memory for standard environment variable access.

Star history

Star history chart for motdotla/dotenvStar history chart for motdotla/dotenv

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does motdotla/dotenv do?

Dotenv is a configuration management library designed to load environment variables from local files into the process environment. By separating application settings from source code, it enables developers to maintain consistent configurations across different deployment stages and team environments.

What are the main features of motdotla/dotenv?

The main features of motdotla/dotenv are: Environment Variable Loaders, Environment Variable Management, Configuration Encryption, Environment Management, General Utilities, Environment Configuration Managers, Secret Encryption, Secret Synchronization Tools.

What are some open-source alternatives to motdotla/dotenv?

Open-source alternatives to motdotla/dotenv include: direnv/direnv — direnv is a shell environment manager and directory-based environment loader that automatically loads and unloads… symfony/dotenv — This library is a PHP environment variable loader and configuration parser. It extracts key-value pairs from local… theskumar/python-dotenv — python-dotenv is a library and command line interface for managing environment variables in Python applications. It… toddbluhm/env-cmd — This project is a command-line utility that executes processes by injecting environment variables from local… getsops/sops — This tool is a command-line utility designed to manage sensitive data by encrypting specific values within structured… infisical/infisical — Infisical is a centralized secrets management platform designed to store, synchronize, and control access to sensitive…

Open-source alternatives to Dotenv

Similar open-source projects, ranked by how many features they share with Dotenv.
  • direnv/direnvdirenv avatar

    direnv/direnv

    15,189View on GitHub↗

    direnv is a shell environment manager and directory-based environment loader that automatically loads and unloads environment variables when switching between directories. It functions as a shell hook automation tool, injecting logic into the shell configuration to trigger environment updates based on the current project context. The project acts as a development environment isolator by localizing shell configurations, which prevents dependency conflicts and removes project-specific exports from global profile files. It includes specialized integration for Nix, allowing the loading of environ

    Go
    View on GitHub↗15,189
  • theskumar/python-dotenvtheskumar avatar

    theskumar/python-dotenv

    8,794View on GitHub↗

    python-dotenv is a library and command line interface for managing environment variables in Python applications. It functions as a configuration parser and loader that reads key-value pairs from files and injects them into the system environment, enabling the decoupling of application configuration from source code. The project provides a command line interface for manipulating and editing environment variables within configuration files. It also includes a mechanism for recursive variable interpolation, allowing dynamic placeholders within configuration files to be resolved using existing en

    Python
    View on GitHub↗8,794
  • symfony/dotenvsymfony avatar

    symfony/dotenv

    3,790View on GitHub↗

    This library is a PHP environment variable loader and configuration parser. It extracts key-value pairs from local text files to populate global server and system environment arrays, ensuring that sensitive credentials and application settings remain separate from the source code. The tool implements twelve-factor app configuration principles by mapping local files to process-level variables. It utilizes a regex-based parser to identify variable assignments while stripping comments and whitespace, and it includes guards to prevent local configuration files from overwriting existing host-level

    PHP
    View on GitHub↗3,790
  • toddbluhm/env-cmdtoddbluhm avatar

    toddbluhm/env-cmd

    1,818View on GitHub↗

    This project is a command-line utility that executes processes by injecting environment variables from local configuration files. It functions as a runtime wrapper, allowing developers to manage application settings and process execution contexts without modifying global system variables. The tool distinguishes itself by supporting dynamic configuration loading, which allows for the use of files that export objects or promises to compute values at runtime. It provides granular control over environment management, including the ability to group variables into named collections, protect existin

    TypeScriptcommand-line-toolcross-platformenvironment-variables
    View on GitHub↗1,818
See all 30 alternatives to Dotenv→