environment-variables

Open-source projects categorized as environment-variables

Top 23 environment-variable Open-Source Projects

  • dotenv

    Loads environment variables from .env for nodejs projects.

    Project mention: Tutorial: React + Emailjs | dev.to | 2024-03-27

    We will put our Emailjs environment variables in a dotenv (.env) file. To read more about the purpose of this file click here.

  • PHP Dotenv

    Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.

    Project mention: PHP Authentication: Implementing Access Token | dev.to | 2024-03-07

    After successfully setting up our project, you'll observe that certain packages come pre-installed. One of these packages is vlucas/phpdotenv. This package serves the purpose of facilitating the loading of .env variables within your projects. These variables, stored in a file named '.env', allow for the configuration of various settings without hardcoding them directly into your code. Instead, you can define environment-specific variables such as database credentials, API keys, or any other sensitive information in the .env file, providing a more flexible and secure approach to configuration management.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • infisical

    ♾ Infisical is the open-source secret management platform: Sync secrets across your team/infrastructure and prevent secret leaks.

    Project mention: Top Secrets Management Tools for 2024 | dev.to | 2024-02-19

    Infisical

  • godotenv

    A Go port of Ruby's dotenv library (Loads environment variables from .env files)

    Project mention: Autenticação com Golang e AWS Cognito | dev.to | 2024-02-05

    Primeiro vamos carregar nossas envs com o pacote godotenv, depois iniciamos nosso cognito client, passando o COGNITO_CLIENT_ID, que pegamos anteriormente, depois iniciamos o gin e criamos um server, isso é o suficiente.

  • python-dotenv

    Reads key-value pairs from a .env file and can set them as environment variables. It helps in developing applications following the 12-factor principles.

    Project mention: What are the best ways to prevent writing secrets in the code. | /r/learnpython | 2023-06-03
  • env

    A simple and zero-dependencies library to parse environment variables into structs

  • dynaconf

    Configuration Management for Python ⚙

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • python-decouple

    Strict separation of config from code.

    Project mention: For a beginner, when do you look at the “next steps” like deploying? | /r/djangolearning | 2023-05-25

    Use a library likepython-decouple to separate secrets like DB_xxx, SECRET_KEY, etc. Then follow this deploy to Digital Ocean. It might be slightly out of date, but I'm pretty sure it'll work just fine.

  • node-convict

    Featureful configuration management library for Node.js

  • cleanenv

    ✨Clean and minimalistic environment configuration reader for Golang

  • dotenv-webpack

    A secure webpack plugin that supports dotenv and other environment variables and only exposes what you choose and use.

  • environs

    simplified environment variable parsing

  • dotenv-vault

    sync .env files—from the creator of `dotenv`.

    Project mention: Node.js 20.6 adds built-in support for .env files | dev.to | 2024-04-12

    dotenv-vault is another popular package that lets you encrypt your secret and decrypt the file just in time. They are quite helpful for production and CIT environments but are not supported currently.

  • dotenv-flow

    Loads environment variables from .env.[development|test|production][.local] files for Node.js® projects.

  • envsafe

    🔒 Makes sure you don't accidentally deploy apps with missing or invalid environment variables.

    Project mention: Next.js with Public Environment Variables in Docker | dev.to | 2024-04-01

    To further secure your environment variables, consider using envsafe for validation and type safety. Install the package and adjust the env/env.ts file accordingly along with the variable types:

  • react-native-dotenv

    Load react native environment variables using import statements for multiple env files.

  • envsubst

    Environment variables substitution for Go

  • envkey

    Simple, end-to-end encrypted configuration and secrets management

    Project mention: Show HN: Envkey-VSCode – Autocomplete/type-checking for env vars in 46 languages | news.ycombinator.com | 2023-06-21

    envkey-vscode is a VSCode extension that provides autocomplete, type checking, and peek-on-hover for environment variables in 46 different programming languages. Instead of a typeless, error-prone blob, the environment now acts like a strongly-typed object in every language you work in.

    I’ve been using this extension myself for a couple weeks now and it feels like a pretty significant upgrade to my development workflow, especially when working on integrations across multiple languages, so I thought it was worth showing you all.

    envkey-vscode relies on EnvKey, an open-source, end-to-end encrypted configuration and secrets manager that is focused on security and ease-of-use. It’s cross-platform, can integrate with any language or host, and can be cloud-hosted or self-hosted. Getting a project integrated normally takes a couple minutes.

    More on EnvKey: https://www.envkey.com

    Building and testing it has been an interesting process, as I relied quite heavily on ChatGPT/GPT-4 to cover languages that I’m not very familiar with. It helped me to develop regexes to cover the common forms of environment access in each language, as well as to produce small test cases and Dockerfiles that can run them. While it took a lot of passes and tweaking to root out hallucinations and get each language right, I don’t think there’s any way I could have built a tool like this in a reasonable amount of time. Having a single `test` command that runs examples in dozens of languages is pretty amazing—sort of like a rudimentary version of Replit that runs locally.

    All the code for the extension lives in EnvKey’s monorepo here: https://github.com/envkey/envkey/tree/main/public/sdks/tools...

    I’m planning to write up a blog post on this process and what I’ve learned about how to get the most out of GPT on a polyglot coding project like this. If you’re interested, you can sign up to get notified here when this post is live: https://envkey.us15.list-manage.com/subscribe?u=623039cd8518...

  • go-env

    a golang library to manage environment variables

  • aconfig

    Simple, useful and opinionated config loader.

  • dotenv-kotlin

    🗝️ Dotenv is a module that loads environment variables from a .env file

  • environ-config

    Python Application Configuration With Environment Variables

    Project mention: Murmur: pass secrets as environment variables to a process (Berglas for AWS) | /r/aws | 2023-05-28

    For example, in the Python world we have: https://github.com/hynek/environ-config https://docs.pydantic.dev/latest/usage/settings/#secret-support

  • dotnet-env

    A .NET library to load environment variables from .env files

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2024-04-12.

environment-variables related posts

Index

What are some of the best open-source environment-variable projects? This list will help you:

Project Stars
1 dotenv 18,452
2 PHP Dotenv 12,934
3 infisical 11,880
4 godotenv 7,502
5 python-dotenv 7,055
6 env 4,328
7 dynaconf 3,511
8 python-decouple 2,672
9 node-convict 2,308
10 cleanenv 1,446
11 dotenv-webpack 1,281
12 environs 1,118
13 dotenv-vault 1,003
14 dotenv-flow 844
15 envsafe 771
16 react-native-dotenv 759
17 envsubst 717
18 envkey 586
19 go-env 542
20 aconfig 513
21 dotenv-kotlin 467
22 environ-config 407
23 dotnet-env 397
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com