The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →
Top 23 environment-variable Open-Source Projects
-
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.
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.
Infisical
-
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 -
-
-
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.
-
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.
-
-
-
dotenv-webpack
A secure webpack plugin that supports dotenv and other environment variables and only exposes what you choose and use.
-
-
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.
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.
-
-
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...
-
-
-
-
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
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
environment-variables related posts
- Next.js with Public Environment Variables in Docker
- Dotenv-vault: a CLI to sync .env files across machines, envs, and team members
- How to Use Environment Variables in Node.js
- Top Secrets Management Tools for 2024
- Ask HN: Where do you save your API keys?
- Secure Credential Management in Ansible on a Shared Server?
- Show HN: Shello – Wrangle Environment Variables
-
A note from our sponsor - WorkOS
workos.com | 18 Apr 2024
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 |