# joho/godotenv

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

Canonical: https://starboard.codevetter.com/explore/joho/godotenv

[Back to Discover](https://starboard.codevetter.com/discover)

![joho](https://avatars.githubusercontent.com/u/4092?v=4&s=40)

joho

# godotenv

[View on GitHub
](https://github.com/joho/godotenv)

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

dotenv
environment\-variables
go
golang


11k stars

Go

Updated 1d ago

Created Jul 30, 2013

## Star history

\+255 stars
2\.4% growth


## Detected tools

[GitHub Actions](https://starboard.codevetter.com/tools/github-actions)


Tool detection is evidence\-based, not a full runtime audit\. Package manifests, lockfiles, and SBOMs are high\-confidence; README, topics, and AI metadata are lower\-confidence signals\. Repository language is metadata, not counted as a tool\. Accuracy varies by ecosystem, especially for C/C\+\+ and custom monorepos\.

- GitHub Actions  · 88% confidence · Sources: \.github/workflows/ci\.yml, \.github/workflows/codeql\-analysis\.yml, \.github/workflows/release\.yml · Detected Aug 11, 2026

## Similar projects

[![caarlos0](https://avatars.githubusercontent.com/u/245435?v=4&s=24)

caarlos0/ env

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

Go 6\.4k 69%](https://starboard.codevetter.com/explore/caarlos0/env)[![motdotla](https://avatars.githubusercontent.com/u/3848?v=4&s=24)

motdotla/ dotenv

Loads environment variables from \.env for nodejs projects\.

JavaScript 21k 67%](https://starboard.codevetter.com/explore/motdotla/dotenv)[![theskumar](https://avatars.githubusercontent.com/u/236356?v=4&s=24)

theskumar/ 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\.

Python 8\.9k 66%](https://starboard.codevetter.com/explore/theskumar/python-dotenv)[![bkeepers](https://avatars.githubusercontent.com/u/173?v=4&s=24)

bkeepers/ dotenv

A Ruby gem to load environment variables from \`\.env\`\.

Ruby 6\.8k 69%](https://starboard.codevetter.com/explore/bkeepers/dotenv)[![go\-gorm](https://avatars.githubusercontent.com/u/15127678?v=4&s=24)

go\-gorm/ gorm

The fantastic ORM library for Golang, aims to be developer friendly

Go 40k 62%](https://starboard.codevetter.com/explore/go-gorm/gorm)[![kelseyhightower](https://avatars.githubusercontent.com/u/1123322?v=4&s=24)

kelseyhightower/ envconfig

Golang library for managing configuration data from environment variables

Go 5\.5k 66%](https://starboard.codevetter.com/explore/kelseyhightower/envconfig)[![vlucas](https://avatars.githubusercontent.com/u/187?v=4&s=24)

vlucas/ phpdotenv

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

PHP 14k 61%](https://starboard.codevetter.com/explore/vlucas/phpdotenv)[![traefik](https://avatars.githubusercontent.com/u/14280338?v=4&s=24)

traefik/ yaegi

Yaegi is Another Elegant Go Interpreter

Go 8\.5k 62%](https://starboard.codevetter.com/explore/traefik/yaegi)
