Go Dotenv

Open-source Go projects categorized as Dotenv

Top 15 Go Dotenv Projects

  1. godotenv

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

  2. SaaSHub

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

    SaaSHub logo
  3. golobby-config

    A lightweight yet powerful configuration manager for the Go programming language (by golobby)

  4. jit

    Find the plaintext secrets on your Mac and move them behind Touch ID, injected just in time without breaking the tools that read them. Free and local-first.

    Project mention: Show HN: A malicious NPM install reads your .env. On my Mac it reads a decoy | news.ycombinator.com | 2026-09-15
  5. ini

    📝 Go INI config management. support multi file load, data override merge. parse ENV variable, parse variable reference. Dotenv file parse and loader. INI配置读取管理,支持多文件加载,数据覆盖合并, 解析ENV变量, 解析变量引用。DotEnv 解析加载 (by gookit)

  6. Genv

    Genv is a library for Go (golang) that makes it easy to read and use environment variables in your projects. It also allows environment variables to be loaded from the .env file. (by sakirsensoy)

  7. nv

    A .env loader with secret manager integration (by maxnorth)

  8. withsecrets

    withsecrets 🔐 helps you to get rid of .env 🔎 files. Pass env directly from GCP, AWS, Azure ☁️, OpenBao and Bitwarden Secrets to your application 🤖.

  9. razify

    A developer CLI tool that manages .env files, detects secret leaks, syncs env drift across teammates, and validates environment parity between local/staging/prod all from your terminal. Written in Go.

    Project mention: Razify. Fast project scanning and environment analysis in Go | news.ycombinator.com | 2026-05-08
  10. secretctl

    The simplest AI-ready secrets manager. Local-first, single-binary CLI & Desktop app with MCP integration. Never expose secrets to AI agents.

    Project mention: Show HN: Secretctl – AI-safe secrets manager with MCP integration | news.ycombinator.com | 2026-01-06
  11. lockify

    Manage, encrypt, and share .env files securely from the CLI.

    Project mention: Show HN: Lockify – developer-friendly CLI for managing encrypted env variables | news.ycombinator.com | 2025-12-21
  12. polyenv

    protecting secrets from env files

  13. propagate-cli

    Declarative secrets management for agents and dev teams

    Project mention: Show HN: Declarative secrets management for agents and dev teams | news.ycombinator.com | 2026-06-30
  14. keyward

    Local, encrypted secret broker for AI agents. Claude Code, Cursor, and any MCP tool request an API key by name; you approve in a native OS prompt; only that key is injected into your project — the model never sees the value. Open source, MIT.

  15. netenv

    A simple, network-based environment variable loader.

  16. dotlock

    Encrypt your .env files and commit them to git. One command. One passphrase. No cloud. (by MrPrinceRawat)

    Project mention: Show HN: I got tired of leaking API keys, so I made .env files safe to commit | news.ycombinator.com | 2026-02-23
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).

Go Dotenv discussion

Log in or Post with

Go Dotenv related posts

  • Show HN: A malicious NPM install reads your .env. On my Mac it reads a decoy

    1 project | news.ycombinator.com | 15 Sep 2026
  • Show HN: Lockenv – Simple encrypted secrets storage for Git

    10 projects | news.ycombinator.com | 7 Dec 2025
  • Magic .env files built for sharing: Human-first, AI-friendly

    3 projects | news.ycombinator.com | 10 Jul 2025
  • Building a Google Drive Downloader in Golang (Part 1)

    2 projects | dev.to | 29 Sep 2024
  • Dotenvx: A better dotenv – from the creator of `dotenv`

    2 projects | news.ycombinator.com | 9 Jul 2024
  • 1 in 10 developers leaked an API-key in 2022

    3 projects | news.ycombinator.com | 27 May 2023
  • Anything on par with HashiCorp Vault

    3 projects | /r/devops | 16 Apr 2023
  • A note from our sponsor - SaaSHub
    www.saashub.com | 15 Nov 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source Dotenv projects in Go? This list will help you:

# Project Stars
1 godotenv 10,689
2 golobby-config 366
3 jit 164
4 ini 86
5 Genv 45
6 nv 35
7 withsecrets 19
8 razify 15
9 secretctl 12
10 lockify 4
11 polyenv 3
12 propagate-cli 3
13 keyward 3
14 netenv 3
15 dotlock 0

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that Go is
the 5th most popular programming language
based on number of references?