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

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetServeur MCPÀ proposNotre méthodologiePresse
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
joho avatar

joho/godotenv

0
View on GitHub↗
10,483 stars·451 forks·Go·MIT·7 vuesgodoc.org/github.com/joho/godotenv↗

Godotenv

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 library covers general environment variable management and application configuration, including utilities for secret management workflows and local development setup. It also provides capabilities for shell command wrapping to execute external processes with a merged set of environment variables.

Features

  • Environment Variable Loaders - Provides a library for loading environment variables from .env files into a Go application process.
  • Environment Variable Management - Provides a comprehensive system for loading, injecting, and managing runtime environment variables as a primary configuration source.
  • Property File Parsers - Extracts configuration data from .env files into maps without modifying the system environment.
  • Environment Variable Loaders - Provides a tool for injecting key-value configuration pairs from files or strings into the system environment.
  • External Environment File Loaders - Provides utilities to serialize configuration pairs into formatted files or strings for storage.
  • Environment Configuration - Extracts configuration pairs from various sources into a map without altering the system environment.
  • Process Injection Wrappers - Updates the current operating system process environment using system calls to make variables available to child processes.
  • Configuration Tooling - Manages application settings in Go by separating environment-specific variables from the main codebase.
  • Environment Variable Managers - Allows replacing existing system environment variables with new values defined inside a configuration file.
  • Environment Variables - Injects key-value pairs from files or strings into the system environment using priority-based overloading.
  • Environment Variable-Based Configuration - Implements priority-based overloading to determine which value wins when variables exist in both system and config files.
  • Configuration File Parsers - Implements a scanner to extract key-value configuration data from raw text strings or files.
  • Development Environment Setups - Facilitates consistent local development by sharing configuration files that define necessary system variables.
  • Environment File Exporters - Provides a utility for writing a map of environment variables to a formatted and escaped file.
  • Parametrized Command Execution - Provides a utility to load variables from a file into the process environment before executing a shell command.
  • Shell Command Runners - Executes external processes by merging custom environment variables with the existing system environment.
  • Secret Management - Supports secret management workflows by loading sensitive keys from external files into the process environment at runtime.
  • Serializers - Implements a utility for writing and exporting environment variable maps back into formatted .env files.
  • Environment File Serialization - Provides a serializer to export environment variable maps back into formatted .env files.
  • Configuration Management - Loads environment variables from .env files.
  • Configuration Management - Listed in the “Configuration Management” section of the Awesome Go awesome list.
  • Gestion de configuration - .env file loader.

Historique des stars

Graphique de l'historique des stars pour joho/godotenvGraphique de l'historique des stars pour joho/godotenv

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Alternatives open source à Godotenv

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Godotenv.
  • theskumar/python-dotenvAvatar de theskumar

    theskumar/python-dotenv

    8,794Voir sur 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
    Voir sur GitHub↗8,794
  • bkeepers/dotenvAvatar de bkeepers

    bkeepers/dotenv

    6,758Voir sur GitHub↗

    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

    Ruby
    Voir sur GitHub↗6,758
  • symfony/dotenvAvatar de symfony

    symfony/dotenv

    3,790Voir sur 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
    Voir sur GitHub↗3,790
  • alexeymezenin/laravel-best-practicesAvatar de alexeymezenin

    alexeymezenin/laravel-best-practices

    12,299Voir sur GitHub↗

    This project is a comprehensive guide to architectural standards and coding patterns for developing maintainable applications within the Laravel framework. It focuses on clean code standards, applying the single responsibility and DRY principles to ensure codebase predictability and consistency. The guide emphasizes decoupling components by moving business logic into service layers and shifting input validation into dedicated request classes to keep controllers lean. It advocates for the use of a service container and dependency injection to reduce class coupling and improve testability. The

    Voir sur GitHub↗12,299
Voir les 30 alternatives à Godotenv→

Questions fréquentes

Que fait joho/godotenv ?

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.

Quelles sont les fonctionnalités principales de joho/godotenv ?

Les fonctionnalités principales de joho/godotenv sont : Environment Variable Loaders, Environment Variable Management, Property File Parsers, External Environment File Loaders, Environment Configuration, Process Injection Wrappers, Configuration Tooling, Environment Variable Managers.

Quelles sont les alternatives open-source à joho/godotenv ?

Les alternatives open-source à joho/godotenv incluent : theskumar/python-dotenv — python-dotenv is a library and command line interface for managing environment variables in Python applications. It… bkeepers/dotenv — Dotenv is a Ruby library used for loading key-value pairs from files into an application environment. It includes a… symfony/dotenv — This library is a PHP environment variable loader and configuration parser. It extracts key-value pairs from local… alexeymezenin/laravel-best-practices — This project is a comprehensive guide to architectural standards and coding patterns for developing maintainable… caarlos0/env — env is a Go library that reads environment variables and populates the fields of a Go struct according to tag… kelseyhightower/envconfig — envconfig is a Go configuration decoder and environment variable mapper that deserializes environment variables into…