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
·
bkeepers avatar

bkeepers/dotenv

0
View on GitHub↗
6,758 stars·513 forks·Ruby·MIT·6 views

Dotenv

Dotenv is a Ruby library used for loading key-value pairs from files into an application environment. It includes a configuration parser to extract variables into hashes and a loader to inject those pairs into the global environment.

The project features a variable interpolator that resolves environment variables and shell command outputs within configuration values. It also provides a validator to verify that required configuration keys are present during application initialization.

The toolset covers environment variable management, including the ability to generate configuration templates. It also provides utilities to capture and restore environment state snapshots to ensure isolation during automated testing.

Features

  • Environment Variables - Loads and manages application configuration via environment variables sourced from files.
  • Environment Variable Loaders - Loads key-value pairs from .env files into the Ruby application environment.
  • External Environment File Loaders - Extracts key-value pairs from environment files into data structures for inspection.
  • Configuration Loading - Injects key-value pairs from dotenv files into a Ruby application environment.
  • Application Configuration - Provides a workflow for managing environment-specific settings across different deployment stages.
  • Environment Variable Management - Loads and manages runtime environment variables from files to decouple credentials from source code.
  • File-Based Loading - Implements loading of environment variables from flat text files into the runtime environment.
  • Configuration File Parsers - Transforms raw text files into Ruby hashes by splitting lines on delimiters.
  • Configuration Validation - Verifies that specific environment variables exist during initialization to prevent runtime failures.
  • Variable Interpolators - Resolves nested variable references and shell command outputs within configuration values.
  • Configuration Validation - Verifies the presence of mandatory configuration keys to prevent runtime failures.
  • Test Environment Isolation - Isolates global environment variables to prevent configuration leakage between test cases.
  • Environment Variable Validation - Validates that required environment variables are present during application initialization.
  • Environment State Snapshots - Captures and restores system environment variables to ensure isolation during automated testing.
  • Test Sandbox Restoration - Saves and restores environment state to prevent configuration leakage between separate tests.
  • Configuration - Loads environment variables from .env files.
  • Configuration Management - Loads environment variables from local files.
  • Developer Utilities - Environment variable management for local development configurations.

Star history

Star history chart for bkeepers/dotenvStar history chart for bkeepers/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

Open-source alternatives to Dotenv

Similar open-source projects, ranked by how many features they share with Dotenv.
  • 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
  • joho/godotenvjoho avatar

    joho/godotenv

    10,483View on GitHub↗

    godotenv is a Go library designed to load, parse, and serialize environment configuration files. It provides tools to extract configuration data from files into maps and inject those key-value pairs directly into the system environment of a Go application process. The project includes a configuration file serializer for exporting environment variable maps back into formatted files and a parser for extracting data without modifying the system environment. It supports injecting variables from strings or files into the process environment using priority-based overloading and overwriting. The li

    Godotenvenvironment-variablesgo
    View on GitHub↗10,483
  • vlucas/phpdotenvvlucas avatar

    vlucas/phpdotenv

    13,536View on GitHub↗

    phpdotenv is a PHP environment variable loader and configuration parser. It reads key-value pairs from files and populates them into PHP system environment variables and global arrays to avoid hardcoding sensitive settings in code. The project includes a configuration variable interpolator to resolve nested references and variables within environment files. It also provides an environment variable validator to ensure required variables exist and match specific data types or values. The system covers application secret management, multi-environment deployment, and the parsing of raw configura

    PHPconfigurationdotenvenvironment
    View on GitHub↗13,536
  • 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
See all 30 alternatives to Dotenv→

Frequently asked questions

What does bkeepers/dotenv do?

Dotenv is a Ruby library used for loading key-value pairs from files into an application environment. It includes a configuration parser to extract variables into hashes and a loader to inject those pairs into the global environment.

What are the main features of bkeepers/dotenv?

The main features of bkeepers/dotenv are: Environment Variables, Environment Variable Loaders, External Environment File Loaders, Configuration Loading, Application Configuration, Environment Variable Management, File-Based Loading, Configuration File Parsers.

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

Open-source alternatives to bkeepers/dotenv include: theskumar/python-dotenv — python-dotenv is a library and command line interface for managing environment variables in Python applications. It… joho/godotenv — godotenv is a Go library designed to load, parse, and serialize environment configuration files. It provides tools to… vlucas/phpdotenv — phpdotenv is a PHP environment variable loader and configuration parser. It reads key-value pairs from files and… symfony/dotenv — This library is a PHP environment variable loader and configuration parser. It extracts key-value pairs from local… laserlemon/figaro — Figaro is a configuration manager for Ruby on Rails applications that loads key-value pairs from YAML files and… alexeymezenin/laravel-best-practices — This project is a comprehensive guide to architectural standards and coding patterns for developing maintainable…